BoilerplateHub

Best Analytics for SvelteKit SaaS in 2026

How do you know what users actually do? These 5 options list first-party SvelteKit support. Community ports are deliberately left out, because glue you maintain yourself is not the same as support.

SvelteKit moved fast enough that training data contains three incompatible generations of it: Sapper, SvelteKit 1.0, and SvelteKit 2 on Svelte 5. The single most useful thing an agent can know is which Svelte version the project runs and whether runes are enabled, because that decides the syntax of nearly every component it writes. It also needs the universal versus server-only load distinction, since that boundary is enforced by filename rather than by anything visible inside the file.

Quick picks

Best overall

PostHog

Funnels, retention and cohorts answer product questions page views never could.

Best free or open source

Plausible

Script is tiny, so it has no measurable effect on page speed scores.

Worth a look

Fathom Analytics

Unlimited websites on one subscription suits people running many small projects.

All 5 options

1. PostHog

Visit →

Product analytics with session replay, feature flags, experiments and surveys bundled into one open source platform.

Cost shape: Generous free monthly event allowance, then usage-based pricing per event, replay and flag request.

Strengths

  • Funnels, retention and cohorts answer product questions page views never could.
  • Session replay lets you watch the exact path a confused user took.
  • Feature flags and experiments share the same identity data as the analytics.

Tradeoffs

  • Full event tracking makes it a privacy and consent conversation, not a free pass.
  • The client library is heavy compared to a simple page-view script.
  • Breadth of features means real onboarding time before anyone gets value.

2. Plausible

Visit →

Lightweight, cookie-free web analytics that fits on one page and stays out of consent banner territory.

Cost shape: Paid subscription based on monthly page views, with no free tier beyond the trial.

Strengths

  • Script is tiny, so it has no measurable effect on page speed scores.
  • No cookies or personal data, which usually removes the consent banner requirement.
  • The entire dashboard fits one screen that a non-technical founder can read.

Tradeoffs

  • Aggregate only, so you can never inspect an individual user journey.
  • Custom events exist but the analysis depth stops well short of product analytics.
  • Paid from the beginning, unlike free ad-funded alternatives.

3. Fathom Analytics

Visit →

Privacy-first simple analytics with strong EU data isolation and a bypass for ad blockers via your own domain.

Cost shape: Paid monthly plans by page view volume, with unlimited sites included on every tier.

Strengths

  • Unlimited websites on one subscription suits people running many small projects.
  • Custom domain proxying recovers traffic that ad blockers would otherwise hide.
  • EU isolation option keeps European visitor data out of other jurisdictions.

Tradeoffs

  • Closed source, so you cannot audit or self-host the collection code.
  • Reporting stays deliberately shallow, with no funnels or cohort analysis.
  • Data export options are limited if you want your own warehouse copy.

4. Umami

Visit →

Open source privacy-focused analytics you can self-host on your own database, or use as a hosted service.

Cost shape: Free if you self-host on your own infrastructure, with a paid cloud plan by event volume.

Strengths

  • Self-hosting means the raw analytics data sits in a database you already run.
  • Stores into Postgres or MySQL, so you can query it with plain SQL.
  • No licence cost at all when you supply the hosting yourself.

Tradeoffs

  • Self-hosting means you own uptime, upgrades and database growth forever.
  • Analytics traffic writes to a database you must size and prune yourself.
  • Feature set trails commercial tools, especially around alerting and reporting.

5. Vercel Analytics

Visit →

Page-view and Core Web Vitals data collected by the host you are already deploying to, with no setup.

Cost shape: Included in limited form on Vercel plans, with additional event volume billed as usage.

Strengths

  • Enabling it is a toggle plus one component, with nothing else to configure.
  • Real user Core Web Vitals come from the same platform serving the pages.
  • Data appears next to deployments, so a regression is easy to attribute.

Tradeoffs

  • Only useful while you host on Vercel, so it cannot outlive that choice.
  • Reporting is basic next to any dedicated analytics product.
  • Event pricing on top of hosting makes it costly at real traffic volumes.

Pricing described qualitatively because published plans change often. Data checked 2026-08-23.

Side by side

Option Cost shape Main tradeoff
PostHog Generous free monthly event allowance, then usage-based pricing per event, replay and flag request. Full event tracking makes it a privacy and consent conversation, not a free pass.
Plausible Paid subscription based on monthly page views, with no free tier beyond the trial. Aggregate only, so you can never inspect an individual user journey.
Fathom Analytics Paid monthly plans by page view volume, with unlimited sites included on every tier. Closed source, so you cannot audit or self-host the collection code.
Umami Free if you self-host on your own infrastructure, with a paid cloud plan by event volume. Self-hosting means you own uptime, upgrades and database growth forever.
Vercel Analytics Included in limited form on Vercel plans, with additional event volume billed as usage. Only useful while you host on Vercel, so it cannot outlive that choice.

Frequently asked questions

What is the best analytics for SvelteKit?

PostHog is the safest default because it works across the widest range of projects: Product analytics with session replay, feature flags, experiments and surveys bundled into one open source platform. That said, Full event tracking makes it a privacy and consent conversation, not a free pass. If that matters to you, one of the others below is the better call.

Is there a free option for SvelteKit?

Plausible is the one to look at. Paid subscription based on monthly page views, with no free tier beyond the trial. The tradeoff: Aggregate only, so you can never inspect an individual user journey.

How many analytics options actually support SvelteKit?

5 of the options we track list first-party support for SvelteKit. We only count documented support, not community ports, so the real number is sometimes higher if you are willing to maintain the glue yourself.

Go deeper

Head to head

Other layers for SvelteKit

Same layer, other frameworks