How can we help?

Where to Place the Tracking Codes?

01/06/2025

Where I should place ClickSambo HTML tracking code

To ensure your website is fully protected, you must install two separate ClickSambo tracking codes on every page you wish to monitor.

Each code has a distinct role, and its placement is critical for optimal performance.

 RoleLocationBest Practice
Tracking Code (HEAD Section)Your primary detection engine. It loads early to analyze visitor behavior and detect real-time threats. Inside the <head>...</head> section.Place it just before the closing </head> tag.
NoScript Tracking Code (BODY Section)Your essential safety net. It guarantees tracking coverage even if a user has JavaScript disabled (a common tactic used by bots).Inside the <body>...</body> section.Place it immediately after the opening <body> tag.

How to Install the Codes on Your Website

The best way to add these codes to every page is to use a site-wide tool or template. You generally have two options depending on your platform:

 DescriptionWhy use this? Action
Option A: Built-in Tools (Recommended)Most modern platforms (like Wix, Squarespace, and BigCommerce) have dedicated features labeled "Custom Code," "Script Manager," or "Code Injection."It is the safest method and ensures the code persists even if you change your design theme.Look for these settings in your admin panel and paste the codes into the corresponding "Head" and "Body/Footer" slots.
Option B: Theme Editing (Advanced)If your platform does not have a code injection tool (common in WordPress or Shopify), you will need to edit your site's main template file.Locate the file that controls your site-wide header (often named header.php or theme.liquid).Paste the codes directly into the HTML following the placement rules above.

Platform-Specific Guides

The best way to add these codes to every page is to use a site-wide tool or template.

For detailed, step-by-step instructions for your specific platform, please refer to our dedicated guides:

[How to Install ClickSambo with Google Tag Manager (GTM)]

[How to Install on Shopify]

[How to Install on WordPress]

[How to Install on Wix]

Final Checklist

After adding the codes, always complete these final steps to ensure the installation is live:

Clear All Caches (Mandatory):

You must clear all website, server, or CDN (e.g., Cloudflare) caches. If you skip this, your changes may not appear to visitors.

Verify Installation:

Open your live website in a new Incognito/Private window.

Right-click and select View Page Source.

Search for cdn.clicksambo.com to confirm it is inside the <head>.

Search for ping.clicksambo.com to confirm it is near the opening <body> tag.

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.