Skip to main content
All CollectionsIntegrations
Integrating with Big Commerce
Integrating with Big Commerce

Learn how to integrate Tapfiliate with Big Commerce

Maria avatar
Written by Maria
Updated over a year ago

Integrating Tapfiliate with BigCommerce involves setting up an affiliate marketing program that supports:

  • Conversion tracking

  • Commission based on order amount

  • Lifetime commissions

To get started:

1. Log in to your BigCommerce admin panel, navigate to "Storefront" > "Script Manager"

2. Add a new script named ‘Tapfiliate Library’ and place the tracking code before the closing </head> tag.

Select pages where the script will be added > ’All pages’, select Script type > ‘Script’, and hit Save.

<script src="https://script.tapfiliate.com/tapfiliate.js" type="text/javascript" async></script>


3. Again, add a new script named 'Tapfiliate click tracking' and place the following code. Select Location on page > ‘Head’, Select pages where the script will be added > ’All pages’, select Script type > ‘Script’, and hit Save.

<script type="text/javascript">

(function(t,a,p){t.TapfiliateObject=a;t[a]=t[a]||function(){

(t[a].q=t[a].q||[]).push(arguments)}})(window,'tap');

tap('create', 'YOUR ACCOUNT ID', { integration: "big-commerce" });

tap('detect');

</script>

Don't forget to replace 'YOUR ACCOUNT ID' with your actual account ID, which can be found in your Tapfiliate account Profile settings.

4. Go to Advanced Settings > Web Analytics.

Here you will find Analytics packages. Check the box next to “Affiliate conversion tracking” & Save (button is at the bottom of the window). This will open a tab near the top.

5. Paste the following code in the box:

<script src="https://script.tapfiliate.com/tapfiliate.js" type="text/javascript" async></script>

<script type="text/javascript">

(function(t,a,p){t.TapfiliateObject=a;t[a]=t[a]||function(){

(t[a].q=t[a].q||[]).push(arguments)}})(window,'tap');

tap('create', 'YOUR ACCOUNT ID', { integration: "big-commerce" });

tap('conversion', '%%ORDER_ID%%', %%ORDER_SUBTOTAL_DISCOUNTED%%, {'customer_id': '%%ORDER_EMAIL%%'});

</script>

Don't forget to replace 'YOUR ACCOUNT ID' with your actual account ID.

6. When you try to save your changes, you might encounter an error message stating that your Conversion Tracking Code is considered invalid. Don't worry if you see this message; just click the "Ok" button to proceed with saving. Once you do that, your integration setup is complete and ready to go!

Feel free to explore our Big Commerce integration guide here or watch our video guide below.

Make sure to perform a test conversion before launching your program. This helps you confirm that the tracking setup is working accurately. To create a test conversion, follow the steps outlined in the provided instructions.

Did this answer your question?