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.

To know more about the native cookie support, please refer to the Native Cookies documentation.

Configuration

In your component settings, configure the mode:

Go to your project > Data Collection > Your Ga4 Native Cookies component

The setting determines 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.