> For the complete documentation index, see [llms.txt](https://docs.goaffpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goaffpro.com/affiliate-coupons/setup-referral-coupons/automatically-generate-coupons/set-customer-segment.md).

# Set Customer Segment

**GoAffPro** provides you with the option to set the customer segment eligibility for affiliate coupons.

To set the customer segment eligibility for coupons, go to the **Coupons** tab in the GoAffPro admin panel.

<figure><img src="/files/kBWce0gOhKmKlNmsy558" alt=""><figcaption><p>Coupons > Automatic Coupons</p></figcaption></figure>

Here, in the Automatic Coupons section, click on **Change**.&#x20;

<figure><img src="/files/o4RVI286Ng5pROpfa9wK" alt=""><figcaption><p>Click on Change</p></figcaption></figure>

This will open up the Setup Automatic Coupons section.

<figure><img src="/files/MEsWfLIxKqqo7mDXN627" alt=""><figcaption><p>Setup Automatic Coupons</p></figcaption></figure>

Now, click on **Advanced**.

<figure><img src="/files/Eemmr9L3b5yLpZtkLjut" alt=""><figcaption><p>Click on Advanced</p></figcaption></figure>

After this, select the customer segments.

{% hint style="info" %}
You can [create customer segments](https://help.shopify.com/en/manual/customers/customer-segmentation/create-customer-segments) from the Shopify admin panel > Customer > Segments section.&#x20;
{% endhint %}

<figure><img src="/files/LzjlJ5Jo5Rb81d5UMNU3" alt=""><figcaption><p>Select the custom segments</p></figcaption></figure>

Finally, click on **Submit**.

<figure><img src="/files/dAwvUSEKTBc4TvYXxZUe" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/YHuuoRBIWfc>" %}
Set Customer Segment
{% endembed %}
