Light as web analytics.Deep as product analytics.
A script under 4 KB gives you traffic, funnels, retention and behavior-based audiences in one dashboard. It deploys to your own Cloudflare account, so there are no servers to maintain and the data stays in your account.


Add one script.Page views are recorded.
The cookie-free script collects page views, referrers, UTM parameters, devices, locations and Core Web Vitals automatically. To track more, change the tracking settings. You don't need to ship a new front end.
1<script defer2 src="https://stats.edgekit.dev/script.js?siteId=edgekit"3></script>
- 01Automatic page views, including single-page apps
- 02Custom events with JSON properties via track()
- 03Outbound links and data attributes, no code
- 04Tracking settings change in the dashboard, not in your code
The basic reports,from the same script.
Real-time visitors, referrers, campaigns, pages, locations, devices and real-user performance all come from the same script.
What's happening now
Visitors online, the last 30 minutes of traffic and every new event as it lands, with where it came from and on what device.
Where visits come from
Referrers, search engines and channels, compared by quality rather than just volume.
What campaigns bring
UTM tags are grouped automatically. See how each source contributes over time and which ones convert.
What people read
Paths, titles, entry and exit pages, with views and visitors side by side.
Where they are
Countries, regions and cities on a map, with place names in the interface language and background figures such as population and GDP per capita for each region.
What they use
Device types, browsers and operating systems, ranked by the share of real visitors.
How fast it felt
LCP, INP, CLS, FCP and TTFB at P75, per page, from real sessions.
What they did
Custom events grouped by name with their JSON payloads: how often they fire, and from how many sessions.
Compare periods on the report itself.
With Compare on, every report overlays the comparison where it is: change rates on metric cards, the previous period beside each day in the trend, change columns in tables, and the same in funnels and retention. You can compare against the previous period or against an audience defined by its own filter.
Product analytics features,no per-event pricing.
Most web analytics tools only count. Funnels, retention and behavioral filters usually come with per-event pricing. InsightFlare runs in your own Cloudflare account, so the only bill is your own Cloudflare usage.
| Typical web analytics | Product analytics SaaS | GA4 | InsightFlare | |
|---|---|---|---|---|
| Traffic, sources, campaigns | Yes | Depends | Yes | Yes |
| Custom events with properties | Depends | Yes | Yes | Yes |
| Funnels with time windows | Depends | Yes | Yes | Yes |
| Cohort retention | No | Yes | Yes | Yes |
| Audiences by behavior sequence | No | Yes | Yes | Yes |
| No data sampling in reports | Yes | Depends | Depends | Yes |
| No cookies | Yes | Depends | No | Yes |
| Request-level bot blocking and observability | No | No | Depends | Yes |
| Open source, self-hostable | Depends | Depends | No | Yes |
| Data in your own account | Depends | No | No | Yes |
| No per-event pricing | Depends | No | Yes | Yes |
Filter visitorsby behavior.
The advanced filter selects visitors by what they did, how often, in what order and within what time window. Every report, from trends to retention, then covers only those visitors.
geo.country in ["US", "DE", "JP", "GB"] AND client.deviceType eq "desktop" AND EVENT { $.name eq "signup" AND $.payload("/plan") eq "pro" } exists AND countDistinct(PAGE -> path) gte 4Change a value, add a condition or switch a group to OR. Suggestions come from the same sample, and the results on the right are recomputed by the real engine.
Results computed with the real InsightFlare filter engine on a 2,400-visitor sample.
Open any visitorand read the timeline.
See each session a visitor had, in order, with the referrer, the pages viewed and the events fired, including the full payload.
User name
User ID
Visitor ID
Total Duration
Pageviews
Events
Unique Pages
Avg Pages/Session
Avg Events/Session
Bounce rate
Avg. Visit Duration
Referrer Name
Referrer URL
Location
Browser
OS
Device
Screen
First visit
Last visit
Days Active
Avg Time Between Sessions
Exit page: /docs/api
Duration: 2m 03s
10/09 16:39:23
Since previous: 23s
Custom event: deploy
{ "region": "apac", "ms": 842 }
10/09 16:39:00
Since previous: 1m 40s
Pageview: /docs/api
API reference · 2m 03s
10/09 16:37:20
Session ID: s-7f3a-003
Session started
Direct · Japan · Tokyo · Shibuya
10/09 16:37:20
Session ID: s-7f3a-003
Exit page: /docs/quick-start
Duration: 7m 48s
10/05 10:09:51
Since previous: 2m 10s
Custom event: signup
{ "plan": "pro", "seats": 3 }
10/05 10:07:41
Since previous: 3m 28s
Custom event: copy_cmd
{ "cmd": "npm create" }
10/05 10:04:13
Since previous: 2m 10s
Pageview: /docs/quick-start
Quick start · 5m 38s
10/05 10:02:03
Session ID: s-7f3a-002
Session started
google.com · Japan · Tokyo · Shibuya
10/05 10:02:03
Session ID: s-7f3a-002
Exit page: /pricing
Duration: 4m 12s
10/02 21:18:24
Since previous: 36s
Pageview: /pricing
Pricing · 36s
10/02 21:17:48
Since previous: 2m 31s
Pageview: /blog/edge-caching
Caching at the edge · 2m 31s
10/02 21:15:17
Since previous: 1m 05s
Pageview: /
InsightFlare Demo · 1m 05s
10/02 21:14:12
Session ID: s-7f3a-001
Session started
news.ycombinator.com · Japan · Tokyo · Shibuya
10/02 21:14:12
Session ID: s-7f3a-001
Session records
| Session ID | Start Time | Duration | Page Views | Custom events | Referrer |
|---|---|---|---|---|---|
| s-7f3a-003 | 2026/10/09 16:37 | 2m 03s | 1 | 1 | Direct |
| s-7f3a-002 | 2026/10/05 10:02 | 7m 48s | 1 | 2 | Ggoogle.com |
| s-7f3a-001 | 2026/10/02 21:14 | 4m 12s | 3 | 0 | Nnews.ycombinator.com |
Funnels
Two to ten ordered steps, from pages or events, with conversion windows per visitor.
Retention
Group visitors by when they first arrived and see who returns, by day, week or month.
Custom events
Attach JSON properties to any event, then break down and filter by them.
Let an agentquery your data.
Your instance publishes a skills manifest and a versioned OpenAPI document. Point Claude Code, Codex or your own program at them, give it a key limited to the sites and permissions you choose, and ask questions in plain language.
It runs in yourCloudflare account.
No analytics vendor in the middle, no database cluster to tune. InsightFlare is one Worker plus Cloudflare's own storage, deployed with a single click into an account you control.
- POST /collect
- GET /api/v1/*
- GET /app/*
One-click deploy
Deploy from GitHub to Cloudflare, then finish setup in the browser.
Pay for usage only
InsightFlare itself is free. The only bill is your own Cloudflare usage, not seats and not events. In our tests a free Cloudflare account handles more than 10,000 events a day.
Runs at the edge, scales automatically
Collection and the dashboard run on Cloudflare's global edge network, close to each visitor. Workers scale per request, so traffic spikes need no capacity planning.
Performance and scalingPrivacy first
No cookies from the tracker. Smart tracking strength switches identification by region: a daily identifier for EU visitors, full return-visit accuracy elsewhere.
Teams, shared linksand alert rules.
Manage many sites in one place, share read-only links, get notified when a condition is met, and see bot traffic separately.
Teams & sites
Many sites per team, members with roles, one dashboard across all of them.
Public links
Share a read-only dashboard with anyone, no account needed.
Notifications
Rules that send a notification when a condition is met.
Bot & request observability
Real visits, suspected bots and bots are counted separately, and every blocked request states its reason.
Scheduled tasks
Hourly rollups, notification checks and database maintenance run on a schedule. Every run has a record and logs in the dashboard, and each task can be paused.
Four languages
English, Simplified and Traditional Chinese, and Japanese.
Things you wouldusually need another tool for.
Compatibility lookups, regional context, localized place names, request observability, live configuration and screen previews sit in the same dashboard and use the same visitor data.
Compatibility for your visitors
Look up any web feature and see its support among your own visitors' browser versions, next to the global figure.
Regional context
Each country or region comes with population, GDP per capita and market penetration (visitors ÷ population), plus a Wikipedia summary.
Localized place names
Countries, states, cities and map labels follow the interface language. Traditional Chinese is converted from Simplified automatically.
Request observability
Every collect request gets a category and a concrete reason, such as a low bot score, a script user agent or a hosting ASN, and you can drill down by reason and network.
Live configuration
Change tracking strength, query parameters, outbound tracking and performance sampling in the dashboard. The script is generated per site, so the embed code stays the same.
Preview real screen sizes
Pick one of your visitors' screen sizes and see your site rendered at that size in a scaled iframe.
Sample data
Before you start.
Yes. The software is MIT licensed with every feature included. You deploy it to your own Cloudflare account and pay Cloudflare for what you use, according to your plan and traffic. In our tests a free Cloudflare account records more than 10,000 events a day; the real limit also depends on how much you query.
Besides traffic, sources and pages, InsightFlare has funnels, retention, custom events with properties and an advanced filter that describes audiences by behavior and sequence, capabilities usually found in product analytics.
No. It runs on Workers, Durable Objects, D1 and KV in your account. There is nothing to patch or scale by hand.
No. The tracking script never sets or reads cookies, and raw IP addresses of regular visitors are not stored. When Analytics Engine is enabled, only requests classified as bots and blocked have their IP recorded for troubleshooting.
That is what smart tracking strength is for. It is on by default and picks the identification method by the visitor's region: EU visitors get a server-side identifier that changes every day, with nothing stored in the browser; visitors elsewhere keep a random ID in localStorage, so returning visits and retention are counted accurately. You can switch a site to Strong (random ID everywhere) or Weak (daily identifier everywhere) in its settings. Whether you need consent depends on your configuration and jurisdiction.
A fictional site, edgekit.dev. The audience results are computed by the real filter engine on a generated sample.
Deploy it to yourown Cloudflare account
Deploy InsightFlare and start looking at funnels, retention and behavior-based audiences.
MIT licensed · runs in your own account · no servers to manage