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

EES-4083 update to google analytics 4 #4006

Merged
merged 5 commits into from
Jun 19, 2023
Merged

EES-4083 update to google analytics 4 #4006

merged 5 commits into from
Jun 19, 2023

Conversation

amyb-hiveit
Copy link
Collaborator

@amyb-hiveit amyb-hiveit commented Apr 19, 2023

Updated to Google Analytics 4:

  • replaced react-ga with react-ga4
  • removed code to track outbound links as that should be done automatically with GA4
  • remove code to log exceptions as it wasn't used and react-ga4 doesn't support it
  • updated the CSP
  • updated the cookies page

Do not merge - we want to check this on Test before merging to dev.

Will need to update the tracking id for each environment as it's deployed.

@amyb-hiveit amyb-hiveit added the do not merge Don't merge just yet label Apr 19, 2023
Copy link
Contributor

@luke-h1 luke-h1 left a comment

Choose a reason for hiding this comment

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

Looks ok to me. Part of me wonders how the outbound links will show up in the GA console (just thinking how the messaging will differ i.e. how will Methodology page content link: ${url} show up now?). Suppose this can be checked via manual testing

@benoutram
Copy link
Collaborator

benoutram commented May 26, 2023

Updated branch with the latest from dev (x3).

@amyb-hiveit amyb-hiveit removed the do not merge Don't merge just yet label Jun 19, 2023
@amyb-hiveit amyb-hiveit merged commit ff49890 into dev Jun 19, 2023
@amyb-hiveit amyb-hiveit deleted the EES-4083 branch June 19, 2023 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants