Tracking Script
Get and install your ClickFortify tracking script to enable click fraud protection.
The Tracking Script page provides the JavaScript snippet you need to install on your website. Without this script, ClickFortify cannot monitor your ad traffic or protect your campaigns.
![]()
Why It's Required
The tracking script:
- Captures click data (IP, device, browser, session behavior) when visitors arrive from your ads
- Links each click back to your Google Ads campaign data
- Enables real-time fraud detection and exclusion
Getting Your Script
Your tracking script is unique to each website in your ClickFortify account. Make sure you're viewing the correct website using the selector at the top of the page before copying the script.
The script URL looks like:
Click Copy to copy the full script tag to your clipboard.
Installation Methods
Direct HTML Installation
Paste the script in the <head> section of your HTML, as high as possible:
Google Tag Manager
- Open your GTM container
- Create a new Custom HTML tag
- Paste the script tag
- Set the trigger to All Pages
- Publish your container
The Tracking Script page includes a built-in GTM installation guide. Click the GTM option to get step-by-step instructions.
WordPress
Install via a header injection plugin or your theme's functions.php:
Shopify
Add to your theme's theme.liquid file inside the <head> tag.
Verifying Installation
After installing the script, visit your website from any browser. Return to the Tracking Script page and check for the "Tracking Active" confirmation. This may take a few minutes.
Alternatively, check the Website Settings page — the website status will change from Pending to Active once tracking is detected.
The script is lightweight and loads asynchronously — it will not affect your website's page load speed.
Conversion Tracking URL
In addition to the main tracking script, there's a separate conversion tracking URL for recording conversions. See Conversion Setup for instructions.
Troubleshooting
Script installed but not detected?
- Clear your browser cache and visit the site again
- Confirm the script is in the
<head>tag, not the footer - Check browser console for any script load errors
- Ensure no Content Security Policy is blocking the script
GTM container published but not working?
- Verify the trigger is set to All Pages (not just certain pages)
- Preview your GTM container and confirm the tag fires
- Check that the container snippet is on every page
Tracking disappears after update?
- Theme updates may overwrite custom code — re-add after updating