Updated Date:
Each code has its own role, and where you place it matters.
Role: Your main detection code. It loads early to analyze visitor behavior and detect threats in real time.
Where: Inside the <head> section. Place it just before the closing </head> tag.
Role: Your safety net. It keeps tracking in place even when a visitor has JavaScript disabled, a common tactic bots use.
Where: Inside the <body> section. Place it immediately after the opening <body> tag.
Most modern platforms (like Wix, Squarespace and BigCommerce) have features labeled "Custom Code," "Script Manager" or "Code Injection." This is the safest method, and the codes stay in place even if you change your design theme.
Action: Find these settings in your admin panel and paste the codes into the matching "Head" and "Body" fields.
If your platform doesn’t have a code injection tool (common in WordPress or Shopify), you need to edit your site’s main template file, usually the one that controls the site-wide header (often header.php or theme.liquid).
Action: Paste the codes directly into the HTML, following the placement rules above.
For detailed, step-by-step instructions for your platform, see our dedicated guides:
Clear all caches (mandatory): You must clear all website, server and CDN (e.g., Cloudflare) caches. If you skip this, your changes may not reach visitors.
Verify the 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> section.
Search for ping.clicksambo.com to confirm it is right after the opening <body> tag.
Protect your marketing budget and increase revenue with ClickSambo
Start TrialAnalyze your account and uncover losses caused by fake clicks.
Get Free Report
Reach us easily via WhatsApp, live chat, or email.
Contact UsJoin our partner program and turn ad-fraud protection into a scalable, recurring revenue stream.