This project is not covered by Drupal’s security advisory policy.

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.

Project information

Releases