🌟 @plausible added custom event goals to its privacy-respecting Google Analytics alternative.

Here is how I now track 404 errors:

1. Set up a "404" goal per docs.plausible.io/custom-event

2. Add this code to 404 page: `plausible("404",{ props: { path: document.location.pathname } });`

· Web · 1 · 0 · 1
Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml