Google Analytics Tracker Free Joomla Plugin

Lightweight Joomla system plugin that injects Google tag (gtag.js) for GA4 or Google Tag Manager (GTM). Includes Consent Mode v2, anonymize IP, Do Not Track, and user/group filters.


Why you’ll love it

📊

GA4 & GTM

Choose gtag.js for GA4 or a GTM container for advanced tagging—no code edits.

🧩

Joomla-native

Uses Web Asset Manager and core plugin patterns.

🛡️

Consent Mode v2

Set default consent, ready to integrate with your cookie banner.

🕵️‍♂️

Privacy-first

Anonymize IP, respect Do Not Track, exclude users/groups.

📦

Clean Install

Installer-safe media folder and language strings preloaded.

Lightweight

No extra CSS/JS on the page; pure snippet injection.

📜

GPL Licensed

GPL v2 or later.


Configurations

  • Mode: Choose **Google tag (gtag.js)** for GA4 or **Google Tag Manager**.
  • GA4 Measurement ID: Enter your **G-XXXX** (use when Mode = Google tag).
  • GTM Container ID: Enter your **GTM-XXXX** (use when Mode = Google Tag Manager).
  • Anonymize IP: Available in gtag mode; masks visitor IPs.
  • Respect Do Not Track: Skip tracking if the browser’s DNT is enabled.
  • Consent Mode v2: Enable defaults and adjust per storage type to match your policy.
  • Exclude logged-in users: Prevent tracking for authenticated sessions.
  • Exclude user groups: Skip tracking for selected groups (e.g., **Super Users**) to avoid internal traffic.

Frequently Asked Questions:

Will it track admins?
Not if “Exclude logged-in users” or the relevant user groups are enabled in the plugin.
Where is the GTM noscript placed?
Immediately after the opening <body> tag.