Tracking Code (HEAD Section): This JavaScript code provides advanced behavioral analysis and real-time fraud detection.
NoScript Tracking Code (BODY Section): This code ensures basic tracking continues even when JavaScript is disabled, which is a common bot behavior.
Together, they provide comprehensive protection for your advertising campaigns.
Log in to your ClickSambo account.
Navigate to Account (top-right) > Account Settings > Domain Tracking Setup.
Select the domain (website) you wish to protect.
In the "Install Tracking Code" section, you will find your two unique code snippets.
Tracking Code (HEAD Section) Example:
<script src="https://cdn.clicksambo.com/scripts/your-unique-id.js"></script>
NoScript Tracking Code (BODY Section) Example:
<noscript><img src="https://ping.clicksambo.com/clicksambo?uid=your-unique-id" width="1" height="1" style="display:none;"></noscript>
Click "Copy the Code" for each snippet. You can also use the "Send as an email" button to send them to your developer.
Paste the Tracking Code (HEAD Section) into your website's HTML source code inside the closing </head>
tag.
Paste the NoScript Tracking Code (BODY Section) into your HTML source code immediately after the opening <body>
tag.
By placing the codes in a site-wide template, you guarantee that every page on your site—and any new pages you create—will be automatically protected.
Open any page of your website in a new incognito browser window (to avoid cache issues).
Right-click on the 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 the code again for ping.clicksambo.com. You should find your <noscript> code located immediately after the opening <body> tag.
You can repeat this check on a few different pages to be certain your website template has applied the changes correctly across your entire site.