# Manual BigCommerce Integration

#### Manually add the tracking code in your BigCommerce store:

Open the BigCommerce admin page.&#x20;

![BigCommerce admin page ](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MBYOi0RnXG9EVR0Kx_T%2F-MBYOyaUYM1aDmFgmWH6%2FAnnotation%202020-07-06%20130623.png?alt=media\&token=10235084-1460-4a87-ba30-d666244744de)

Now, go to the Advanced Settings section.

![Advanced Settings](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MBYOi0RnXG9EVR0Kx_T%2F-MBYP0NapLs2RLjJ5Hl2%2FAnnotation%202020-07-06%20130931.png?alt=media\&token=9e534a49-e19e-4efa-b895-715f2e5bd011)

After this, go to the Web Analytics section.

![Web Analytics ](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MBYOi0RnXG9EVR0Kx_T%2F-MBYP5qaqtmiweikpRAx%2FAnnotation%202020-07-06%20132042.png?alt=media\&token=1bc968ec-1f49-4f3c-ba58-ac67b8ed9c65)

Now, check the Affiliate Conversion Tracking option.&#x20;

![Affiliate Conversion Tracking option](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MBYOi0RnXG9EVR0Kx_T%2F-MBYP9RLLre5jSQZ3hWN%2FAnnotation%202020-07-06%20132623.png?alt=media\&token=28cd8b1b-8559-463a-a346-bf47a6b51666)

After this, click on **Save**.

![Click on Save](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MBYOi0RnXG9EVR0Kx_T%2F-MBYPCSqgRzzwkX5phSN%2FAnnotation%202020-07-06%20133041.png?alt=media\&token=51820362-23fb-446d-a12d-f00ea31348fa)

Copy the following code:&#x20;

```
<script type="text/javascript">window.__big = {order_id: %%ORDER_ID%%, order_amount: %%ORDER_AMOUNT%% }</script>
```

Paste the code in the Conversion Tracking Code box.

![Paste the code](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MBYOi0RnXG9EVR0Kx_T%2F-MBYPFBJ1rynNcy1lV_N%2FAnnotation%202020-07-06%20133556.png?alt=media\&token=66da6fd3-d27e-4c7f-9790-8b2d952ce381)

Finally, click on **Save**.

![Click on Save](https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdPzLtyP46oY7cyXnkw%2F-MBYOi0RnXG9EVR0Kx_T%2F-MBYPI4T5B8TL7EiXsSc%2FAnnotation%202020-07-06%201335562.png?alt=media\&token=7e6e78ea-75d9-4f8c-966c-a8a21a1b1969)

<details>

<summary>FAQ</summary>

#### Why aren't my orders getting tracked?

If you are having issues with tracking referral sales, then you may have to manually add the tracking code in BigCommerce.

#### If the tracking issue persists even after adding the tracking code:

In the case, the referral sales are still not getting tracked, even after you have added the tracking code manually. The issue is likely to be that the tracking script is not loading your store.

You can go to Settings > Advanced > Third Party Tracking and embed the tracking code present in that section to the theme page of the store, just before the \</body> tag.

If the referral sales are still not getting tracked on your store, contact our technical team at admin@goaffpro.com&#x20;

</details>

{% embed url="https://www.youtube.com/watch?v=9A2eO5SC7t0#action=share" %}
BigCommerce Manually Add Tracking Code
{% endembed %}
