Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Migrate to Google Analytics 4 (GA4) #92

Closed
3 tasks done
chalin opened this issue Nov 8, 2022 · 2 comments
Closed
3 tasks done

Migrate to Google Analytics 4 (GA4) #92

chalin opened this issue Nov 8, 2022 · 2 comments

Comments

@chalin
Copy link
Contributor

chalin commented Nov 8, 2022

This issue is part of a CNCF-wide effort to upgrade project websites to GA4 since Google has deprecated Universal Analytics (UA). For more details, see:

Tasks

  • From the website data stream (G-60C6Q1ETC1),
    configure cross-domain measurement for the blog.dapr.io domain
  • Switch to using the GA4 website ID via gtag.js via head-end hook, since Docsy is too old -
    Use Google Analytics 4 ID #93
  • Confirm that the GA4 site tag is receiving events -- tagassistant.google.com was used to confirm
  • Connect UA-58468480-2 from GA4 stream
  • Confirm that the UA site tag, UA-58468480-2, is still receiving events

Followup

Notes:

/cc @caniszczyk @nate-double-u


Current website analytics info: UA-149338238-2 registered via old analytics.js library:

<script type="application/javascript">...
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-149338238-2', 'auto'); ...
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>
@chalin
Copy link
Contributor Author

chalin commented Dec 14, 2022

As is mentioned in the opening comment, UA ID was registered using the analytics.js library, so there is no point in attempting to connect it from the GA4 stream.

@chalin
Copy link
Contributor Author

chalin commented Dec 14, 2022

All done here!

@chalin chalin closed this as completed Dec 14, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant