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

Add support to GTM and GA4 for First-Party mode #818

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dja
Copy link

@dja dja commented Mar 19, 2025

What does this PR do?
This allows for using Google's First-party mode, to load Google scripts from your own server through server-side tagging.

Are there breaking changes in this PR?
No

Testing

Any background context you want to provide?
This capability helps ensure that Google Tag Manager domain and script loading is not impeded by browsers, and Segment users can setup the First-party mode to support this.

Is there parity with the server-side/android/iOS integration components (if applicable)?
N/A

Does this require a new integration setting? If so, please explain how the new setting works

  • Yes, in the Google Analytics 4 Web and Google Tag Manager destinations, the new setting is domain, which defaults to www.googletagmanager.com

Links to helpful docs and other external resources

https://developers.google.com/tag-platform/tag-manager/server-side/dependency-serving?tag=gtag

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