Updated Date:
You need two codes: the HEAD code (the main tracking script) and the BODY code (a NoScript fallback). In Magento 2, you add both in your theme's design configuration in the Admin Panel.
Important: After saving, flush the Magento cache so the changes appear on your live store.
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.
Log in to your Magento Admin Panel.
Go to Content > Design > Configuration.
Find the store view your live store uses (or the Global row) and click Edit.
Expand HTML Head and paste the HEAD code at the end of the Scripts and Style Sheets field.
Expand Footer and paste the BODY code into the Miscellaneous HTML field.
Click Save Configuration.
Go to System > Tools > Cache Management.
Click Flush Magento Cache.
If you use Varnish or a CDN, purge that cache as well.
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) and ping.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.
Protect your marketing budget and increase revenue with ClickSambo
Start TrialAnalyze your account and uncover losses caused by fake clicks.
Get Free Report
Reach us easily via WhatsApp, live chat, or email.
Contact UsJoin our partner program and turn ad-fraud protection into a scalable, recurring revenue stream.