> 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/how-tos/setup-post-checkout-popup/bigcommerce-custom-popup-integration.md).

# BigCommerce Popup Integration

For Advanced Users Only

#### If the Post Checkout Popup is not appearing in the thank you page of the store, follow the steps given below for the custom integration of the popup script:

Go to the **Advanced** section of the **Settings** tab in the GoAffPro admin panel.

![Settings > Advanced](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MBYPwWz_h77YiDCFgbl%2F-MBYm7blonUMhm9fsBIx%2Fimage.png?alt=media\&token=2bf2f797-9a48-4198-bc15-ff670c2c9a69)

Here, go to the Third Party Tracking section.

![Third Party Tracking](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MBYPwWz_h77YiDCFgbl%2F-MBYmGCgA7tQhEg-BNO5%2Fimage.png?alt=media\&token=46166507-d241-485b-9151-3c86361c4c06)

Now, copy the tracking code.

![Copy the tracking code](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MBYPwWz_h77YiDCFgbl%2F-MBYmXtbnC3bSDS-TCg-%2FAnnotation%202020-07-06%20163117.png?alt=media\&token=36077ce1-93b3-40c4-bde9-ea5a178dbbbf)

Change the code (by replacing: **<https://api.goaffpro.com/loader.js>** with **<https://api.goaffpro.com/checkout\\_widget.js>**)

**From tracking script:**

```
<script type="text/javascript" src="https://api.goaffpro.com/loader.js?shop=example "></script>
```

**To popup script:**

```
<script type="text/javascript" src="https://api.goaffpro.com/checkout_widget.js?shop=example"></script>
```

After this, add the popup script in the Advanced Settings > Web Analytics > Affiliate Conversion Tracking > Conversion Tracking Code box in the BigCommerce panel. Finally, click on **Save**.

{% hint style="info" %}
Also, make sure that the third party tracking script is added in the Conversion Tracking Code box.
{% endhint %}

![](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MExm0DsdXmDGTetpObC%2F-MExmM9DS3AVWBfbkD6J%2FAnnotation%202020-07-06%20133556.png?alt=media\&token=d50ccc01-c10f-4cd1-9161-3bfddab365f5)
