> 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/program-settings/advanced-settings/enable-variant-tracking.md).

# Enable Variant Tracking

**GoAffPro** provides you with the option to enable variant tracking.

{% hint style="info" %}
The variant tracking feature ensures that tracking is maintained when automatic product variant redirection is setup on your product pages.&#x20;

If your store has this setup, it will automatically remove the affiliate's referral code from the product page link, and the variant tracking feature will maintain the tracking.
{% endhint %}

To enable variant tracking, go to the Advanced section of the **Settings** tab in the GoAffPro admin panel.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FuAe4WQfJQOEfu7VEaJnz%2Fimage.png?alt=media&amp;token=59afd626-15e1-4a8f-bc8b-67722e753511" alt=""><figcaption><p>Settings > Advanced</p></figcaption></figure>

Here, go to the Variant tracking section.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FKINO3jfHrbgeDvSxarIc%2Fimage.png?alt=media&amp;token=6c514c73-3a20-42b8-8e3b-6bc18238c12b" alt=""><figcaption><p>Variant tracking</p></figcaption></figure>

Now, enable the toggle.&#x20;

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F1CNJJ6KPQZigBotPjS3Z%2FScreenshot%202022-12-26%20174731.png?alt=media&amp;token=eaa591be-059a-4cbb-a2e3-e4bb505eda88" alt=""><figcaption><p>Enable the toggle</p></figcaption></figure>

After enabling, this will ensure that the sales tracking works, even if you have an automatic product variant redirection set up for your product pages.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FRdFtNGARFt337b9NRXZs%2Fimage.png?alt=media&amp;token=6186090c-49d9-45b8-b6b6-b5f63d445ea5" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/5msEVC__kiY>" %}
Enable Variant Tracking
{% endembed %}
