Component Registry Create your component

Discover and integrate high-quality WebAssembly components to elevate your Edgee projects.

Learn more about the component registry in our documentation.

GA4 Native Cookies

GA4 Native Cookies

0.1.0

Google Analytics uses a client ID cookie (_ga) to track users across sessions. With GA4 Native Cookies component, this cookie can be managed directly at the edge.

You can configure the mode to determine when the Google Analytics client ID cookie is set:

  • safe: Only set cookie after user grants consent (default)
  • strong: Set cookie unless user explicitly denies consent
  • always: Set cookie regardless of consent status

Using strong or always modes may not comply with privacy regulations in your jurisdiction (such as GDPR, CCPA, or other applicable laws). By enabling these modes, you assume full responsibility for:

  • Ensuring compliance with all applicable privacy laws and regulations
  • Obtaining and managing necessary user consents
  • Implementing appropriate privacy notices and policies
  • Any legal consequences resulting from non-compliant cookie usage

Edgee provides these features as technical capabilities only. We strongly recommend consulting with your legal team or privacy experts before implementing these modes.