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 integration with tag manager #115

Merged
merged 5 commits into from
Jan 30, 2024
Merged

Fix integration with tag manager #115

merged 5 commits into from
Jan 30, 2024

Conversation

roborourke
Copy link
Contributor

Since tag manager was removed with v17 in the analytics module this consent API integration has been broken because the inline script never got added.

It's fine to just enqueue all the time now, if there's no tag manager loaded on the page then it just won't do anything.

Since tag manager was removed with v17 in the analytics module this consent API integration has been broken because the inline script never got added.

It's fine to just enqueue all the time now, if there's no tag manager loaded on the page then it just won't do anything.
@roborourke
Copy link
Contributor Author

@rmccue @mikelittle Happy to update this PR to remove the integration altogether, but will need to update the upgrade guide and communicate it to everyone who has upgraded to v17 so far.

Copy link
Contributor

@mikelittle mikelittle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I think it makes sense to remove the direct dependency and document how they can interact instead.

@mikelittle mikelittle merged commit 5b495d0 into master Jan 30, 2024
2 checks passed
@mikelittle mikelittle deleted the fix-gtm-privacy branch January 30, 2024 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants