How can we help?

How to Install the ClickSambo Tracking Codes?

25/05/2025

Why Do You Need Both Codes?

Both codes work together to provide complete, layered protection for your advertising campaigns.

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.

Step 1: Get Your Tracking Codes

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.

Step 2: Add Both Codes to Your Website Template

To ensure the codes appear on every page, you should add them to your website's main theme or header template

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.

Step 3: Verify the Installation

After adding the codes and publishing your changes, follow these simple steps to verify the installation:

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.

Did this answer your question?
Customise Consent Preferences
Cookies

CookieConsentIntro

CookieConsentNecessary

CookieConsentThirdParty

CookieConsentChoice

Show More
Cookies Necessary
Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

Cookies Functional

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

Cookies Analytics

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

Cookies Performance

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

Cookies Advertisement

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

Cookies Uncategorised

Other uncategorised cookies are those that are being analysed and have not been classified into a category as yet.