GeoDaCenter/covid-v3

Replace Google Analytics with Plausible

mradamcox opened this issue · 1 comments

We need to remove all GA tags and add the plausible script:

<script defer data-domain="uscovidatlas.org" src="https://plausible.io/js/script.js"></script>

There are a handful of specific events that were tracked through the Universal Analytics tag in this file, which was removed along with the other Google Analytics tags:

https://github.com/GeoDaCenter/covid-v3/blob/8b0a6e41c5133f1cf87892a0c2ae88b22199597b/src/hooks/useTrackUserActions.js.

Ideally, we'd re-implement these, though they have been inactive since the update to GA4, which doesn't automatically support custom events that were set up in UA.