Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

DWEB-14#29

Open
vjnathe-webonise wants to merge 59 commits intomasterfrom
DWEB-14
Open

DWEB-14#29
vjnathe-webonise wants to merge 59 commits intomasterfrom
DWEB-14

Conversation

@vjnathe-webonise
Copy link

What does this PR do?
GTAG destination

Are there breaking changes in this PR?
No.

Any background context you want to provide?
Customers will be able to use Segment to easily send
data to the Google ecosystem, using Google’s
preferred method—gtag.

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

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

Links to helpful docs and other external resources
https://developers.google.com/gtagjs

Copy link

@gpsamson gpsamson left a comment

Choose a reason for hiding this comment

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

Awesome start overall, especially on the Enhanced Ecommerce stuff! 😄I have left some minor comments around styling and gtag.js calls which don't exactly match the documentation made available by Google.

More importantly, I have highlighted places where this integration does not maintain parity with the Google Analytics integration that exists today. It is my understanding that it is not clear what pre-existing functionality and settings should be essentially copied over to this Gtag integration. With that in mind, I'm going to do a deeper dive into a parity comparison and follow up with more specific functionality and settings which should/should not be copied over.

cc @briemcnally

Copy link

@gpsamson gpsamson left a comment

Choose a reason for hiding this comment

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

Hey team, just looping back to let you know that there are two tickets remaining (DWEB-45, DWEB-46) before we feel that this can be merged in and released as beta. 😄

@vjnathe-webonise
Copy link
Author

@gpsamson yes, will be working on them.

@gpsamson
Copy link

@gpsamson yes, will be working on them.

Awesome, thank you so much!

gaSetting.site_speed_sample_rate = gaOptions.siteSpeedSampleRate;
}

if (gaOptions.useGoogleAmpClientId) {
Copy link

@briemcnally briemcnally Apr 1, 2020

Choose a reason for hiding this comment

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

Do you have a reference that use_amp_client_id is the right parameter? Can you provide a link to docs as well?

Copy link
Author

Choose a reason for hiding this comment

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

Copy link

@briemcnally briemcnally left a comment

Choose a reason for hiding this comment

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

Looks great! Just left a few minor comments @vjnathe-webonise but otherwise looks good. Will await @gpsamson to also do a final review 😄 👍

@vjnathe-webonise
Copy link
Author

@briemcnally resolved the PR comments, let me know if any other input.

Copy link

@gpsamson gpsamson left a comment

Choose a reason for hiding this comment

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

Nice work! The new changes look OK on my end.

Copy link

@briemcnally briemcnally left a comment

Choose a reason for hiding this comment

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

LGTM! Nice work!

@vjnathe-webonise
Copy link
Author

@briemcnally @gpsamson Raised the PR against base repo:
segmentio#449
CC: @thurisaz @ameyawebonise

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants