Next Inventory 6.1.0: App Manager, dark mode, and more Joomla 6.1 "Nyota" Is Here Building the Future of Joomla Extensions
NextSoftware
Smart Local Google Analytics — Documentation

Smart Local Google Analytics

GDPR-compliant cookie consent manager for Google Analytics 4 and Google Tag Manager on Joomla — with local script hosting, beautiful themes, geo-detection, and zero configuration headaches.

What It Does

Smart Local Google Analytics blocks all Google tracking scripts from loading until your visitor explicitly consents. Once accepted, the plugin injects the appropriate GA4 or GTM code automatically. Everything runs on your own server — no external cookie consent services, no third-party CDNs, no privacy concerns.

Key Features

  • Cookie consent management — Accept/decline dialog with CSRF-protected form submission and secure cookie handling
  • GA4 & GTM support — Full support for Measurement IDs (G-XXXXXXXXXX) and GTM containers (GTM-XXXXXXX)
  • Local script hosting — Download Google's tracking JavaScript to your server for maximum privacy and faster page loads
  • 5 built-in themes + custom colors — Clean, Midnight, Forest, Slate, and Warm, plus a full custom color picker with 12 color fields
  • Dark mode — Automatic OS detection, force light, or force dark, with separate dark color customization
  • 4 positions & 4 animations — Center modal, bottom bar, bottom-right, bottom-left with fade-in effects
  • Smart geo-detection — Browser language-based region detection for EU/EEA/UK visitors, no external API calls
  • Legacy mode — Auto-detects existing GA/GTM scripts in your template and strips them until consent is given
  • WCAG 2.1 AA accessible — Focus trap, keyboard navigation, screen reader support, reduced motion
  • Fully translatable — en-GB and de-DE included, add any language with standard .ini files

Requirements

Requirement Version
Joomla 4.x, 5.x, or 6.x
PHP 8.3 or higher
HTTPS Recommended (required for Secure cookie flag)

Support

All Extensions