fix(Analytics): Enable cookies when consented
What
Enable cookie tracking on GitLab Analytics if user consents.
Why
Cookie tracking is disabled unless hasCookieConsent
is set to true
. SDK documentation:
To use cookies to identify unique users and record their full IP address. This is set to
false
by default. Whenfalse
, users will be considered anonymous users. No cookies or other storage mechanisms will be used to identify users.
Without cookies snowplow cannot identify unique users and the Audience dashboard will continue to report bad user numbers.
Edited by Jiaan Louw