BigCommerce

Track referrals that purchase from your BigCommerce Store

This native connection is live and open to all customers while we finish rounding it out. Don't rely on it being final; behavior may change before general availability.

Overview

BigCommerce is an E-Commerce platform. Connect your BigCommerce Store with Referral Rock in order to:

Native Connection (Customer Feed)

We recommend using our native Customer Feed capability to directly track referrals who convert via BigCommerce, and preload these customers as members.

How it works (trigger + objects):

  • Trigger: an Order reaches status = Completed (status_id 10) / paid.
  • Behavior: matching referral Approved; customer can be preloaded as a member.
  • One-way read.

Setup (auth)

Authorize Referral Rock to read the store's orders over OAuth — no manual webhook wiring required.

(This is an OAuth authorization, not a public marketplace app.)

Alternative — Conversion Tracking (SDK)

Although we recommend using the Customer Feed, the SDK method is useful for headless/API-first storefronts.

📘

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.

🚧

Prerequisites

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%%"
      }
    };
</script>
📘

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%%



Did this page help you?