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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Add tracking with Google Analytics 4 #367

Merged
merged 3 commits into from
Jul 5, 2023
Merged

Conversation

ezwelty
Copy link
Collaborator

@ezwelty ezwelty commented Jul 4, 2023

Adds Google Analytics script tag. Time and testing will show whether this is sufficient to capture internal route changes (which Google claims are recorded, as the debugger seems to confirm).

If not, perhaps this can point the way: https://javascript.plainenglish.io/the-ultimate-guide-to-google-analytics-ua-ga4-on-react-or-anything-else-ec9dc84c0211

Closes #248.

@github-actions github-actions bot changed the title Add tracking with Google Analytics 4 馃殌 Add tracking with Google Analytics 4 Jul 4, 2023
@ezwelty ezwelty marked this pull request as ready for review July 5, 2023 06:37
@ezwelty ezwelty merged commit 47be0b6 into main Jul 5, 2023
4 checks passed
@ezwelty ezwelty deleted the add-google-analytics branch July 5, 2023 06:44
@ezwelty ezwelty restored the add-google-analytics branch July 5, 2023 20:17
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.

Add Google Analytics
1 participant