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.

1. Tracking Code (HEAD Section): This JavaScript code provides advanced behavioral analysis and real-time fraud detection.

2. 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:

      HTML

      <script src="https://cdn.clicksambo.com/scripts/your-unique-id.js"></script>
      

       

    • NoScript Tracking Code (BODY Section) Example:

      HTML

      <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:

  1. Open any page of your website in a new incognito browser window (to avoid cache issues).
  2. Right-click on the page and select "View Page Source".
  3. 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.
  4. 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?

Add New Domain

Calculate Saving

Fake Clicks
Cost Per Click(CPC)
Saving
12
X
$ 33
Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site.

We also use third-party cookies that help us analyse how you use this website, store your preferences, and provide the content and advertisements that are relevant to you. These cookies will only be stored in your browser with your prior consent.

You can choose to enable or disable some or all of these cookies but disabling some of them may affect your browsing experience.

Show More
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.

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.

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.

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.

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.

Uncategorised

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