To protect your site, you must install two tracking codes: the Head Code and the Body Code. We recommend using a plugin (Method A) as it is the safest and easiest method for most users.
Log in to your ClickSambo Dashboard.
Go to Account > Domain Tracking Setup.
Select your domain and keep this tab open. You will need to copy the HEAD Section Code and BODY Section Code.
The safest way to add code without editing theme files.
In your WordPress Admin, go to Plugins > Add New.
Search for and install WPCode – Insert Headers and Footers. Activate it.
Go to Code Snippets > Header & Footer in the left menu.
Paste your Tracking Code (HEAD) into the Header box.
Paste your NoScript Code (BODY) into the Body box.
Click Save Changes.
Use this only if your theme supports custom scripts natively.
Go to Appearance > Customize.
Look for "Theme Settings," "Custom Code," or "Scripts."
Paste the HEAD Code into the Header field and the BODY Code into the Body field.
Publish your changes.
Do you use GTM? If you already use Google Tag Manager, do not use the methods above. Instead, please follow our Dedicated GTM Installation Guide.
⚠️ Warning: Only for advanced users. Always use a Child Theme to prevent data loss during updates.
Go to Appearance > Theme File Editor.
Select your Child Theme and open header.php.
Paste the HEAD Code just before the closing </head> tag.
Paste the BODY Code just after the opening <body> tag.
Click Update File.
Go to your caching plugin (e.g., WP Rocket, LiteSpeed, W3 Total Cache) and Purge All Caches.
If you use Cloudflare, clear that cache as well.
Open your website in an Incognito/Private window.
Right-click anywhere on the page and select View Page Source.
Press Ctrl+F (or Cmd+F) to search:
Search for cdn.clicksambo.com to find the Head Code.
Search for ping.clicksambo.com to find the Body Code.
If you see both codes, your protection is active!