Native Cookies components can be used to maintain consistent user identification between Edgee and the analytics platform’s JS SDK.

These components are particularly useful when you’re using both a client-side analytics JavaScript SDK and its Edgee component version simultaneously, as it ensures consistent user tracking across both implementations.

These components are only available for Google Analytics, Amplitude and Piano Analytics for now.

How It Works

When enabled, Edgee manages analytics cookies at the edge:

  1. For new visitors, Edgee generates unique identifiers and sets the appropriate cookies
  2. For returning visitors, Edgee reads the existing identifiers from cookies
  3. These identifiers are automatically included in all events sent to your analytics platforms

Be careful, with this feature, Edgee is able to unify user ID across JS SDK and Edgee’s component, but it’s not able to unify user sessions. Using this feature could lead to duplicate user sessions in your analytics platforms.

Configuration

You can control native cookie behavior through the compatible component settings with four modes:

Go to your project > Data Collection > Your component, then configure the Native Cookies mode

  • safe: Cookies are only set after user consent is explicitly granted (default)
  • strong: Cookies are set unless user explicitly denies consent
  • always: Cookies are set 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.

Supported Platforms

Native Cookies components are available for the following analytics platforms:

Each platform’s documentation includes specific details about their cookie implementation and configuration options.

Was this page helpful?