> 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="/files/rfGUeOC2q5AcNvTEplA8" alt=""><figcaption><p>Settings > Developer</p></figcaption></figure>

Here, go to the Debug Integration section.

<figure><img src="/files/829ClNv76vFIOvFvKMUG" alt=""><figcaption><p>Debug Integration</p></figcaption></figure>

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

<figure><img src="/files/goSkZNwBzObw8W4qfQxB" alt=""><figcaption><p>Click on Start Debugger</p></figcaption></figure>

This will open up the Integration Debugger window.

<figure><img src="/files/8FvFlWdTai0szHZyj7Zs" alt=""><figcaption><p>Integration Debugger</p></figcaption></figure>

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

<figure><img src="/files/YImDWOkJejxLYAJI8tCQ" 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="/files/c8oA4UseTh5YpyWNZlRp" alt=""><figcaption><p>Tracking code not detected > Embed code</p></figcaption></figure>

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

<figure><img src="/files/vnzHbghq2aY5vb4bEns2" alt=""><figcaption><p>Click on Generate Test Link</p></figcaption></figure>

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

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

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

<figure><img src="/files/ggT0MKUaXlP1WbNYNN3e" 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="/files/OQjoFHyShUBqwRfgntTK" alt=""><figcaption></figcaption></figure>

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