cookies-analytics

Community

DSGVO-compliant GA4 with consent banner.

Authordeomiarn
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enables GDPR-compliant analytics by delaying GA4 loading until user consent, and provides a consent banner with clear options.

Core Features & Use Cases

  • Consent Banner: Simple UI for essential vs. all-consent choices.
  • GDPR Compliance: GA4 only loads after consent is granted.
  • Underlying Setup: Environment variable for GA ID and dynamic script injection.
  • Data Policy: Documented in Datenschutz with consent references.

Quick Start

Add the cookie-consent component to your layout and wire GA loading to the user’s consent state.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cookies-analytics
Download link: https://github.com/deomiarn/website-template/archive/main.zip#cookies-analytics

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository