> 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

#### 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](/files/-MBYm7blonUMhm9fsBIx)

Here, go to the Third Party Tracking section.

![Third Party Tracking](/files/-MBYmGCgA7tQhEg-BNO5)

Now, copy the tracking code.

![Copy the tracking code](/files/-MBYmXtbnC3bSDS-TCg-)

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 %}

![](/files/-MExmM9DS3AVWBfbkD6J)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.goaffpro.com/how-tos/setup-post-checkout-popup/bigcommerce-custom-popup-integration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
