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

Smart Local Google Analytics

Running Google Analytics without proper consent management puts your site at legal risk. Most consent solutions are bloated or rely on third-party services that introduce their own privacy concerns. Smart Local Google Analytics is a lightweight, self-hosted alternative built for Joomla.

Enter your GA4 or GTM tracking ID and the plugin handles everything: it blocks all tracking until your visitor consents, serves a beautiful consent dialog, and injects analytics code only after acceptance. Local script hosting, smart geo-detection, dark mode, WCAG 2.1 AA accessibility, and five color themes — all with zero external dependencies.

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

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 6.x 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

en-GB and de-DE included; add any language with .ini files

Open Source

GPL v2 license or later and upgrade-safe

SIMPLE PRICING

Choose your growth plan

Start managing your inventory smarter today. Upgrade anytime as your business grows.

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
Save 17%
Open source
Lifetime software usage
Unlimited manual installation
2 years support & auto update per domain

Agency

35 3-Year License
Save 22%
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

Smart Local Google Analytics lets you run Google Analytics from your own server — faster page loads, no ad blocker issues, and full GDPR compliance for your Joomla site.

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.

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.

English (en-GB) and German (de-DE). Add any language by creating .ini files in the language folder following Joomla's standard translation format.

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