> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apricotsurvey.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add Customer Tags

Automatically organize your Shopify customers by adding tags based on their survey responses.

With **Add Customer Tags**, you can use Branching Logic to automatically apply specific tags when a customer meets a condition. Apricot identifies the customer by their email address. If no Shopify customer exists with that email address, Apricot creates a new customer and adds the specified tag. If a customer with that email already exists, the tag is added to the existing customer.

For example, you can tag customers based on their preferences, interests, satisfaction level, or any other response collected through your survey.

<Note>
  Before setting up customer tags, make sure the **Shopify Customers** integration is connected and enabled for the survey. See [Connect Shopify Customers Integration](https://docs.apricotsurvey.com/shopify-customers-integration) for setup instructions.
</Note>

## Set Up Customer Tags

<Steps>
  <Step title="Step 1: Open Survey Branching">
    Open the survey where you want to add customer tags.

    <img src="https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/all-surveys-page.png?fit=max&auto=format&n=j_rIWlobp1yr8cT1&q=85&s=933ba70c3de0ae53e56015629d1f2cb7" alt="All Surveys Page" width="2612" height="1054" data-path="images/all-surveys-page.png" />

    From the survey editor, click **Survey Branching.**

    <img src="https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/branching-survey-button.png?fit=max&auto=format&n=j_rIWlobp1yr8cT1&q=85&s=8b19db0457a52662a7c0ab9760e84c3f" alt="Branching Survey Button" width="2102" height="1218" data-path="images/branching-survey-button.png" />
  </Step>

  <Step title="Step 2: Select the question">
    Click the question block containing the response you want to use to assign a customer tag.

    <img src="https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/branching-logic-survey-1.png?fit=max&auto=format&n=j_rIWlobp1yr8cT1&q=85&s=3eb0814d16a0a51babd9e3f7e3811b1f" alt="Branching Logic Survey 1" width="2834" height="1136" data-path="images/branching-logic-survey-1.png" />
  </Step>

  <Step title="Step 3: Create your condition">
    Click **Add Rule** and configure the **IF** condition.

    Select the question, operator, and value that should trigger the tag.

    For example:

    **IF** Question 1 → **Is equal to** → **"Yes"**

    <img src="https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/survey-rule-page.png?fit=max&auto=format&n=j_rIWlobp1yr8cT1&q=85&s=23f649f4412a2a4c3f5ee39bf6fcff0c" alt="Survey Rule Page" width="1774" height="964" data-path="images/survey-rule-page.png" />
  </Step>

  <Step title="Step 4: Choose Add Customer Tags">
    Under **THEN**, select **Add Customer Tags.**

    Enter the customer tag you want to add when the condition is met.

    For example:

    THEN → **Add Customer Tags** → Instagram

    <img src="https://mintcdn.com/apricot-survey/wm2C4bE2rq0PdoSi/images/customer-tag-shopify.png?fit=max&auto=format&n=wm2C4bE2rq0PdoSi&q=85&s=6e337c8b1aae3b3d9a6e931f661fd472" alt="Customer Tag Shopify" width="1518" height="1040" data-path="images/customer-tag-shopify.png" />
  </Step>
</Steps>

Customers who select **Instagram** will automatically receive the *instagram* and *socialmedia* tags in Shopify.

You can create additional rules for the other answers and assign different tags to each customer segment.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.