Commit Graph

2 Commits

Author SHA1 Message Date
popovskik be9df211a0 feat(consent): benefit-led banner copy + analytics-only consent
- Warmer, accurate trilingual cookie-banner text to lift voluntary
  opt-in (EN/MK/SI), keeping Accept and Decline equally one-click
  (GDPR-compliant, no dark patterns).
- grant() now grants analytics_storage only; advertising consent stays
  denied, matching what the banner discloses (MSOS runs no ads).
- Cache-bust bump so the updated consent.js is fetched.
  (Cookie-withdrawal link already present in footer via msosOpenConsent.)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-30 10:53:02 +02:00
popovskik f24fc704d6 Add GDPR cookie-consent banner (Consent Mode v2)
- consent.js: self-contained, non-blocking bottom banner in EN/MK/SI,
  remembers the choice in localStorage, links to the per-language cookie
  policy. Accept -> gtag consent 'update' granted; Decline stays denied.
- Head GA snippet restores a returning visitor's prior "granted" choice
  before the first hit; loads /consent.js on every page.
- Re-openable via window.msosOpenConsent() for a "manage cookies" link.

Verified in-browser: shows for new visitors, Accept grants + remembers,
reload keeps consent without re-prompting, Slovene text + /si/ policy link.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-02 18:30:35 +02:00