To prevent bad data, it should only load for actual users on production. Alternatively there could be a different GA property id for test/staging environments
I'm not really sure off the top of my head how to disable it in the index.html. I'd probably just move the gtag('config'... to a separate part of the app where you have access to env vars to see if it's production.
Ideally it'd ignore test/demo users for the isVolunteer and isAuthenticated dimensions (set in router.js), but that's probably not as necessary
Google Analytics is used here and here
To prevent bad data, it should only load for actual users on production. Alternatively there could be a different GA property id for test/staging environments
I'm not really sure off the top of my head how to disable it in the index.html. I'd probably just move the gtag('config'... to a separate part of the app where you have access to env vars to see if it's production.
Ideally it'd ignore test/demo users for the isVolunteer and isAuthenticated dimensions (set in router.js), but that's probably not as necessary