BigCommerce integration

From ClickTale Wiki
Jump to: navigation, search
ClickTale Wiki
The instructions on this page are intended for self service accounts.
Enterprise customers should contact their account managers for integration support.

Websites which use the shopping cart software BigCommerce can integrate ClickTale by following these steps:

PLEASE NOTE: If your Bigcommerce cookies are set as "Http Only", the integration suggested below would not work on your site. Please contact ClickTale support for possible solutions.

  1. Sign into your BigCommerce account.
  2. Open the "Settings" menu and choose the "Conversions" option.
  3. Add the Bottom Part of your ClickTale tracking code (using ClickTaleFetchFromWithCookies - see example below) to the "Conversion Tracking Code" box and click "Save".

Bigcommerce1.png
4. After you click Save, a warning box appears. Click OK to continue.
Bigcommerce Warning.png


Your code is now ready to run and record your page visits.


Sample code:

Please Note:

  • The code below is an HTTPS compliant code (Only available for paid plans. Free accounts must edit the code).
  • You will not be able to include the Top Part of the tracking code. The Top Part is not necessary for recording as it is merely a time stamp (With the exception of the PHP Integration Module).
  • You may need to change the cookies below for your specific site. See the ClickTaleFetchFromWithCookies page for more details.
<!-- ClickTale Bottom part -->
<div id="ClickTaleDiv" style="display: none;"></div>
<script type='text/javascript'>
document.write(unescape("%3Cscript%20src='"+
 (document.location.protocol=='https:'?
  'https://clicktalecdn.sslcs.cdngc.net/www/':
  'http://cdn.clicktale.net/')+
 "WRe.js'%20type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
ClickTaleFetchFromWithCookies.setFromCookie("STORE_VISITOR");
ClickTaleFetchFromWithCookies.setFromCookie("STORESUITE_CP_TOKEN");
ClickTaleFetchFromWithCookies.setFromCookie("SHOP_SESSION_TOKEN");
ClickTaleFetchFromWithCookies.setFromCookie("SHOP_ORDER_TOKEN");
ClickTaleFetchFromWithCookies.setFromCookie("RememberToken");
ClickTaleFetchFrom = ClickTaleFetchFromWithCookies.constructFetchFromUrl();
 
var ClickTaleSSL=1;
if(typeof ClickTale=='function') ClickTale(your project details);
</script>
<!-- ClickTale end of Bottom part -->


Note - Caching\CDN delay issues may result, depending on the re-caching frequency of the customer’s server.