These snippets are dedicated to BigCommerce Stencil themes. 

These snippets have been updated on September 25, 2018. Here are the old snippets, if you want to replace them. Please go to Store settings > Connected store for a complete setup wizard.

We do not suggest continuing the use of old snippets as the following features will not be supported:

  • Sales tracking

  • Cart Recovery

  • Live View

  • Product Picker

  • Forms

IMPORTANT: if you are changing the template, you will need to add our snippets again. Do not add both snippets at once (Blueprint and Stencil), neither of them will work in such a case. 

Not sure, which theme you're using? Check BigCommerce guide to find out.

Note! The snippets are added automatically for all new shops, if you are on an old version of Biccommerce then you'll need to add the snippets manually. If the snippets are added automatically in your case, you'll see ✅ next to the 1st point.

Otherwise, continue reading this article to understand how to add snippets manually.

Adding the snippets

IMPORTANT: you need to replace the shopID (currently XXXXX) with your own shopID, otherwise the code will not work. You can find your ID in the address bar when you are logged in to your store control panel. If you cannot find it, check out the BigCommerce guide on it or go to My Account > Connected store for a complete setup wizard.


FOOTER SCRIPTS

  • - The script should be imported automatically into BigCommmerce's Script Manager (location: Storefront > Script Manager). Both for "Store pages" and "Order confirmation" pages
    - For older shops, the script might need to be added manually via BigCommmerce's Script Manager (location: Storefront > Script Manager)
    - both for "Store pages" and "Order confirmation" pages - so the script should be added two times.

<div id="soundest-container"></div>
<script type="text/javascript">
    // SOUNDEST-V6-2-S
    // Do not remove these comments, they are super important!
    window.SOUNDEST = window.SOUNDEST || {};
    // Do not forget to replace XXXXXX with your shop ID! You can find it in your shop's permanent address: https://store-XXXXXX.mybigcommerce.com/. How to find it: https://goo.gl/1XddvQ
    SOUNDEST.shopID = "XXXXXX";
    SOUNDEST.shopType = "bigcommerce";
    SOUNDEST.baseURL = "https://omnisrc.com/";
    SOUNDEST.version = new Date().toISOString().slice(0, 13);
    SOUNDEST.pageType = "{{#if page_type}}{{page_type}}{{/if}}";
    SOUNDEST.productTitle = "{{#if product}}{{product.title}}{{/if}}";
    SOUNDEST.productID = "{{#if product}}{{product.id}}{{/if}}";
    SOUNDEST.categoryTitle = "{{#if category}}{{category.name}}{{/if}}";
    SOUNDEST.categoryID = "{{#if category}}{{category.id}}{{/if}}";
    (function(e,t){try{if(e.length>0&&t.length>0){var n=document.createElement("script"),c=document.getElementById("soundest-container");n.type="text/javascript";n.id="soundest-launcher";n.src=e+"inshop/bigcommerce-launcher.js?v="+t;c.parentNode.insertBefore(n,c)}}catch(f){}})(SOUNDEST.baseURL,SOUNDEST.version);
</script>

Contacts

Your contacts will be sent to All contacts list and for all newly added and updated contacts via Bigcommerce, we will add a tag “source: bigcommerce”. That way you will be able to create a segment and filter the list of contacts that were added from Bigcommerce. Just create a segment on Profile data where tag is “source: bigcommerce”.
Learn more about segments here.
 

Additional information

For Blueprint theme codes please click here.
Which theme platform do you have: Stencil or Blueprint?
 

Did this answer your question?