Skip to content

Clarified on GA4 sessions tracking implementation #3943

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

Merged

Conversation

050phy
Copy link
Contributor

@050phy 050phy commented Dec 13, 2022

Proposed changes

Dividing the implementation information into 2 sub-headings:

  1. tracking purely server side and it's limitations (not all user dimensions are available)
  2. using gtag.js and GA4 destination (client & server-side).

Merge timing

No rush!

Related issues (optional)

Previous version implied that a pure server side implementation was not possible and you could only get sessions tracking/reports with gtag.js on the client side.

A Slack thread with Kiara (https://twilio.slack.com/archives/CQ1F92KUG/p1670813658588399) clarified that it is possible to do a pure server side implementation of GA4 with the caveat that the customer will not have all sessions data available in reports. The hope is that the proposed changes will make the differentiation clearer.

# Proposed Changes

Dividing the implementation information into 2 sub-headings: 
1) tracking purely server side and it's limitations (not all user dimensions are available) 
2) using gtag.js and GA4 destination (client & server-side).

# Merge timing
No rush!

# Related issues (optional)

Previous version implied that a pure server side implementation was not possible and you could only get sessions tracking/reports with gtag.js on the client side. A Slack thread with Kiara (https://twilio.slack.com/archives/CQ1F92KUG/p1670813658588399) clarified that it is possible to do a pure server side implementation of GA4 with the caveat that the customer will not have all sessions data available in reports. The hope is that the proposed changes will make the differentiation clearer.
@050phy 050phy requested a review from kdaswani as a code owner December 13, 2022 08:58
@kdaswani
Copy link
Contributor

This is awesome - very well written @050phy. Thank you! Looks good from my end. Will approve and let the docs team review grammar/style as well. Thanks again!

@stayseesong stayseesong added the content-update updates to content that are not new features, includes grammar fixes, added notes label Dec 14, 2022
@stayseesong stayseesong merged commit e7f13e6 into develop Dec 14, 2022
@stayseesong stayseesong deleted the 050phy-ga4-sessions-serverside-only-vs-with-clientside branch December 14, 2022 20:14
@github-actions
Copy link
Contributor

Thank you for your contribution! Your pull request is merged, but may take a day or two to appear on the site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content-update updates to content that are not new features, includes grammar fixes, added notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants