Skip to content
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

Update Google Analytics to support GA4 (By July 2023) #1371

Closed
jonespm opened this issue Apr 20, 2022 · 1 comment · Fixed by #1496
Closed

Update Google Analytics to support GA4 (By July 2023) #1371

jonespm opened this issue Apr 20, 2022 · 1 comment · Fixed by #1496
Assignees

Comments

@jonespm
Copy link
Member

jonespm commented Apr 20, 2022

I saw a notification today that Google analytics team is sunsetting current version Universal Analytics and it is replacing with Google analytics 4. I think we are using a react-ga library which is still support Universal analytics.

At some point i believe this library will update as well. I don't know what is difference between existing and new one. It looks like we need to configure this GA4 from our GA console as well. I think there may be some work from that in future

Here is the the current possible replacement package:
https://github.com/PriceRunner/react-ga4

Originally posted by @pushyamig in #1363 (comment)

@jonespm jonespm added this to To do in MyLA-2023.01.02 via automation Mar 1, 2023
ssciolla added a commit that referenced this issue Mar 14, 2023
* Make changes to shift to Google Analytics 4

* Add googletagmanager.com to script-src in sample HJSON file

* Add googletagmanager.com to img-src in example HJSON file

* Add CSP nonce?

* Remove unsafe-inline from sample config

* Add cookieFlags; add back unsafe-inline for PyLTI; specify domains in CSP from Google docs

* Use strict inequality

* Add self to connect-src
MyLA-2023.01.02 automation moved this from To do to Review/QA Mar 14, 2023
@jennlove-um
Copy link
Contributor

This looks good in test - I like the new analytics reports!

@jennlove-um jennlove-um moved this from Review/QA to Done in MyLA-2023.01.02 Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants