Installing Web Tracking in BigCommerce Stencil Theme Editor

If you are using BigCommerce's Stencil new theme framework you can follow these steps in order to install Remarkety's website tracking codes.

  1. Login to the store's back end.
  2. Go to "Storefront Design" > "Design Options"
  3. Open the "Scripts" tab.
  4. Add the following code to the Footer scripts:
    <script>var _rmData = _rmData || [];
       _rmData.push(['setStoreKey', 'STORE_ID']);
       {{#if customer}}
         _rmData.push(["setCustomer", "{{}}"]);
       {{#if product}}
        var _rmData = _rmData || [];
        _rmData.push(['productView', {
           productId: {{}},
           productCategories: [],
           productCategoriesIds: [],
    <script>(function(d, t) {
        var g = d.createElement(t),
            s = d.getElementsByTagName(t)[0];
        g.src = '';
        s.parentNode.insertBefore(g, s);
    }(document, 'script'));</script>
  5.  Make sure to replace STORE_ID with the store id from the API Key page on Remarkety -
  6. Save

You're all set! You can now open and create your awesome Browser Abandonment campaign. 

Monitor your recent website tracking events on Remarkety -

If you have any additional questions, please feel free to contact 

Have more questions? Submit a request


Article is closed for comments.