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.

Why Do You Need Both Codes?
Tracking CodeHEAD Sectionthis javaScript code acts as the "brains," providing advanced behavioral analysis and real-time fraud detection.
NoScript Tracking CodeBODY Sectionacts as a "safety net," ensuring tracking continues even when JavaScript is disabled (a common behavior of bots).

Together, they guarantee comprehensive protection for your store.

Get Your Tracking Codes

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.

Example of what they look like:

Tracking Code (HEAD Section): 

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

NoScript Tracking Code (BODY Section): 

<noscript><img src="https://ping.clicksambo.com/clicksambo?uid=your-unique-id" ... ></noscript>

Click "Copy the Code" for each snippet.

Tip: You can also use the "Send as an email" button to forward these directly to your web developer.

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 file (often named header.php, theme.liquid, or similar).

Install the HEAD Code

Where: Inside the <head> section.

Exact Placement: Paste the code just before the closing </head> tag.

Install the BODY Code

Where: Inside the <body> section.

Exact Placement: Paste the code immediately after the opening <body> tag.

Why use a template? By placing the codes in a site-wide template file, you guarantee that every existing page—and any new pages you create in the future—will be automatically protected.

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/Private browser window (this avoids caching issues).

Right-click anywhere on the page and select View Page Source.

Confirm the HEAD code:

Press Ctrl+F (Windows) or Cmd+F (Mac) and search for: cdn.clicksambo.com

You should find this script inside the <head> section.

Confirm the BODY code:

Search again for: ping.clicksambo.com

You should find this <noscript> snippet located near the top of the body, just after the opening <body> tag.

Repeat this check on a few different pages (e.g., Homepage, Product Page, Contact Us) to ensure your template has applied the changes globally.

Whatsapp Sohbet
Customise Consent Preferences
Cookies
Cookies Other
Always Active

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

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

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.