Install Tracking Code on BigCommerce Website
Updated Date:
How to Install ClickSambo on a BigCommerce Website
To protect your BigCommerce store, install both ClickSambo tracking codes on every page.
You need two codes: the HEAD code (the main tracking script) and the BODY code (a NoScript fallback). In BigCommerce, the most reliable method is to create two separate scripts in Script Manager.
Step 1: Get Your Tracking Codes
Log in to your ClickSambo dashboard.
Go to Account Settings > Domain Tracking Setup.
Select your domain and keep this tab open; you will copy the HEAD and BODY codes from here.
Step 2: Add the Codes in Script Manager
Part A: HEAD code
In your BigCommerce admin, go to Storefront > Script Manager and click Create a Script.
Name of script: ClickSambo (HEAD)
Location on page: Head
Select pages where script will be added: All pages
Script category: choose the category that matches your cookie policy.
Script type: Script
Paste the HEAD code into Script contents and click Save.
Part B: BODY code
Click Create a Script again.
Name of script: ClickSambo (BODY)
Location on page: Footer
Select pages where script will be added: All pages
Use the same Script category and set Script type to Script.
Paste the BODY code into Script contents and click Save.
Footer places the code just before the closing
</body>tag, which works for the NoScript code. If your store's cookie consent banner is enabled, BigCommerce loads scripts outside the Essential category only after the visitor gives consent.
Step 3: Verify the Installation
Check your live storefront, not the admin preview, because the preview may not load third-party scripts.
Open your website in an incognito/private window.
Right-click the page and select View Page Source.
Press Ctrl+F (Cmd+F on Mac) and search for
cdn.clicksambo.com(HEAD code) andping.clicksambo.com(BODY code).
Both codes found? The tracking codes are installed correctly. Make sure your Google Ads account is connected as well, so ClickSambo can protect your campaigns.