Analytics
Collect the basic analytics with a privacy focused analytics tool
Pirsch
Setup
Create a new site on Pirsch
Set the data-code in the Pirsch script tag in
layout.ts
Safe routing
Some browsers and ad-blockers might block the requests to the Pirsch javascript file.
To avoid that, Shipped includes a rewrite rule in next.config.js
This rule is already included, so no action from you is required.
Extra
Pirsch allows you to track specific events on the page. See the documentation.
SimpleAnalytics
SimpleAnalytics is another popular analytics product.
To enable add this code to the layout.ts
file
Then update next.config.js
Last updated