Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error when declining analytics cookies #165

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

matteason
Copy link
Contributor

The decline consent script was trying to push preferences to the Google tag in all cases, but this should only happen if they've previously granted consent for analytics - the GA dataLayer won't exist otherwise

@matteason matteason merged commit 6f98a16 into develop Nov 21, 2023
3 checks passed
@matteason matteason deleted the feature/fix-GA-decline-error branch November 21, 2023 17:19
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.

2 participants