This guide will help you integrate your Refersion account to BigCommerce backend, allowing you to track affiliate orders generated from BigCommerce. Below are the required steps to connecting Refersion to BigCommerce:

  1. Determine if you use a BigCommerce checkout or a self hosted checkout
  2. Add Refersion Tracking
  3. Add the Refersion code snippet to the Google Analytics box in BigCommerce
  4. Add Refersion code snippet to Affiliate Tracking box in BigCommerce
  5. Determine the SSL settings on your site
  6. Run a test order

Step 1: Determine if your store uses BigCommerce or Self Hosted checkout

You probably know this already: is there a domain change when you go to through the checkout flow, or is it hosted on your website?  You can check this by starting purchase and seeing if the URL shifts from your domain to a ____.bigcommerce.com site. To find your permanent BigCommerce URL, see the steps here.

Step 2: Add Refersion Tracking

If you are on the Getting Started Guide, click on BigCommerce 

And input your BigCommerce shop URL obtained in Step 1.  

This should prompt you to install the Refersion app, if not manually install the Refersion from the BigCommerce App Store

Step 3: Add Refersion code snippet to the Google Analytics box in BigCommerce

In BigCommerce, Navigate to Advanced Settings > Web Analytics, enable Google Analytics if it is not already enabled, and add the following snippet to the analytics box, being sure to replace the highlighted PUB_KEY with your Refersion API Public Key (found in Account > Settings > Refersion API, more info on where to it here)

<script src="//www.refersion.com/tracker/v3/PUB_KEY.js"></script> <script>_refersion(function(){ _rfsn._setSource("BIGCOMMERCE"); });</script> 

Step 4: Add Refersion code snippet to Affiliate Tracking

In BigCommerce, go to Advanced Settings > Affiliate Conversion Tracking and add the following snippet:

<script>_refersion(function(){_rfsn._addCart("%%ORDER_ID%%"); });/* %%ORDER_AMOUNT%% */</script>  

Step 5: Determine the SSL settings on your site
There are three scenarios 

  • No SSL on the site 
  • SSL just on the homepage
  • SSL on the entire site, provided by BigCommerce 

To determine which settings you have, try going to your site and looking at the address bar in your browser. If the web address starts with http, that means there is no SSL on your site. If your homepage starts with https and all the other pages start with http, then you have the second scenario.  If, as you navigate different pages, the address bar stays as https, then you have SSL on your entire site. 

No SSL on the site 

Use your BigCommerce URL for your Refersion tracking. You can find your BigCommerce domain by following the steps here.  Once you have obtained that, set it in Refersion by going to Account > Settings > Tracking.

SSL just on the homepage 

Contact Refersion for additional settings that we need to turn on for you, shoot us an email at [email protected] 

SSL on the entire site, provided by BigCommerce 

You're all set!  No additional steps required, proceed to Step 6.

Step 6: Run a test order

To make sure everything is configured correctly, run a test order to test the tracking on your site (note: test orders will take about 10 minutes to come through).  If you are having any issues contact us, [email protected]

Did this answer your question?