> 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/developer-settings/debug-integration.md).

# Debug Integration

**GoAffPro** provides you with the option to debug referral link tracking on your store.

To debug referral link tracking on your store, go to the **Developer** 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%2F8aJoMx6tsaq340MNy7jZ%2Fimage.png?alt=media&amp;token=3818f684-050e-42f5-aa7c-59c8659e14d5" alt=""><figcaption><p>Settings > Developer</p></figcaption></figure>

Here, go to the Debug Integration section.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FmKH81ZOQS9S46fQipEJ6%2Fimage.png?alt=media&amp;token=c04e295a-d1b6-41cc-9a98-04952919ccc9" alt=""><figcaption><p>Debug Integration</p></figcaption></figure>

Now, click on **Start Debugger**.&#x20;

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2Fcmvijv5LwqQpS9PPwSsZ%2FScreenshot%202026-06-10%20213646.png?alt=media&amp;token=0d793707-dd28-4019-b3e7-babe8110b367" alt=""><figcaption><p>Click on Start Debugger</p></figcaption></figure>

This will open up the Integration Debugger window.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FGI2Mx3M9kvHFHlCJhiMA%2Fimage.png?alt=media&amp;token=d404290a-a788-4c61-8277-cd3893218fd1" alt=""><figcaption><p>Integration Debugger</p></figcaption></figure>

Here, click on **Verify Tracking Script**.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FwDCBJVTwvJDfC80PB4hL%2FScreenshot%202026-06-10%2021370142.png?alt=media&amp;token=e7224e26-49fb-4e89-89f4-0a28559bee5b" alt=""><figcaption><p>Click on Verify Tracking Script</p></figcaption></figure>

If the tracking code is not detected, **copy** the embed code and add it to your store theme.&#x20;

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2Fbdx2mlrACGvara7LGIUm%2FScreenshot%202026-06-10%2021372812.png?alt=media&amp;token=bbe9454f-7c17-4272-ad50-ff47c75c2441" alt=""><figcaption><p>Tracking code not detected > Embed code</p></figcaption></figure>

Next, click on **Generate Test Link**.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FTLZ5xzqVz2x2HNfskU8C%2FScreenshot%202026-06-10%20213728.png?alt=media&amp;token=6426288f-4924-45bd-88f4-d2334a6e1b2d" alt=""><figcaption><p>Click on Generate Test Link</p></figcaption></figure>

After this, open the **test link**.&#x20;

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F38nrzq5sILbYhGMI688N%2FScreenshot%202026-06-10%20213738.png?alt=media&amp;token=efecfca5-9a7c-4d3c-9f08-3c3b9dcc2f8b" alt=""><figcaption></figcaption></figure>

A debug popup will open up in the top-right corner of the page.&#x20;

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FFF4GFJORAiS0n4LhRTIf%2Fimage.png?alt=media&amp;token=9862237b-7524-403a-9370-4c8462d1c201" alt=""><figcaption></figcaption></figure>

Now, place an order and click on **Export** in the popup to download the activity log. If the order is recorded in GoAffPro, it means that the referral link tracking is working properly.

{% hint style="info" %}
If the order was not recorded, please send the exported activity log to our team at <admin@goaffpro.com>.
{% endhint %}

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F5uGv96hUxcZDA9zpdWRC%2FScreenshot%202026-06-10%202137474.png?alt=media&amp;token=1d4749b6-d218-4d48-9f16-04b70e745bf1" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/udUJjuF8wKI>" %}
Debug Integration
{% endembed %}
