Skip to content

Self-hosted alternatives to Google Analytics

Google Analytics is Google's web and app analytics service that reports on traffic, user behavior and conversions across sites and apps. Three 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 Google 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
  • Edgemetry demo overview with visitor metrics, a 30-day chart, top pages, referrers and custom events

    Cookie-free web analytics for your own sites, built on one Worker and one D1 database sized for the free tier

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

Google Analytics features, app by app

FeatureInsightFlareTraksEdgemetry
Real-time reportingYesYesYes
Acquisition reports for traffic sources and campaignsYesYesYes
Pages and screens reportYesYesYes
Events and conversion trackingYesYesPartly
Funnel, path and cohort explorationsYesPartlyNo
Ecommerce and monetization reportsNoNoNo
Audiences and user segmentsPartlyPartlyPartly
Google Ads and Search Console integrationNoNoNo

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

What a Google Analytics user would miss
It has no ecommerce reports, no Google Ads or Search Console link, and no audiences that feed ad tools.
What it adds
It adds bot request observation, web performance metrics, public dashboards and an agent skill for querying the data.
  • Yes Real-time reporting. Real-time visitors, sessions and events.
  • Yes Acquisition reports for traffic sources and campaigns. Referrer, channel and UTM campaign reports.
  • Yes Pages and screens report. Pages report plus overview bounce rate and average duration.
  • Yes Events and conversion tracking. Goals and custom events with JSON properties.
  • Yes Funnel, path and cohort explorations. Funnels and retention cohorts, plus visitor and session journeys.
  • No Ecommerce and monetization reports. No ecommerce or revenue reports found.
  • Partly Audiences and user segments. Saved filters; no audiences that feed ad tools.
  • No Google Ads and Search Console integration. No Google integrations.

Sources:github.com/ravelloh/insightflare#readmegithub.com/RavelloH/InsightFlare/blob/main/docs/openapi.yamlgithub.com/RavelloH/InsightFlare/blob/main/src/lib/edge/collector/bot-protection.ts

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

What a Google Analytics user would miss
It has no path or cohort reports, ecommerce reports, saved audiences or Google Ads and Search Console links.
What it adds
It accepts Plausible tracker requests, separates bot and AI agent traffic from human visits, and exposes an MCP server.
  • Yes Real-time reporting. Live visitors, pages, referrers and a city-level map over a WebSocket.
  • Yes Acquisition reports for traffic sources and campaigns. Referrers and UTM source, medium and campaign.
  • Yes Pages and screens report. Top pages plus overall bounce rate and visit duration.
  • Yes Events and conversion tracking. Goals and custom events with properties.
  • Partly Funnel, path and cohort explorations. Funnels with sessions lost per step; no path or cohort reports.
  • No Ecommerce and monetization reports. No ecommerce or revenue reports found.
  • Partly Audiences and user segments. Filters on dimensions; no saved audiences.
  • No Google Ads and Search Console integration. No Google integrations.

Sources:github.com/shivamanupadi/traks#readmegithub.com/shivamanupadi/traks/blob/main/CHANGELOG.mdgithub.com/shivamanupadi/traks/blob/main/apps/platform/collect/src/lib/plausible.ts

Cookie-free web analytics for your own sites, built on one Worker and one D1 database sized for the free tier

What a Google Analytics user would miss
It has no funnels, conversion setup, ecommerce reports, saved audiences or Google Ads and Search Console links.
What it adds
It uses no cookies, keeps daily rollups indefinitely, and its README sizes it for the Workers free tier up to about 20,000 visits a day.
  • Yes Real-time reporting. Live counter, last 30 minutes by minute and a feed of current pages.
  • Yes Acquisition reports for traffic sources and campaigns. Referrer and UTM breakdowns with previous-period comparison.
  • Yes Pages and screens report. Page, entry page and exit page rankings, plus bounce rate, views per visit and average time overall.
  • Partly Events and conversion tracking. Named custom events and an Events tab; no properties or conversion setup.
  • No Funnel, path and cohort explorations. No funnel, path or cohort reports.
  • No Ecommerce and monetization reports. No ecommerce or revenue reports.
  • Partly Audiences and user segments. Stackable filters on any row; no saved segments or audiences.
  • No Google Ads and Search Console integration. No Google integrations.

Sources:github.com/hayaran/edgemetry#readmegithub.com/hayaran/Edgemetry/blob/main/src/index.tsgithub.com/hayaran/Edgemetry/blob/main/src/tracker.ts