311-data
311-data copied to clipboard
Configure Google Analytics platform for 311-Data to gather user interaction data
Overview
We need to be able to gather Google Analytics (GA) metrics on user interaction with the 311 Data site and eventually be able to set up specific watch tags on certain UI elements
Action Items
- [ ] attempt to log into GA using
[email protected]
(the site just requires gmail login)- [ ] determine if
UA-166263401-1
belongs to our profile - [ ] determine if
OPT-WHKV393
belongs to our profile - [ ] if neither were present or valid, generate a new ID to become associated with our site FOR 311-data.org, and https://hackforla.github.io/311-data/#/map
- [ ] determine if
- [ ] confirm we have a basic GA dashboard
- [ ] write a dev ticket to enable the GA using a valid ID (either an ID from above, or a newly generated ID)
Resources/Instructions
- GA platform main page
- GA Snippet (disabled in the code, as of today) ...
<!-- Google Analytics -->
<!-- <script async src="https://www.googletagmanager.com/gtag/js?id=UA-166263401-1"></script>
<script>
const devHostname = window.location.hostname === 'localhost' || window.location.hostname === '0.0.0.0';
window['ga-disable-UA-166263401-1'] = devHostname;
window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-166263401-1');
</script>
<script src="https://www.googleoptimize.com/optimize.js?id=OPT-WHKV393"></script> -->
Based on previously closed tickets, the team was intending to use a Hotjar integration for Google Analytics and Mixpanel. See list of relevant closed tickets here.
@annaseulgi @bberhane I'm finding that we have tickets for implementing hotjar into our map and content pages -- although I can ask @edwinjue if these are effectively being used. I will add this to the agenda for PMs for our weekly meeting.
@ryanfchase Do we have an update on current analytics capabilities?
@bberhane We actually have some boilerplate setup to use google analytics and hotjar. I don't think we'd need the GA data for our Usability Testing, but we'll still want it moving forward. I think the ticket still stands, but it should be refined based on some basic requirements that Bonnie suggests.
I say we add it to the following agenda so Bonnie can help us determine how to structure this ticket.
@ryanfchase will add this to the PM meeting agenda for next week