This article provides instructions for the installation of Searchspring IntelliSuggest Tracking onto BigCommerce stores using a Blueprint Theme.
Generally, we cannot add IntelliSuggest tracking to the checkout page. We can't do "Also Bought" recommendations in these cases
To accomplish this, it requires that we tie into their Google Analytics under ‘Advanced Settings -> Web Analytics’ - not everyone has this setup.
For more information, see this article: Tracking Sales Events for IntelliSuggest in BigCommerce
Integration Instructions
For this tracking to work, "Show Product's SKU" must first be enabled within the BigCommerce Product Display Settings.
Be sure to replace the YOUR_SITE_ID
placeholders with your Searchspring Site ID.
Within your BigCommerce Admin panel, go to Storefront Design > My Themes. Under the Advanced Options, click Edit HTML/CSS.
Once within the Design Mode editor, complete the following edits:
1) Add the following to the end of Panels/ProductDetails.html:
<script type="text/javascript">
var product_code = "%%GLOBAL_SKU%%";
</script>
2) Add the following to the end of Layouts/product.html:
<script type="text/javascript" src="//cdn.searchspring.net/intellisuggest/is.min.js"></script>
<script type="text/javascript">
try{
IntelliSuggest.init({siteId:'YOUR_SITE_ID', context:'Product/' + product_code, seed:product_code});
IntelliSuggest.viewItem({sku:product_code});
IntelliSuggest.setCurrency({ code: 'USD' });
/* Code should indicate country currency code */
} catch(err) {}
</script>
Once those two templates are saved with the additions, this tracking code will enable IntelliSuggest Tracking for Product pages.
For IntelliSuggest Tracking at the Cart and Checkout levels, submit a request to Searchsping Help Desk and we will complete the install for you. Within your support request, please also specify which Searchspring Admin user has access to your store. If no access has been granted, we ask you invite support@searchspring.com as the Admin user.
Cart: Can track ID only
Checkout: Can track SKU only
Comments
0 comments
Article is closed for comments.