Migration to GA4 - 3863#4904
Conversation
Final switches locations so Google tag precedes Google tag manager, and both UA and GA4 tags are retained.
Final retains UA and adds GA4 tags
- Places Google tag before Google Tag Manager - Adds comments identifying the gtag - Add new GA4 gtag config after UA config
Adds new GA4 config after existing UA config
|
Want to review this pull request? Take a look at this documentation for a step by step guide! From your project repository, check out a new branch and test the changes. |
Revised to switch order of 'Google Site Tag' and 'Google Tag Manager' - no other changes
This changes adds comments to highlight 'Google Site Tag', and reformats for readability- no changes otherwise
|
@t-will-gillis so are you suggesting we don't merge this PR and close it? Or do you want to wait longer before deciding? |
added closing </script> line 3
removed trailing whitespaces at gtag
|
@ExperimentsInHonesty I believe we should merge this PR. The main change is to switch the locations of the "gtag.js" and "Google Tag Manager" in
The other, minor changes are adding comments and reformatting the code snippets for easier reading. |
|
Hi @t-will-gillis I apologize for the delay. My only request is that under "What changes did you make?", could you edit the 4th bullet point, about adding the GA4 property in config, since that change was not in the final commit? |
|
Hi @roslynwythe - thanks for the comments! I edited the 4th bullet point as you suggested. |
roslynwythe
left a comment
There was a problem hiding this comment.
Thank you @t-will-gillis for your research and documentation re: the GA4 migration, and updates to the head and redirect pages. All of us at Hack for LA learn so much from your contributions.
Fixes #3863
NOTE: To be reviewed only by Product Manager.
What changes did you make?
Google tag (gtag.js)property has been placed aboveGoogle Tag Manageras recommended by Google.Google tag (gtag.js)has been identified and reformatted for easier reading.Google Tag Managerhas not been changed- Google indicates that ifGoogle Tag Manageris already setup it can continue to be used without changes.Why did you make the changes (we will use this info to test)?
Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)
No visual changes to website.
Post migration, will need to monitor Google Analytics to confirm data is being collected as previously.
Data should be available until the end of the year, but will save remaining data.