> ## 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.md) for setup instructions.

## Set Up Customer Tags

**1. Step 1: Open Survey Branching**

Open the survey where you want to add customer tags.

![All Surveys Page](https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/all-surveys-page.png?fit=max\&auto=format\&n=j_rIWlobp1yr8cT1\&q=85\&s=933ba70c3de0ae53e56015629d1f2cb7)

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

![Branching Survey Button](https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/branching-survey-button.png?fit=max\&auto=format\&n=j_rIWlobp1yr8cT1\&q=85\&s=8b19db0457a52662a7c0ab9760e84c3f)

**2. Step 2: Select the question**

Click the question block containing the response you want to use to assign a customer tag.

![Branching Logic Survey 1](https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/branching-logic-survey-1.png?fit=max\&auto=format\&n=j_rIWlobp1yr8cT1\&q=85\&s=3eb0814d16a0a51babd9e3f7e3811b1f)

**3. 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"**

![Survey Rule Page](https://mintcdn.com/apricot-survey/j_rIWlobp1yr8cT1/images/survey-rule-page.png?fit=max\&auto=format\&n=j_rIWlobp1yr8cT1\&q=85\&s=23f649f4412a2a4c3f5ee39bf6fcff0c)

**4. 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

![Customer Tag Shopify](https://mintcdn.com/apricot-survey/wm2C4bE2rq0PdoSi/images/customer-tag-shopify.png?fit=max\&auto=format\&n=wm2C4bE2rq0PdoSi\&q=85\&s=6e337c8b1aae3b3d9a6e931f661fd472)

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.