Features
The full feature list, grouped by area. Linked words open the in-depth guide.
- Consent management
- All Google tracking is blocked until the visitor makes an explicit choice
- No scripts load, no cookies are set and no data leaves your server until the visitor clicks Accept
- Exception, if you turn on geo-detection: visitors outside your consent regions are auto-accepted by default, and you can change this
- Accept/decline dialog with clear, customizable messaging
- CSRF-protected form submission prevents replay attacks
- Secure cookies with HttpOnly, Secure and SameSite flags
- Consent state remembered across visits through a configurable cookie lifetime
- All Google tracking is blocked until the visitor makes an explicit choice
- GA4 and GTM support
- Google Analytics 4 Measurement IDs (
G-XXXXXXXXXX) and Google Tag Manager containers (GTM-XXXXXXX) - Managed mode: enter your tracking ID and the plugin injects the correct script automatically after consent
- Legacy mode: auto-detects existing GA/GTM scripts already in your template and blocks them until consent is given, with no code changes needed
- Google Analytics 4 Measurement IDs (
- Local script hosting
- Downloads Google's tracking JavaScript to your own server instead of loading it from Google's CDN
- Better privacy, faster page loads and fewer external requests
- Configurable refresh interval to keep the local copy up to date
- Automatic cache management
- Works with both GA4 and GTM scripts
- Downloads Google's tracking JavaScript to your own server instead of loading it from Google's CDN
- Themes and custom colors
- Five built-in color themes designed to blend with any site
- Clean: light and minimal
- Midnight: deep dark blue
- Forest: natural green tones
- Slate: neutral gray palette
- Warm: soft earth tones
- Custom color mode with 12 individually configurable color fields
- Background, text, button, hover, border and overlay colors
- Set independently for light and dark mode
- Five built-in color themes designed to blend with any site
- Dark mode
- Automatic OS-level detection through
prefers-color-scheme, so the dialog matches the visitor's system preference - Force light or force dark, regardless of the visitor's setting
- Separate dark mode color customization for custom themes
- Automatic OS-level detection through
- Positions
- Center modal: overlay dialog centered on screen
- Bottom bar: full-width bar fixed to the bottom
- Bottom-right: compact box in the lower-right corner
- Bottom-left: compact box in the lower-left corner
- All positions are fully responsive and adapt to mobile screens
- Animations
- Smooth entrance animations: fade in down, fade in up, fade in left and fade in right
- Automatic respect for motion preferences: with
prefers-reduced-motionenabled, the dialog appears instantly without animation
- Geo-detection
- Shows the consent dialog only to visitors who need it
- Uses the browser's
Accept-Languageheader to detect EU/EEA/UK languages- No external API calls, no latency and no third-party dependencies
- Configurable behavior for non-EU visitors: show consent, auto-accept or skip entirely
- Covers the main languages of EU member states, EEA countries and the UK; it detects language, not location
- Page rules
- Keep Google Analytics off your checkout, login or legal pages, or run it on a few selected pages only
- Run tracking on all pages, only on selected pages, or on all pages except selected ones
- Select pages by menu item, component, or URL pattern with
*wildcards - Never track chosen user groups, such as your own administrators
- Pages without tracking load no tracking code and show no consent dialog
- Accessibility (WCAG 2.1 AA)
- The consent dialog meets WCAG 2.1 AA standards out of the box
- Focus trap keeps keyboard navigation inside the dialog while it is open
- Full keyboard navigation (Tab, Shift+Tab, Enter, Space); Escape moves focus to the close button
- Screen reader support with proper ARIA roles, labels and live regions
- Reduced motion support: animations are disabled when the OS preference is set
- Sufficient color contrast across all built-in themes
- Security
- Privacy-first design with multiple layers of protection
- Cookie flags
- HttpOnly: not accessible through JavaScript, preventing XSS-based cookie theft
- Secure: when Force HTTPS is set to Entire Site, cookies are only sent over HTTPS connections
- SameSite=Lax: the cookie is not sent with cross-site requests, preventing CSRF through third-party sites
- CSRF tokens: form submissions are validated with Joomla's token system
- Input escaping: all user-configurable text is properly escaped before rendering
- Cookie control
- Session mode: consent expires when the browser closes
- Days mode: set any value from 1 to 365 days
- Customizable content
- Custom icon, with any icon class supported
- Custom headline text
- Custom consent message body
- Privacy policy page link with configurable link text
- Demo mode
- Showcase the consent banner on a demo site without any real tracking
- The banner always appears
- No cookies are set and no analytics scripts load
- A visible "Demo" badge makes it clear that this is a demonstration
- Restrict the demo to a single page with the menu item selector
- Showcase the consent banner on a demo site without any real tracking
- Multilingual
- Ships with 23 languages: English, German, French, Spanish, Italian, Portuguese, Romanian, Dutch, Swedish, Danish, Finnish, Norwegian, Estonian, Polish, Czech, Slovak, Hungarian, Slovenian, Croatian, Bulgarian, Greek, Latvian and Lithuanian
- Add any language by creating a standard Joomla
.inilanguage file - Every string in the plugin is translatable
- Joomla integration
- Built on modern Joomla 4/5/6 architecture with no deprecated APIs
- WebAssetManager: all CSS and JavaScript loaded through Joomla's asset pipeline
- Dependency injection: service provider with constructor injection through
services/provider.php - SubscriberInterface: events registered through
getSubscribedEvents(), not legacy magic methods - Namespace:
Joomla\Plugin\System\SmartLocalGoogleAnalytics\Extension