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

Cookie Settings

The Cookie Settings tab controls how long the visitor's consent decision is remembered.

Cookie Settings tab

Option Behavior
Session The consent cookie expires when the browser is closed. Visitors will see the consent dialog again on their next visit. (default)
Days The consent cookie persists for a configurable number of days.

Storage Duration (Days)

Setting Details
Field Storage Duration (days)
Type Number
Default 7
Range 1–365
Visible when Cookie Lifetime is set to Days

Sets how many days the consent decision is stored. After this period, the cookie expires and the visitor will see the consent dialog again.

Common values:

Days Use Case
7 Re-ask weekly — cautious approach
30 Monthly — balanced approach
90 Quarterly — reduced friction
365 Annual — minimum interruption

Technical Details

The consent cookie has the following properties:

Property Value
Name slga-consent
Possible values agree or decline
HttpOnly Yes — the cookie is not readable by JavaScript
Secure Yes, when your site forces HTTPS
SameSite Lax
Path Uses Joomla's configured cookie path (default: /)
Domain Uses Joomla's configured cookie domain
  1. The visitor clicks Accept or Decline in the consent dialog
  2. The form submits a POST request to the current page with the value agree or decline
  3. The plugin validates the CSRF token to prevent tampering
  4. If valid, the consent cookie is set with the configured lifetime
  5. The page reloads with the consent decision applied

Visitors can revoke their consent by clearing their browser cookies. There is no built-in "revoke consent" button — the consent dialog will reappear once the cookie is deleted or expires.

All Extensions