Integrating with Big Commerce

  1. In your admin area, select Storefront and then Script Manager.
  2. If you already have other scripts, please click on Create a Script. If you don’t have any scripts yet, you will automatically land on the Create Script screen.
  3. Write down in Name of script > ‘Tapfiliate Library’, select Location on page > ‘Head’, Select pages where script will be added > ’All pages’, select Script type > ‘Script’, and paste the following code in the window:
    <script src="https://script.tapfiliate.com/tapfiliate.js" type="text/javascript" async></script>
  4. Hit Save.
  5. Next, click (again) on Create a Script, write down in Name of script > ‘Tapfiliate click tracking’, select Location on page > ‘Head’, Select pages where script will be added > ’Store pages’, select Script type > ‘Script’, and paste the following code in the window:

    <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))))');
        tap('detect');
    </script>
    

    {{{{NO_ACCOUNT_ID_SET_MESSAGE}}}}

  6. Hit Save.

  7. Next, click again on Create a Script, write down in Name of script > ‘Tapfiliate conversion tracking’, select Location on page > ‘Head’, Select pages where script will be added > ’Order confirmation’, select Script type > ‘Script’, and paste the following code in the window:

    <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))))');
        tap('conversion', '%%ORDER_ID%%', %%ORDER_SUBTOTAL_DISCOUNTED%%);
    </script>
    

    {{{{NO_ACCOUNT_ID_SET_MESSAGE}}}}

  8. Hit Save again, and you are all done!

Important

Please remember to test a conversion before starting your program. This way you can verify that tracking has been set up correctly. You can create a test conversion by following the steps described here.

Start a 14-day free trial with all our features enabled

Start now