Together, they form the foundation of our click fraud detection service by allowing us to analyze your on-site traffic in real-time.
Yes, installing both codes on every page of your site is essential for ClickSambo to provide comprehensive protection.
The ClickSambo tracking codes are two separate snippets of code that you install on your website. Together, they form the foundation of our click fraud detection service by allowing us to analyze your on-site traffic in real-time.
Is it necessary to install both codes? Yes, installing both codes on every page of your site is essential for ClickSambo to provide comprehensive protection.
Each code has a distinct and important role:
| Code Type | Role | How it works | Place |
| Tracking Code (HEAD Section) | A small piece of JavaScript that acts as the primary "brains" of our on-site analysis. | Monitors behavior (mouse, scrolls) and technical data to create a unique "fingerprint" for each visitor. | Must be placed in the <head> section of your website's HTML. |
| Tracking Code (HEAD Section) | A simple HTML image pixel wrapped in a <noscript> tag that serves as a safety net. | Ensures visit registration even if JavaScript is disabled—a common tactic used by bots to evade detection. | Must be placed immediately after the opening <body> tag of your website's HTML. |
By running silently in the background and securely sending session data to our servers for analysis, these two codes give us the complete picture we need to accurately identify and block fraudulent clicks, ensuring your ad spend is protected.