Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Statistics Counter Module statistics_counter crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

This module integrates the ClickPatrol measurement script into your Drupal site to detect click fraud, bots, and invalid ad clicks. It loads the script after you provide your unique ClickPatrol User ID, helping classify paid traffic as legitimate or suspicious across various advertising networks without altering your site's content.

Official ClickPatrol loader for Drupal. After you save your UID, it loads the ClickPatrol measurement script so paid traffic can be classified as legitimate or suspicious.

That classification is what ClickPatrol uses to spot click fraud, bots, and other invalid ad clicks. It is not limited to Google Ads. The same site tag feeds the networks you connect in the ClickPatrol dashboard, including Google Ads, Meta, Microsoft Ads, LinkedIn, TikTok, Pinterest and DV360. How protection is applied differs per network and is configured in the account, not inside this module.

The module does not change your page content. It does not load the script until an administrator saves a UID.

A ClickPatrol account is required. Create one at dashboard.clickpatrol.com/register. Plans: clickpatrol.com/pricing.

Features

  • Official Drupal loader for the ClickPatrol measurement script
  • Configuration page for your ClickPatrol UID
  • No theme edit required
  • Works behind page caches because the query string is read in the browser
  • Sends UID, page URL, page query string, first-party visitor id and first-party session id

Post-Installation

  1. Enable the module.
  2. Go to Configuration → ClickPatrol (/admin/config/clickpatrol).
  3. Create a ClickPatrol account if you do not have one: register.
  4. Copy Your Unique ID from the dashboard: Integration → Google Tag Manager.
  5. Paste the UID, save, and open a public page. Add ?source=f to force a test classification.

If you already fire the official ClickPatrol Google Tag Manager tag on this site, keep this module off. Use one install path per site.

Additional Requirements

  • A ClickPatrol account and UID
  • Drupal core only. No other contributed modules are required

None. If the site already uses Google Tag Manager, you can install the official ClickPatrol GTM tag instead of this module. Do not run both on the same site.

Similar projects

This is the official ClickPatrol module. The same measurement script can also be installed with the ClickPatrol Google Tag Manager tag or a manual JavaScript snippet. Those are install paths, not competing Drupal modules.

Supporting this Module

ClickPatrol is a commercial product. Account, pricing and support: clickpatrol.com.

Community Documentation

External service

Script host: https://trck-002.clckptrl.com/. Data may include UID, page URL, query string, visitor id, session id, IP, user agent, and referrer. Terms. Privacy.

Activity

Tracked releases
1
Tracked since
Aug 2026
Latest release
4 days ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0 Stable Aug 19, 2026