Web Analytics, Session Replay, Forms & Revenue Attribution in One Dashboard

A simple Google Analytics alternative: realtime visitors, traffic sources, revenue and JavaScript errors in one dashboard, from a script under 4 KB.

Free up to 5k events a month. No card needed.

Visitors6,45948%increasevs previous period
Revenue$29,65349%increasevs previous period
Conversion rate3.13%2.5%increasevs previous period
Revenue/visitor$4.590.8%increasevs previous period
Bounce rate44%0.4%decreasevs previous period
Session time2m 38s2.5%increasevs previous period
Online3Last 5 min
script, gzipped
< 4 KB
cookies, so no consent banner
0
recent errors kept per site
100
proxy recipes, Next.js to Nginx
5
Dashboard

Everything on one page

Below the chart: top pages and sources, where visitors are, goals, errors, a funnel and the latest visitors, for the same demo store.

Pages
PageRevenueVisitors
  • /$19,1665,697
  • /pricing$2,0271,711
  • /products/everyday-tote$7121,226
  • /products/linen-shirt$929988
  • /products/canvas-sneakers$221919
  • /cart$840852
  • /blog/how-we-source-linen$117736
  • /blog/spring-lookbook$56582
Sources
Source
  • Direct$15,8972,760
  • google.com$5,8251,616
  • news.ycombinator.com$1,835785
  • x.com$1,789567
  • reddit.com$687398
  • chatgpt.com$361331
  • instagram.com$873280
  • newsletter.acme.store$479260
Visitor map
33 cities in 12 countries · 🇺🇸 San Francisco leads with 10% of visitors
Locations
CountryRevenueVisitors
  • United States$9,9592,219
  • India$3,889946
  • United Kingdom$3,492653
  • Germany$1,812494
  • Canada$2,292398
  • France$1,706396
  • Brazil$1,647282
  • Australia$1,283262
Devices
BrowserRevenueVisitors
  • Chrome$16,8893,813
  • Safari$8,9861,915
  • Edge$1,777281
  • Firefox$1,010265
  • Brave$991185
Goals
GoalVisitors
  • add_to_cart10.7% conv.690
  • purchase3.9% conv.252
  • signup3.6% conv.233
Console errors
Most frequent of the last 100
  • TypeError: Cannot read properties of undefined (reading 'price')error · last seen 20m ago
    ×33
  • Unhandled promise rejection: Failed to fetch /api/cartunhandledrejection · last seen 51m ago
    ×22
  • Warning: Each child in a list should have a unique "key" prop.console.error · last seen 3h ago
    ×16
  • ReferenceError: Stripe is not definederror · last seen 9h ago
    ×10

Funnel

Visitors who did each step after the one before it

2.0% conversion rateLast 30 days
5,697
100%
Visit /
1,296
23%
Visit /pricing
112
2.0%
Complete add_to_cart
Complete add_to_cart
Visitors
112
Continued from the step before
8.6%
Value per visitor
$11.89
Top sourcesDirect33%google.com24%news.ycombinator.com8%
Top countriesUnited States29%India14%France13%
Latest visitors
6,459 in this range · 316 returning
VisitorLast seen
  • Online now
    teal kestrelNewChicago, United StatesmacOSChrome
  • Online now
    jolly beaverNewMumbai, IndiaAndroidChrome
  • Online now
    quiet walrusNewPune, IndiaWindowsChrome
  • golden ibisNewLondon, United KingdommacOSChrome
  • frosty kestrelNewHamburg, GermanymacOSSafari
  • honey tapirNewManchester, United KingdomWindowsFirefox
How it works

Set up in a minute

The proxy is optional. It's also how you catch the visitors other tools miss.

  1. Step 1

    Add the script

    Paste it into your <head>. Pageviews and errors start coming in.

    index.html
    <script
      defer
      data-website-id="your-site-id"
      src="https://usedatasense.com/js/script.js"
    ></script>
  2. Step 2

    Serve it from your domain

    Two rewrites, and ad blockers see a first-party request.

    next.config.ts
    { source: "/_ds/js/script.js", destination: "https://usedatasense.com/js/script.js" }
    { source: "/_ds/api/e", destination: "https://usedatasense.com/api/e" }
  3. Step 3

    Watch, track, export

    Visitors show up in about a second. Goals are one line of code.

    anywhere in your app
    window.datasense("signup", { plan: "pro" })
    
    <button data-ds-goal="checkout">Buy</button>
Features

What page-view counters miss

The basics are covered. These are the parts you'll actually use.

Live visitors37 online

Realtime, to the second

Who's online, what they're reading, and where they came from.

Console errors87 of 100 kept

Your last 100 console errors

Crashes, failed assets and console.error from real browsers, grouped by page.

events.csv CSV JSON

Export everything

Raw events or errors for any date range, as CSV or JSON.

Same request, two routes

A proxy ad blockers don't stop

Requests come from your own domain, so uBlock, Brave and private windows still count.

  • Goals and custom eventsOne function call or a data attribute.
  • Sources and UTMReferrers and campaigns, attributed per session.
  • Cookies or cookielessFirst-party cookies by default, or none at all. No raw IPs stored.
  • FeatherweightUnder 4 KB. Never blocks render.
First-party proxy

Count the visitors other tools can't see

Ad blockers drop requests to known analytics domains. Serve the script from your own domain and there's nothing to block.

  • Works with uBlock Origin, Brave, Safari private and Firefox strict mode
  • Pick your own path, so filter lists can't guess it
  • Recipes for Next.js, Vercel, Netlify, Cloudflare and Nginx

Pick your stack

Your dashboard fills in your site ID

next.config.ts
// next.config.ts
import type { NextConfig } from "next"

const nextConfig: NextConfig = {
  async rewrites() {
    return [
      { source: "/_ds/js/script.js", destination: "https://usedatasense.com/js/script.js" },
      { source: "/_ds/api/e", destination: "https://usedatasense.com/api/e" },
      { source: "/_ds/api/p", destination: "https://usedatasense.com/api/p" },
      // Session replay, if you turn it on
      { source: "/_ds/js/recorder.js", destination: "https://usedatasense.com/js/recorder.js" },
      { source: "/_ds/api/replay", destination: "https://usedatasense.com/api/replay" },
      // Forms, if you create any
      { source: "/_ds/js/forms.js", destination: "https://usedatasense.com/js/forms.js" },
      { source: "/_ds/api/forms", destination: "https://usedatasense.com/api/forms" },
    ]
  },
}

export default nextConfig
Then load the script from your own domain
<script
  defer
  data-website-id="your-site-id"
  src="/_ds/js/script.js"
></script>
Pricing

Pay for events, with errors and realtime on every plan

Free up to 5k events a month, no card needed.

Hobby

$0/forever

For side projects and personal sites.

  • 5k events / month
  • 1 site
  • Realtime & last 100 errors
  • Goals & custom events
Start free

No card needed.

Pro

Most picked
$9/month

For products with real traffic.

  • 50k events / month
  • 5 sites
  • 5k session replays / month
  • Bot & AI crawler tracking
  • Visitor forms & surveys
  • First-party proxy
  • CSV & JSON export
Start 14-day free trialPick Pro plan

$0 due today on the trial. Cancel anytime.

Team

$49/month

For high-traffic products and agencies.

  • Everything in Pro
  • 500k events / month
  • 20 sites
  • 50k session replays / month
  • Priority support
Start 14-day free trialPick Team plan

$0 due today on the trial. Cancel anytime.

FAQ

Short answers

Still curious? See the dashboard above.

It answers fewer, better questions: who's here, where they came from, and what broke. Switch a site to cookieless and it needs no consent banner, and the proxy brings back visitors ad blockers hide.

Your next visitor is loading a page right now

Add one script tag and watch them arrive: where they came from, what they opened, and what broke.