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 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 script then adds the IP addresses stopfakeclicks blocks to your IP exclusions once an hour.

1

Step 1

Copy your website tracking code from stopfakeclicks.

Illustration

Tip Use your account’s website tracking code, not the exclusion script.

2

Step 2

In Google Tag Manager, create a Custom HTML tag and paste the website tracking code.

Illustration

Tip Use the container installed on the website you want to protect.

3

Step 3

Set the trigger to All Pages, then preview your container.

Illustration

Tip Follow your consent requirements and check that the tag fires only when permitted.

4

Step 4

Publish the container and verify a test visit in stopfakeclicks.

Illustration

Tip Check Preview and your site’s security policy if no visit appears.

5

Step 5

Copy the separate script; open Tools → Bulk actions → Scripts in .

Illustration

Tip You need admin access. Never paste the website tracking code into .

6

Step 6

Paste the Ads script, authorize it, and schedule it hourly.

Illustration

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, Help: Using scripts to make automated changes

Still stuck? Email support@stopfakeclicks.com