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

Complete Google Analytics integration #19

Open
1 task
abhinavpappu opened this issue Dec 2, 2020 · 0 comments
Open
1 task

Complete Google Analytics integration #19

abhinavpappu opened this issue Dec 2, 2020 · 0 comments
Assignees

Comments

@abhinavpappu
Copy link
Member

Limited support for Google Analytics has already been added in order to track document accesses. Currently it only records pageviews when the user visits a static document such as https://hackillinois.org/sponsor. The code added to enable that can be seen here: HackIllinois/site@77e5707.

The main thing that needs to be added is:

  • Page tracking for all pages (ideally this should be integrated with React Router so that we don't have to modify every page component)

Another thing we may want is tracking mobile sign ins (so this would be in the Auth component and we would probably want to create a Google Analytics event with "android" or "ios").

And feel free to add anything else that might be useful to track.

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

No branches or pull requests

2 participants