Skip to content

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

@foreignbyproxy
Copy link

Hey there. Super interested in this change. What needs to happen to get this across the line?

@@ -0,0 +1,34 @@
'use strict';

Choose a reason for hiding this comment

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

Hi @dja what's the point of this new file? There's no tests in here. Was it added by accident?

@joe-ayoub-segment joe-ayoub-segment self-assigned this Sep 11, 2025
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.

3 participants