User analytics
How Cascade handles user analytics
Analytics tools of choice
Cascade uses Posthog for user analytics. Posthog is an open-source product analytics platform that allows you to track user interactions on your website.
For page analytics Plausible is used. Plausible is a lightweight and open-source website analytics tool. It doesn’t use cookies and is fully compliant with GDPR, CCPA and PECR.
How to set up Posthog
To set up Posthog, first you need to register and create a new project on the Posthog website.
Afer you have created a project, you will be given a API_KEY
and a HOst
which you will need to add to your .env
file:
Cascade connects registed users to Posthog events automatically so you could track user interactions in a fully aware way.
How to set up Plausible
To set up Plausible, first you need to register and create a new project on the Plausible website.
Afer you have created a project, you will be given a PLAUSIBLE_URL
which you will need to add to your .env
file. It is possible to self host plausbile so env var could look like following:
NEXT_PUBLIC_DEPLOYMENT_URL
is also needed for Plausible to work correctly.
If you are using SaaS version of Plausible just paste the URL you get from the dashboard into the above env var.