Websites and builders

BigCommerce
BigCommerce analytics with Stickybeak tracks a Stencil storefront and order revenue in about 10 minutes. It is a lighter alternative to Google Analytics for BigCommerce, with goals and revenue tied to channels.
Add the script
Create a storefront script
Open the storefront from Channel Manager, then go to Storefront → Script Manager → Create a Script.
Configure it
Choose Footer, All pages, Analytics and Script. Name it Stickybeak and paste:
<script defer data-site="YOUR_SITE_ID" data-domain="example.com" src="https://app.usestickybeak.com/_cfw/s.js" ></script>Save
Save and repeat for each storefront. Changes can take about 20 seconds to appear.
Check it's working
Wait 20 seconds, then visit the live storefront. Follow Check it's working.
Track goals
Add /cart.php or /checkout as page-visit goals, or add data-goal to a button in your theme templates. See Custom goals.
Track purchases
BigCommerce conversion tracking
Open Settings → Data solutions, connect Affiliate Conversion Tracking, and paste:
<script>
window.stickybeak = window.stickybeak || function () { (window.stickybeak.q = window.stickybeak.q || []).push(arguments); };
window.stickybeak("purchase", {
revenue: "%%ORDER_AMOUNT%%",
order_id: "%%ORDER_ID%%"
});
</script>
The amount is dollars and cents. BigCommerce has no currency placeholder here, so Stickybeak uses the site's reporting currency. Test with an order; see Revenue.
Consent and privacy
BigCommerce's cookie banner holds Analytics scripts until consent. Read Consent and cookie banners before changing the category.
If it isn't working
- Use Stencil Script Manager and configure every storefront separately.
- Use conversion placeholders only in Affiliate Conversion Tracking.