Next File Manager 6.1.0: share links, Trash, a phone app and a Health check Next Exams 6.3.0: exam parts, scaled scores, listening and speaking tests Next Restaurant 6.1.0: move your data in, run payroll, and connect other systems Next Inventory 6.2.0: a REST API and webhooks for your other systems Next DB 6.1: Auto-Updating Tables, Printing, Phone Layout and SEO Next Task 6.0.0: a task manager for Joomla
NextSoftware
Smart Local Google Analytics

Smart Local Google Analytics

Smart Local Google Analytics is a cookie consent manager for Google Analytics 4 and Google Tag Manager on Joomla. Enter your GA4 or GTM ID and the plugin blocks all tracking until the visitor agrees, shows a consent dialog, and adds the analytics code only after they accept. If your template already includes Google Analytics, it finds that code and holds it back too.

The consent box comes in four positions and five color themes, with dark mode and WCAG 2.1 AA accessibility. Geo-detection asks for consent only where the law requires it (EU, EEA and UK), page rules decide on which pages tracking runs, and the Google scripts can be served from your own server instead of Google's.

It needs no third-party consent service, runs on Joomla 4.4, 5 and 6, and comes in 23 languages.

plugin Joomla 4 Joomla 5 Joomla 6
Screenshots

See it in action

FEATURES

Everything you need

Cookie Consent

Secure, GDPR-compliant consent collection out of the box.

Accept & Decline Dialog

Clear, honest choices with equally prominent buttons

Configurable Cookie Lifetime

Session-based or custom duration from 1 to 365 days

Privacy Policy Link

Select any Joomla menu item as your privacy policy page

Secure Cookies

HttpOnly, Secure, and SameSite=Lax flags on every cookie

CSRF Protection

Tamper-proof form submission with token validation

Analytics Integration

Full support for Google Analytics 4 and Google Tag Manager.

GA4 & GTM Support

Works with Measurement IDs (G-XXXXXXXXXX) and GTM containers (GTM-XXXXXXX)

Consent-First Injection

Scripts load only after explicit visitor consent

Legacy Mode

Auto-detects existing GA/GTM code in your template and blocks it until consent

Local Script Hosting

Downloads tracking JavaScript to your server for maximum privacy and speed

Configurable Refresh

Set how often locally hosted scripts update (1-30 days)

One-Click Cache Clear

Purge cached scripts from the admin panel instantly

Design & Themes

Beautiful consent dialogs that match your brand perfectly.

4 Positions

Center modal, full-width bottom bar, bottom-right corner, or bottom-left corner

5 Color Themes

Clean, Midnight, Forest, Slate, and Warm — each with a dark mode variant

Custom Colors

Full color picker for background, text, and button colors individually

4 Animations

Fade in from top, bottom, left, or right

Custom Text

Set your own headline, message, and icon without editing language files

Dark Mode

Automatic or forced dark mode with full theme support.

Auto Detection

Reads OS/browser preference via prefers-color-scheme

Force Mode

Override visitor preferences with always-light or always-dark

Custom Dark Palette

Define separate colors for dark mode when using the custom theme

Geo-Detection

Show consent dialogs only where regulations require it.

Language-Based Detection

Reads the browser Accept-Language header — no third-party APIs

EU, EEA & UK Coverage

All 27 EU member states, EEA countries, and UK/Ireland

3 Non-EU Behaviors

Auto-agree, show consent dialog, or skip plugin entirely

Region Toggles

Enable or disable EU, EEA, and UK consent regions independently

Safe Defaults

Unknown visitors always see the consent dialog

Page Rules

Decide exactly where tracking runs on your site.

Include or Exclude Pages

Run tracking on all pages, only on selected pages, or on all except selected ones

Menu Items & Components

Select pages by Joomla menu item or by whole component, such as login or checkout

URL Patterns

Match page paths with * wildcards, for example /checkout/*

Never Track User Groups

Keep administrators or other user groups out of your statistics

Clean Excluded Pages

No tracking code and no consent dialog where tracking is switched off

Accessibility

WCAG 2.1 AA compliant for every visitor.

Keyboard Navigation

Full focus trap inside the consent dialog

Screen Reader Support

ARIA dialog role, aria-modal, and live regions

Reduced Motion

Respects prefers-reduced-motion for animations

Semantic HTML

Proper heading hierarchy, form labels, and descriptive aria-labels

Developer

Modern Joomla 4/5/6 architecture with no deprecated APIs.

Namespace-Based Plugin

SubscriberInterface event registration via getSubscribedEvents()

Dependency Injection

Clean DI through services/provider.php

WebAssetManager

All assets loaded via joomla.asset.json registry

Zero Runtime Dependencies

Everything runs on your server — no external calls

Multilingual

23 languages included (all EU/EEA languages that need consent banners); add any other with standard .ini files

Open Source

GPL v2 licensed and upgrade-safe

SIMPLE PRICING

Choose your growth plan

Get started with Smart Local Google Analytics today. Upgrade anytime as your needs grow.

Developer

€ 15 1-Year License
Open source
Lifetime software usage
Unlimited manual installation
1 year support & auto update per domain

Business

€ 25 2-Year License
Open source
Lifetime software usage
Unlimited manual installation
2 years support & auto update per domain

Agency

€ 35 3-Year License
Open source
Lifetime software usage
Unlimited manual installation
3 years support & auto update per domain
Instant Digital Delivery Download immediately
Secure Payment Powered by Paddle
Auto-Updates via Joomla Native Joomla updater
CRA Support Period Free for 5+ years
Used by Joomla Professionals Community trusted
SECURITY & COMPLIANCE

Built for the EU Cyber Resilience Act

Free security updates for at least 5 years from your purchase

Every customer — active or lapsed — can download security fixes from the Customer Portal throughout their support period, in line with the EU Cyber Resilience Act.

Stay Updated

Latest News

May 9, 2026

Introducing Smart Local Google Analytics for Joomla

Read more

Frequently Asked Questions

Getting Started

Enter your GA4 Measurement ID (starts with G-) or GTM container ID (starts with GTM-) in the plugin settings under the Basic tab. The plugin handles script injection, consent collection, and cookie management automatically.

Leave the tracking ID field empty and the plugin activates Legacy Mode. It detects existing GA/GTM scripts in your page output and blocks them until the visitor consents. No template editing required.

In the Content tab, use the "Privacy Policy Menu Item" dropdown to select any Joomla menu item. The consent dialog automatically displays a link to that page.

Yes. The Content tab lets you set a custom headline and message. These override the default language strings — no language file editing needed.

Privacy & Compliance

Yes. All tracking scripts are blocked until the visitor explicitly clicks "Accept." No cookies are set, no data is sent to Google, and no external scripts load until consent is given. The decline option is equally prominent.

The plugin downloads the GA/GTM JavaScript file to your server and serves it locally. This eliminates external requests to Google's CDN, meaning fewer third-party connections and faster page loads. The local copy refreshes automatically on a configurable schedule (default: 7 days).

The plugin reads the visitor's browser Accept-Language header to determine their likely region. If it matches an EU, EEA, or UK language, the consent dialog is shown. No external API calls, no IP geolocation — fully privacy-friendly.

Three options: Auto-agree loads analytics silently. Show consent displays the dialog like for EU visitors. Skip plugin disables it entirely. Default is auto-agree.

Yes, from version 6.1.0. In the Page Rules tab, set "Run Tracking On" to "On all pages except the selected ones" and select the pages by menu item, component, or URL pattern. Those pages load no tracking code and show no consent dialog. You can also track selected pages only, or never track chosen user groups.

Customization

Choose from 5 built-in themes or select "Custom" to unlock a full color picker. Set background, text, accept button, and decline button colors independently — for both light and dark mode.

Yes. Auto detects OS preference automatically. Force Light and Force Dark override visitor settings. Each built-in theme includes a dark palette, and the custom theme lets you define dark mode colors separately.

Choose from 4 positions — center modal, full-width bottom bar, bottom-right, or bottom-left. Each supports 4 entrance animations: fade in from top, bottom, left, or right.

Technical

Joomla 4.x, 5.x and 6.x with PHP 8.2 or higher. Uses modern plugin architecture: namespaced classes, SubscriberInterface, and WebAssetManager.

Cookie name slga-consent with value agree or decline. Set with HttpOnly, Secure, and SameSite=Lax flags. Lifetime is configurable: session-only or 1-365 days.

23 languages are included: English, German, French, Spanish, Italian, Portuguese, Romanian, Dutch, Swedish, Danish, Finnish, Norwegian, Estonian, Polish, Czech, Slovak, Hungarian, Slovenian, Croatian, Bulgarian, Greek, Latvian and Lithuanian. Joomla uses the one that matches your site language automatically. Every text can also be changed with a Joomla language override, and any other language can be added with standard .ini files.

Only when local script hosting is enabled — to download the GA/GTM JavaScript from Google's servers. This happens server-side, not in the visitor's browser. The file is cached locally and served from your domain. No other external calls of any kind.

All Extensions