Set up stopfakeclicks with Google Tag Manager
Setting up stopfakeclicks with Google Tag Manager takes 6 steps: 4 in Tag Manager to add the website tracking code as a Custom HTML tag on All Pages, then 2 in Google Ads to connect the exclusion script.
Google Tag Manager click fraud protection uses one Custom HTML tag with an All Pages trigger, so the tracking code loads on every page without editing your site's template. The Google Ads script then adds the IP addresses stopfakeclicks blocks to your IP exclusions once an hour.
Step 1
Copy your website tracking code from stopfakeclicks.
Tip Use your account’s website tracking code, not the Google Ads exclusion script.
Step 2
In Google Tag Manager, create a Custom HTML tag and paste the website tracking code.
Tip Use the container installed on the website you want to protect.
Step 3
Set the trigger to All Pages, then preview your container.
Tip Follow your consent requirements and check that the tag fires only when permitted.
Step 4
Publish the container and verify a test visit in stopfakeclicks.
Tip Check Preview and your site’s security policy if no visit appears.
Step 5
Copy the separate Google Ads script; open Tools → Bulk actions → Scripts in Google Ads.
Tip You need admin access. Never paste the website tracking code into Google Ads.
Step 6
Paste the Ads script, authorize it, and schedule it hourly.
Tip Keep watch-only mode for the first 7 days. Confirm Script connected before enabling exclusions.
Sources: Tag Manager Help: Custom tags, Tag Manager Help: About triggers, Google Ads Help: Using scripts to make automated changes
Still stuck? Email support@stopfakeclicks.com