Skip to content

feat: implement cookie consent logic to conditionally load Google Analytics and track events only after user opt-in - #26

Open
valentinsviridov wants to merge 2 commits into
GSiesto:mainfrom
valentinsviridov:feat/load-ga-after-cookie-consent-accepted
Open

feat: implement cookie consent logic to conditionally load Google Analytics and track events only after user opt-in#26
valentinsviridov wants to merge 2 commits into
GSiesto:mainfrom
valentinsviridov:feat/load-ga-after-cookie-consent-accepted

Conversation

@valentinsviridov

Copy link
Copy Markdown

Description

GA should be loaded only after cookie banner opt-in gets accepted.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

  • Playwright tests (using a fake "G-MEASUREMENT-ID" GA identifier).

…lytics and track events only after user opt-in

(cherry picked from commit ae275b5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant