Skip to content

Self-hosted alternatives to PostHog Web Analytics

PostHog Web Analytics is the website traffic dashboard inside PostHog, a hosted product analytics platform. Two listed apps do its main job and run in your own Cloudflare account.

Each answer comes from the app’s README and source code, compared with the features PostHog Web Analytics describes on its own site.

  • InsightFlare site overview with views, visitors, sessions, bounce rate, a 30-day trend and top pages and sources

    Cookie-free web analytics with funnels, UTM reports and real-time visitors, hosted in your own Cloudflare account

    Deploy
    One-click
    License
    MIT
    GitHub stars
    539 stars
    Last commit
  • Traks site dashboard with visitors, pageviews, bounce rate, a 30-day visitor chart and top pages

    Cookie-free website analytics with live visitors and history in R2, installed into your account by a web wizard

    Deploy
    One-click
    License
    MIT
    GitHub stars
    161 stars
    Last commit

PostHog Web Analytics features, app by app

FeatureInsightFlareTraks
Dashboard: visitors, sessions, bounce, pagesYesYes
Channels, referrers and UTM sourcesYesYes
Live trafficYesYes
Conversion goalsYesYes
Bot and AI traffic classificationYesYes
Weekly email digestsYesNo
Session replayNoNo
HeatmapsNoNo

Cookie-free web analytics with funnels, UTM reports and real-time visitors, hosted in your own Cloudflare account

What a PostHog Web Analytics user would miss
It has no session replay or heatmaps; detailed data is kept for one year unless you add an R2 archive bucket.
What it adds
Data stays in your Cloudflare account, and it adds bot request observation.
  • Yes Dashboard: visitors, sessions, bounce, pages. Visitors, pageviews, sessions, bounce rate, average duration.
  • Yes Channels, referrers and UTM sources. Referrer, channel and UTM reports.
  • Yes Live traffic. Real-time visitors, sessions, events.
  • Yes Conversion goals. Goals reports.
  • Yes Bot and AI traffic classification. Bot classification and observation.
  • Yes Weekly email digests. Scheduled email notifications via Resend.
  • No Session replay. No session replay found.
  • No Heatmaps. No heatmaps found.

Sources:github.com/RavelloH/InsightFlare/blob/main/.github/readme/README.en.md

Cookie-free website analytics with live visitors and history in R2, installed into your account by a web wizard

What a PostHog Web Analytics user would miss
It has no email digests, session replay or heatmaps; it needs Workers Paid and uses Pipelines and R2 SQL, which its README calls open beta.
What it adds
Data stays in your Cloudflare account, and history is kept in R2.
  • Yes Dashboard: visitors, sessions, bounce, pages. Visitors, pageviews, bounce rate, average visit duration.
  • Yes Channels, referrers and UTM sources. Referrers, UTM fields and an AI sources tab.
  • Yes Live traffic. Live visitors, pages and a city map.
  • Yes Conversion goals. Goal conversion scorecards.
  • Yes Bot and AI traffic classification. Bots filtered; AI agents classified.
  • No Weekly email digests. The instance sends no email.
  • No Session replay. No session replay found.
  • No Heatmaps. No heatmaps found.

Sources:github.com/shivamanupadi/traks#readme