Analytics
Collect all the analytics you want and showcase them with PostHog
Internal Analytics
Create your account on PostHog
Get your API key in Settings > Personal API keys
Fill the the key in your
.env
file:
.env
Stats Showcasing
Showcasing your analytic stats allows your customers to be sure that your site has an interesting reach.
Create a Dashboard on PostHog (Website Metrics is fine to start with)
Click on the Share button on the top right corner
Check the "Share dashboard publicly" box
Copy the "Embed dashboard" code into your .env file:
.env
Your visitors have now access to your Analytics Dashboard with the newly added "Stats" link on the Navbar.
Last updated