Skip to content
Open source · MIT · Runs on your own Cloudflare

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.

Visitors right now
Sample site · edgekit.dev
San Francisco/docs/api
Tokyo/pricing
Amsterdam/blog/edge-caching
Tokyo⚡ deploy
The real app, live
demo.insightflare.net/en/app/xeoos-team/dailypulse-news
Traffic Overview
Live demo · sample data
≈3.8 KBtracking script, gzipped
0cookies set by the tracker
0servers to maintain
MITlicense, every feature included
1 clickdeploy to Cloudflare
10K+events a day on a free Cloudflare account
4interface languages
01Start

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 defer
2 src="https://stats.edgekit.dev/script.js?siteId=edgekit"
3></script>
Online now / Visitors · 30 min / Views · 30 min
/ /
Waiting for the first visit…
Waiting for the first visit…
  • 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
02See

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.

02.1

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.

Online now / Visitors · 30 min / Views · 30 min
/ /
Connected
Live activity
Tokyo/docs/quick-start3s
Berlin⚡ copy_cmd12s
San Francisco/pricing26s
Paris/41s
Mumbai/blog/edge-caching58s
02.2

Where visits come from

Referrers, search engines and channels, compared by quality rather than just volume.

Channel breakdown
32,587visitors
Organic search12,88039.5%
Direct8,74126.8%
Referral7,41722.8%
Social2,2146.8%
Campaign1,3354.1%
SourceSource LinkChannel
Source (Domain)ViewsVisitors
Ggoogle.com41,20312,880
Direct30,1188,741
Ggithub.com18,4474,102
Nnews.ycombinator.com12,9063,315
Xx.com7,7312,214
02.3

What campaigns bring

UTM tags are grouped automatically. See how each source contributes over time and which ones convert.

Source
100%75%50%25%0%
Oct 21Oct 27Nov 2Nov 8Nov 14Nov 19
googlenewsletterproducthunttwitterpartner
CampaignSource / MediumvisitorsConversion
launch-weekproducthunt / social1,3356.2%
nov-newsletternewsletter / email1,1024.8%
edge-caching-adsgoogle / cpc9683.1%
partner-docspartner / referral5127.4%
02.4

What people read

Paths, titles, entry and exit pages, with views and visitors side by side.

PathTitleHostnameEntry pagesExit pages
PathViewsVisitors
/31,84218,204
/docs/quick-start14,3907,311
/pricing9,8216,402
/blog/edge-caching7,2045,933
/docs/api5,5122,841
/changelog3,9062,207
02.5

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.

United States9,842
Germany3,611
Japan3,120
United Kingdom2,804
China2,417
India2,132
Country
02.6

What they use

Device types, browsers and operating systems, ranked by the share of real visitors.

Device Type Share
32,587visitors
Desktop20,59563.2%
Mobile10,78633.1%
Tablet1,2063.7%
Browser Share
32,587visitors
Chrome19,03158.4%
Safari7,07121.7%
Firefox2,9008.9%
Edge2,4767.6%
Arc6121.9%
Other4971.5%
Operating System Share
32,587visitors
macOS11,90436.5%
Windows 118,40225.8%
iOS6,21819.1%
Android3,74111.5%
Linux1,8065.5%
Other5161.6%
02.7

How fast it felt

LCP, INP, CLS, FCP and TTFB at P75, per page, from real sessions.

Experience Score
90
Time to First Byte
0.23s
First Contentful Paint
1.38s
Largest Contentful Paint
2.34s
Cumulative Layout Shift
0.128score
Experience Score
90
Great
Current Reading
Experience Score P75 is 90, with an experience score of 90 across 781,022 samples. Current status: Great.
Paths analyzed
18
Samples
781,022
P50
93
P75
90
P95
86
Performance Trend
100755025
02.8

What they did

Custom events grouped by name with their JSON payloads: how often they fire, and from how many sessions.

Total events
2,281
Event types
5
Sessions
1,414
Visitors
935
Event Trend
Total events in period
search1,259copy_cmd572deploy229signup126share_click95
03Compare

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.

Keep scrolling, or click Compare
04Go deeper

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.

Capability comparison
Typical web analyticsProduct analytics SaaSGA4InsightFlare
Traffic, sources, campaignsYesDependsYesYes
Custom events with propertiesDependsYesYesYes
Funnels with time windowsDependsYesYesYes
Cohort retentionNoYesYesYes
Audiences by behavior sequenceNoYesYesYes
No data sampling in reportsYesDependsDependsYes
No cookiesYesDependsNoYes
Request-level bot blocking and observabilityNoNoDependsYes
Open source, self-hostableDependsDependsNoYes
Data in your own accountDependsNoNoYes
No per-event pricingDependsNoYesYes
YesDependsNoThe first two columns describe product categories; GA4 means the standard edition of Google Analytics 4.
05Ask precisely

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.

Example filters
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 4
This is the real filter editor from the app. Try it.

Change 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.

visitors match of
of all visitors
Matched visitors per day
30 days ago15 days agoToday
Sessions
Pages / session
Bounce rate
Avg. duration
m s

Results computed with the real InsightFlare filter engine on a 2,400-visitor sample.

06Understand

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.

Back to visitors
Anonymous
Last visit: 43 days ago

User name

Yuki Tanaka

User ID

user-2041

Visitor ID

v-7f3a·91c2

Total Duration

14m 03s

Pageviews

5

Events

3

Unique Pages

5

Avg Pages/Session

1.7

Avg Events/Session

1.0

Bounce rate

0%

Avg. Visit Duration

4m 41s

Referrer Name

Nnews.ycombinator.com

Referrer URL

https://news.ycombinator.com/item?id=41873162

Location

Japan · Tokyo · Shibuya

Browser

Chrome 131

OS

macOS 15

Device

Desktop

Screen

1728x1117

First visit

2026/10/02 21:14

Last visit

2026/10/09 16:39

Days Active

3

Avg Time Between Sessions

3d 9h 41m
Activity
MWF
DecJanFebMarAprMayJunJulAugSepOctNov
Visit details
Session starts, pageviews, exits, and custom events for this visitor in the order they happened.

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 IDStart TimeDurationPage ViewsCustom eventsReferrer
s-7f3a-0032026/10/09 16:372m 03s11Direct
s-7f3a-0022026/10/05 10:027m 48s12Ggoogle.com
s-7f3a-0012026/10/02 21:144m 12s30Nnews.ycombinator.com
01

Funnels

Two to ten ordered steps, from pages or events, with conversion windows per visitor.

02

Retention

Group visitors by when they first arrived and see who returns, by day, week or month.

03

Custom events

Attach JSON properties to any event, then break down and filter by them.

agent→skills.jsonanalytics:read · funnels:write
Which device converts better from pricing to deploy this month?
◌GET /.well-known/skills.json110ms
◌POST /api/v1/sites/edgekit/analytics/funnel-analysis · desktop157ms
◌POST /api/v1/sites/edgekit/analytics/funnel-analysis · mobile204ms
07Ask in plain language

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.

skills.jsonA manifest agents read to learn the API
OpenAPITyped analytics endpoints with a spec
Scoped keysLimit each key by site and permission
08Own it

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.

Your Cloudflare account
↘
Visitor's browser
script.js · ≈3.8 KB
01
Workers
Collection, dashboard, API
02
Durable Objects
Ingest buffering and real-time
03
D1
Analytics data and queries
04
KV
Site tracking settings
05
Analytics Engine
Request and traffic observability
06coming soon
R2
Data archive
01

One-click deploy

Deploy from GitHub to Cloudflare, then finish setup in the browser.

02

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.

03

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 scaling
04

Privacy first

No cookies from the tracker. Smart tracking strength switches identification by region: a daily identifier for EU visitors, full return-visit accuracy elsewhere.

09Built for teams

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.

XEOOS Team4 members · 6 sites
Edgekit
Edgekit Docs
Edgekit Blog
Launch Page
Open Source
Public API
01

Teams & sites

Many sites per team, members with roles, one dashboard across all of them.

stats.edgekit.dev/share/k7Qm2xRead-onlyCopied
Public dashboard
viewing now
02

Public links

Share a read-only dashboard with anyone, no account needed.

Visitors > 500 within 1 hourTriggered
visitors> 500
Weekly report · Mon 09:00Email
Traffic spike on Edgekitnow
612 visitors in the last hour · news.ycombinator.com
03

Notifications

Rules that send a notification when a condition is met.

requests
HumanBotAbnormal
Bingbot3,851
curl/8.62,257
GPTBot3,078
04

Bot & request observability

Real visits, suspected bots and bots are counted separately, and every blocked request states its reason.

Hourly rollupOK · now
Notification checkRunning
Database maintenanceOK · 8m
Last run*/30 * * * *
05

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.

Traffic Overview
English简体中文繁體中文日本語
06

Four languages

English, Simplified and Traditional Chinese, and Japanese.

10Details

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.

CSS :has()Search features
Your visitors
Global
01

Compatibility for your visitors

Look up any web feature and see its support among your own visitors' browser versions, next to the global figure.

JapanCapital · Tokyo
Population
124M
GDP per capita
$33,800
2.5× the world average
Visitors in range
Market penetration
02

Regional context

Each country or region comes with population, GDP per capita and market penetration (visitors ÷ population), plus a Wikipedia summary.

加利福尼亚州 · 旧金山
English简体中文繁體中文日本語
03

Localized place names

Countries, states, cities and map labels follow the interface language. Traditional Chinese is converted from Simplified automatically.

NormalSuspectedBot
Block reasons
cf_bot_score_low
script_user_agent
hosting_asn
origin_mismatch
04

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.

Tracking strengthSmart
Outbound links
Query parameters
Performance sampling100%
script.js updatedEmbed code unchanged
05

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.

390 × 84438.2%
1440 × 90024.6%
820 × 11806.1%
Visitor share
06

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

Questions

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.

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