Analytics
Introduction:
We use Pirsch Analytics to help us understand how our website is being used. Pirsch is a privacy-friendly tool that tracks things like page views and site interactions, but without collecting any personal information.
Pirsch Analytics includes basic pages tracking through the website, besides that, we've set up several custom events. These custom events help us see how specific features are being used, like button clicks, option selection, or navigating through particular sections of the site.
How to setup custom events for Pirsch:
In src/shared/utils/analytics
, there’s a function pirschAnalytics()
which is used to create events to pirsch, the param
should refer to the type of the event (usually page title) and meta
refers to any information for the event.
Check all events in the Pirsch dashboard, if you don’t have access, contact @Mikah Pinegar or @Jingtong Xu to gain access.
Here’s a link to setup testing locally for development, these should be only used in development, and should not be pushed to the prod: Testing Pirsch Locally