Skip to main content

One post tagged with "analytics"

View All Tags

Integrating PostHog product analytics with Docusaurus v2 on GitHub Pages

ยท 4 min read
Evan Tay
Software Engineer at Padlet

I integrated PostHog analytics into this website today. I decided to do so after reading Gergely Orosz's Stats page on his blog The Pragmatic Engineer. He had installed Plausible analytics and made his analytics dashboard public. I thought that was cool and wanted to do the same.

I managed to find a Plausible plugin for Docusaurus v2, which is what this website runs on. But I decided to use PostHog instead. It also has a Docusaurus plugin and a public dashboard feature. I decided so because it is free and Plausible isn't.