Light as web analytics. Deep as product analytics.
A script under 4 KB brings traffic, visitor journeys, funnels, retention and behavior-based audiences into one dashboard. Deploy on your own Cloudflare account, without maintaining servers.
Website · Documentation · Live demo
Deploy InsightFlare to Cloudflare
Tracking script | Daily events on a free account (tested) | Software license fee |
Why InsightFlare?
- Start with one lightweight script. Automatically collect page views, referrers, UTM campaigns, devices, locations and Core Web Vitals with a cookie-free script under 4 KB. Change tracking settings without redeploying your website.
- See the whole picture. Follow live visitors and traffic, then explore pages, acquisition channels and real-user performance in the same dashboard.
- Compare periods or audiences in place. Overlay comparison data on metric cards, trends, tables, funnels and retention reports. Give the comparison its own filter to compare two groups of visitors directly.
- Go deeper without per-event software fees. Analyze custom events and their properties, conversion funnels, goals and cohort retention; no separate product analytics subscription is needed.
- Ask precise questions with advanced filters. Define audiences by what visitors did, how often, in what order and within what time window. Combine nested AND/OR/NOT conditions, event properties, aggregations and ordered sequences in a visual builder or expression. Every applicable report then focuses on the selected audience.
- Understand every visitor. Open a visitor's timeline to inspect sessions, referrers, pages and events with their full payloads.
- Let AI agents query your data. Published Skills, versioned OpenAPI and scoped API keys allow agents to investigate data and manage saved analyses with appropriate permissions.
- Own your infrastructure and data. One-click deployment to your Cloudflare account, automatically scaling Workers, configurable visitor identification and MIT-licensed self-hosted software.
- Work together and stay informed. Manage multiple sites and teams, share read-only reports, configure notifications and inspect bot traffic.
Try advanced filters with the real engine · Compare periods and audiences
Quick start
Install the latest official build without forking, compiling or installing Wrangler.
Deploy InsightFlare to Cloudflare
- Connect to Cloudflare, select an account and review the deployment plan.
- Choose an address and administrator password, then install.
- Sign in, create a site and paste its tracking snippet into your pages.
- Visit your site and confirm activity in the real-time view.
Quick start · Manual deployment
Explore features
Traffic & acquisitionTraffic & acquisition Live traffic, pages, referrers and campaigns. | Sessions & visitor journeysSessions & visitor journeys Trace visits and custom events. |
Funnels & goalsFunnels & goals Find drop-off by session or visitor. | RetentionRetention See who returns, grouped by first visit. |
Custom event analysisAdvanced filters & custom events Describe audiences by behavior, attributes and sequence. | Real user experienceReal user experience Core Web Vitals, browsers and devices. |
Geo intelligenceGeo intelligence Drill down from countries to cities. | Observability & protectionObservability & protection Request observation, bot rules and operational visibility. |
Full feature gallery (62 screenshots)
Traffic overview & acquisition
Events, sessions & visitor journeys
Audience, devices & geography
Configuration, teams & sharing
Deep event analysis & funnels
Operations, alerts & bot protection
AI agents & API
Let Claude Code, Codex, OpenClaw or your own tools explore analytics through published Skills and scoped API keys. Send your agent the instruction below, replacing the domain:
Read https://your-instance.example.com/.well-known/skills.json, connect to this analytics system, and guide me through authorization.Which device converts better from pricing to deployment, and where do mobile visitors drop off?
An agent can compare device funnels, inspect performance and traffic sources, and save a funnel for later comparison with the appropriate permissions.
Self-hosting & cost
InsightFlare runs on Cloudflare Workers, Durable Objects, D1 and KV. Analytics Engine and R2 are optional. Writes are buffered and batched; the edge network serves collection and dashboards.
flowchart TD
B["Visitor browser"] --> W
subgraph CF["Cloudflare"]
W["Workers: collection, dashboard, API"] --> DO["Durable Objects: buffer, real time"]
DO --> D1["D1: analytics and queries"]
W --> D1
W --> KV["KV: site settings"]
W -.-> AE["Analytics Engine: observation (optional)"]
W -.-> R2["R2: archive (optional)"]
end
U["You and your agents"] --> W10,000+ events per day on a free Cloudflare account, as reported by our website's test. Actual usage depends on traffic, query frequency, data size and plan limits.
Deployment, architecture & cost
Privacy & data ownership
The tracker does not set or read cookies. Raw IP addresses are not stored with normal visitor records; when Analytics Engine is enabled, IPs of requests classified as bots and blocked may be recorded for investigation. You can also change the tracking mode in site settings to adapt to applicable regulations.
Cost & privacy · Visitor identification
Documentation
| Getting started | Quick start · Install tracking · Cost & privacy |
| Analytics | Advanced filters · Funnels & goals · Retention |
| Tracking | Custom events · Identify users · Tracking settings |
| Deployment & operations | Updates · Analytics Engine · Manual deployment |
| Integration & development | Agent access · API reference · Local development |
Configuration · R2 archive · Commands · FAQ
Development
TypeScript · React · TanStack Start · Cloudflare Workers · D1 · Durable Objects
Requires Node.js 24 and pnpm 10.33. Configure .dev.vars according to the local development guide.
git clone https://github.com/RavelloH/InsightFlare
cd InsightFlare
pnpm install
pnpm run db:migrate:local
cp .dev.vars.example .dev.varsAfter configuring the environment, run:
pnpm run devFor UI-only work, run pnpm run dev:ui in Demo Mode without a database or secrets.
Local development · Contributing guide
Community & ecosystem
InsightFlare is supported by independent open-source projects maintained in the organization and by its author.
| Deploy | One-click installation and updates. |
| asn-blocklist | ASN classification from PeeringDB. |
| map-relay | CARTO vector basemap proxy. |
| can-i-use-api | Static Can I Use compatibility API. |
| iso-3166-2-locale | Multilingual geographical names. |
| meta | Webpage metadata extraction (Gist). |
Explore the open-source ecosystem
Organization · Report an issue · Contributing guide · Releases
License
MIT Copyright 2026 RavelloH





























































