Track referrals that purchase from your BigCommerce Store


Contact Support for Easy Setup

Referral Rock's support team can add conversion tracking to your form for you.

Submit a request here. Prior to submitting, ensure the Referral.js SDK is installed on your site.

If you want to set it up yourself, use the guide below.


BigCommerce is an E-Commerce platform. This article will walk you through instructions for how to connect your BigCommerce Store with Referral Rock in order to:



Track Referrals on Forms

Install your Conversion Tracking Code

By adding Conversion Tracking to your BigCommerce settings, you will tell Referral Rock which referral purchased from your store, the dollar value of their purchase, and who the referring member was. 

For more support, reference BigCommerce's page on Conversion and Affiliate Tracking.

  1. Navigate to your BigCommerce Dashboard

  2. Select Advanced Settings from the menu on the left side of the screen

  3. Select Web Analytics

  4. Check the box next to  Affiliate Conversion Tracking and Save

  5. Enter your BigCommerce Event Script (example below) in the Conversion Tracking Code box

  6. Save

Example Event Script

<script type="text/javascript">
    window.referralJS = ((window.referralJS !== null && window.referralJS !== undefined) ? window.referralJS : {});
    window.referralJS.conversion = {
      debug: "false",
      parameters: {
        externalidentifier: "%%ORDER_ID%%",
        email: "%%ORDER_EMAIL%%",
        amount: "%%ORDER_AMOUNT%%"


The amount in the above event script will be the total before any discounts are applied. If would like to track referral purchase amounts after discounts, replace %%ORDER_AMOUNT%% in the script above with %%ORDER_SUBTOTAL_DISCOUNTED%%