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

List of all custom events, sorted by each step:

selection: track the selection of using map/manually enter.

state: track the selected state from the map.

region: track if the default region option has been updated.

tile drainage: track if tile drainage has been selected.

soil drainage: track if the soil drainage option has been updated.

seedName: track the selected seed name.

option: track the updated option from the scroller.

method: track the selected seeding method.

mixSeedingRate: track if the Mix Seeding Rate value has been updated.