The Tracking Code (HEAD Section) is your primary analysis engine, and the NoScript Tracking Code (BODY Section) is your essential fallback.
The best way to add both codes to your BigCommerce store is by creating two separate scripts using the Script Manager.
Tracking Code (HEAD Section)
and the NoScript Tracking Code (BODY Section)
.In your BigCommerce dashboard, navigate to Storefront > Script Manager.
Click the Create Script button.
Configure the script details as follows:. Name of script: ClickSambo - Main Tracking (HEAD)
Description: (Optional) Real-time fraud detection script.
Location on page: Select Head.
Select pages where script will be added: Choose All pages.
Script category: Select Essential (recommended for fraud prevention).
Script type: Select Script.
In the Script contents box, paste your Tracking Code (HEAD Section).
Click Save.
While still in the Script Manager, click Create Script again.
Configure this second script with the following details:Name of script: ClickSambo - NoScript Fallback (BODY)
Description: (Optional) Fallback tracking for disabled JavaScript.
Location on page: Select Footer. (This places the script before the closing </body> tag, which is correct for this code).
Select pages where script will be added: Choose All pages.
Script category: Select Essential.
Script type: Select Script.
In the Script contents box, paste your NoScript Tracking Code (BODY Section).
Click Save.
You should now have two ClickSambo scripts saved and active in your Script Manager.
Visit your live BigCommerce storefront in a new incognito browser window. (The BigCommerce admin preview may not always show third-party scripts).
Right-click on any page and select "View Page Source".
Confirm the HEAD code: Search the code (Ctrl+F or Cmd+F) for cdn.clicksambo.com. You should find your script inside the <head> section.
Confirm the BODY code: Search again for ping.clicksambo.com. You should find your <noscript> code snippet located towards the end of the page, before the closing </body> tag.
Once you have confirmed both codes are present in the correct locations, your installation is complete and your store is fully protected.