Skip to content

Add website analytics consent#605

Merged
akadlec merged 1 commit into
mainfrom
codex/marketing-cookie-consent
May 21, 2026
Merged

Add website analytics consent#605
akadlec merged 1 commit into
mainfrom
codex/marketing-cookie-consent

Conversation

@akadlec
Copy link
Copy Markdown
Contributor

@akadlec akadlec commented May 21, 2026

Summary

  • Replaces the always-on Umami script in the website layout with a consent-managed analytics component.
  • Loads the new Studio81 analytics script only after the visitor accepts optional analytics.
  • Adds a compact accept/decline EU cookie consent banner with storage-blocking guards.

Validation

  • pnpm --filter @fastybird/smart-panel-website run build
  • git diff --check
  • Browser check against the static export confirmed the banner appears, analytics is absent before consent, and accepting injects https://analytics.studio81.cz/script.js with the requested website ID.

@akadlec akadlec self-assigned this May 21, 2026
@akadlec akadlec marked this pull request as ready for review May 21, 2026 14:15
@akadlec akadlec changed the title [codex] Add website analytics consent Add website analytics consent May 21, 2026
@akadlec akadlec merged commit b461cdb into main May 21, 2026
11 checks passed
@akadlec akadlec deleted the codex/marketing-cookie-consent branch May 21, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant