Web analytics enables you to easily track and monitor many of the most important metrics for your website.
Unlike product analytics, web analytics offers a more streamlined and focused experience. This is especially useful for marketers, content creators, or anyone used to tools like Google Analytics. It includes a dashboard that offers essential metrics, such as visitors, views, sessions, session duration, bounce rate, paths, referrers, and more.
Get started with web analytics
Getting started is a simple three-step process.
1. Install PostHog on your website
2. Enable the web analytics beta
In PostHog, click your profile icon in the top right and then click "Feature preview." In the feature preview modal, enable "Web Analytics Dashboard"
3. Go to the web analytics dashboard
Now, you can click the newly added web analytics tab to go to the dashboard.
Filtering your dashboard
Like other dashboards in PostHog, the web analytics dashboard is filterable. This means you can filter for data with certain event or person property values. Options include browser, path name, device type, country, and UTMs. Just click the "Add filter" button next to the date range at the top of the dashboard.
This enables you to dive into specific stats for regions, parts of the site, and specific marketing campaigns.
For more complex queries, you can still use the product analytics tab as usual.