Grosslytics

Open-source web & revenue analytics Know your profit by channel.

Multi-touch revenue attribution shows what you keep after gateway fees, supported refunds, and the ad spend you add. The 1.8 KB tracker uses zero cookies.

Hosted Cloud from $$7/mo · Free open-source Community Edition · Seven-day overage grace period

Hosted Cloud pricing

Billing

For 100K monthly events, plans start at $5.83/mo on Starter.

Hosted Cloud keeps recording events over your limit while your plan is active. Dashboard access may pause after a seven-day grace period.

Need to host Grosslytics on your own infrastructure?

  • Community Edition ($0 / Open-Source)

    Single-site tracking with a footer credit, core revenue webhooks, manual ad-spend entry, and community support.

    Start free ›
  • Lifetime License ($39.99 once)

    Up to 3 self-hosted installations, no footer credit required, one-command installer and updates, priority email support, and commercial rights.

    Get Lifetime ›
  • Self-Hosted Commercial ($299/year)

    Unlimited sites and installations, automated ad-spend sync, multi-touch models, 1st-party proxy helper, priority support, and commercial usage rights.

    Get Commercial ›

Live in three steps.

  1. Add one script tag

    Paste a 1.8 KB script into your site’s <head>. Works on any site: Next.js, Astro, WordPress, Webflow, Framer, Shopify or plain HTML.

  2. Point your payment webhook

    Add one webhook URL in Stripe, Paddle, Polar, Lemon Squeezy, Razorpay, Cashfree, Gumroad, PayPal, Dodo Payments or RevenueCat. Each sale is signed, checked and matched to the visitor who made it.

  3. See which channels pay

    Every source, page and campaign is ranked by the money it brought in after fees and ad spend, not by pageviews.

Every sale comes with its story.

Grosslytics follows a buyer from first visit to payment, then subtracts what the gateway and your ads took. You see the money, and where it really came from.

  • First touch, last touch, or both.Switch models instantly. Linear splits credit 50/50.
  • Fees taken off automatically.Stripe, Paddle, Polar, Lemon Squeezy, Razorpay, Cashfree, Gumroad, PayPal, Dodo Payments and RevenueCat.
  • Renewals stay attributed.Month 6 still credits the post that found the customer.
Sale #1042Pro plan · monthly
  1. Mar 3Saw your post on Xx.com (in-app)
  2. Mar 5Came back from a ChatGPT answerchatgpt.com (AI)
  3. Mar 5Read /pricing for 2m 14s92% scrolled
  4. Mar 5Paid with Stripe2 days to convert
Gross
$49.00
Stripe fee
−$1.72
Ad spend
−$0.00
You kept
$47.28
Credited 50% to x.com and 50% to chatgpt.com under linear attribution.

Every channel, ranked by what it earned.

Try it. Switch the model, the range, or gross and net.

acme.io27 online
Bounce46%2.2%up vs previous period
Read time3m 08s9.3%up vs previous period
This periodPreviousNote
Avg $652/day · Peak Mar 31 ($927)
Grosslytics

Live

27 active
  • Seattle on /pricingchatgpt.comnow
  • Pune on /x.com19s ago
  • $99 sale from Manchesternews.ycombinator.com41s ago
  • Munich on /docsgoogle.com1m ago
  • São Paulo on /instagram.com2m ago
  • Paris on /compare/datafastperplexity.ai3m ago
HIGHEST VALUE

Visitors from ChatGPT are worth 4.9× those from Google, your biggest source.

AI SEARCH

AI search brings 16% of visitors but 31% of net revenue ($1.40/vis).

BUYER INTENT

94% of buyers read /pricing before paying, compared with 17% of other visitors.

Sources

Ranked by attributed revenue with share of total and revenue per visitor.

Pages

Revenue from buyers who viewed each page; pages overlap.

Sample data from a fictional SaaS.

A tiny tracker. Sharper answers.

“Direct” traffic, unmasked.

In-app browsers hide where visitors came from. Grosslytics names them.

Most toolsGrosslytics
  • DirectInstagram: instagram.com (in-app)
  • DirectTikTok: tiktok.com (in-app)
  • DirectLinkedIn: linkedin.com (in-app)
  • DirectX: x.com (in-app)

The whole tracker

1.8 KB

Brotli compressed (1,858 bytes). No cookies and no layout shift.

AI answers get credit.

Visits from AI search are tracked as their own channel.

  • ChatGPT
  • Perplexity
  • Claude
  • Gemini
  • Copilot
Track ChatGPT revenue ›

Ask your numbers.

Connect Claude Code, Cursor or Windsurf over MCP, and ask in plain English.

Which channel earned the most per visitor this month?

chatgpt.com at $1.52 per visitor, from 35 sales. X brought more visitors but earned $1.00 each.

Live, not refreshed.

Visitors and sales appear on your dashboard the moment they happen.

Everything in the dashboard.

One page, built around the money.

  • Three attribution models

    First touch, last touch, or linear. Switch with one click and every panel recalculates.

  • Gross, net or profit

    See revenue before fees, after gateway fees, or after fees and the ad spend you enter per source.

  • Where the money goes

    A simple bridge from gross revenue to what you kept: gateway fees and ad spend, side by side.

  • Buyer journeys

    Open any sale to see each visit and page the buyer saw, from the first click to the payment.

  • Time to convert

    How long buyers take from first visit to paying: same day, within a week, or longer.

  • Lifetime value by first source

    Renewals included, so you know which channel finds customers who stay.

  • When buyers buy

    A weekday-by-hour heatmap of sales, with refunds in red, in your own timezone.

  • Pages that sell

    Revenue by entry page, plus read time and scroll depth, so you know which posts close.

  • Buyers vs everyone else

    How people who paid used your site compared with visitors who didn’t.

  • Readable “Direct”

    In-app browsers from Instagram, TikTok, LinkedIn and X are named instead of hidden as Direct.

  • Locations and technology

    Countries, devices, browsers and operating systems, each with its own revenue.

  • Filters everywhere

    Click any source, page, country or device to filter the whole dashboard to those visitors.

  • Live feed

    Visitors and sales stream in over a WebSocket the moment they happen.

  • Refunds handled

    A full Stripe refund removes the sale from revenue and marks it in red. Nothing to clean up by hand.

  • Chart notes

    Mark a launch or a post on the chart, so next month you still know why that day spiked.

  • Public revenue page

    Share an open revenue page and an embeddable badge. Customer emails and journeys stay private.

  • Bots left out

    Crawlers, headless browsers, verified bots and datacenter traffic are dropped before they reach your numbers.

  • Your currency and timezone

    Report in USD, EUR, GBP or INR, with days and hours on your local clock.

  • AI crawlers, by page

    See which pages GPTBot, ClaudeBot and PerplexityBot read, next to the revenue from people who arrive from AI answers.

  • Click map for pricing pages

    An optional script shows which plan, FAQ or button people click, dead clicks and rage clicks, and how many of them paid.

  • Switch in one tag

    DataFast, Plausible and Umami goal tags keep working, and past Stripe payments import with their real dates.

  • Ad spend from a CSV

    Load daily spend exported from Meta, Google, X or LinkedIn Ads and see MER and profit per channel.

Two lines of setup.

The script goes in your site’s <head>:

<script defer src="https://your-api/g.js"
  data-site-id="gl_…"></script>

The webhook goes in your payment dashboard:

https://your-api/api/webhooks/stripe?siteId=gl_…

Track button clicks with a data-goal="signup" attribute. Stripe and Polar checkout links get the visitor ID added for you.

Your Cloudflare. Your data.

  • No cookies, no IP addresses stored. Buyer emails are masked.
  • Nothing passes through us. The tracker, API and database all run in your own Cloudflare account.
  • Signed payments only. Every webhook signature is checked, and repeats are counted once.
  • Events only from your domain. Visits sent from other sites are refused, and bots are filtered out.
  • Free to run. Cloudflare’s free tier covers most small sites.

What is your analytics costing you?

Compare entry plans, and see how much of your revenue goes to fees.

First-year cost on the entry plan

  • DataFastStarter, $9/mo, 10k events$108
  • PlausibleStarter, $9/mo, 10k pageviews$108
  • DataBullSelf-hosted, $49 once$49
  • GrosslyticsSelf-hosted, $0$0

Published entry prices, checked Nov 6, 2026. Higher traffic tiers cost more on DataFast and Plausible. DataBull hosting starts at $9/mo. See Grosslytics Cloud pricing and pilot availability.

How much of your revenue is fees?

$10,000
$29

Annual gateway fees

$4,721 / year

Net revenue kept

$115,279 / year

goes to Stripe at 2.9% + $0.30 per sale ($1.14 on a $29 order). Grosslytics shows each channel's revenue with this taken out.

Coming from another tool?

Revenue attribution guides

All guides ›

Questions

What makes Grosslytics different from Google Analytics or Plausible?

Those tools count visits. Grosslytics also receives your payment webhooks, so every sale is tied to the post, search or AI answer that brought the buyer, and shown after gateway fees and ad spend.

Which payment providers work?

Stripe, Paddle, Polar, Lemon Squeezy, Razorpay, Cashfree, Gumroad, PayPal, Dodo Payments and RevenueCat (app-store purchases), through signed or keyed webhooks. Stripe is the most tested; the others are built to each provider’s documented format. Full Stripe, Paddle, Dodo and Gumroad refunds are handled automatically, and sales tax is never counted as revenue.

What does self-hosted mean?

Grosslytics runs on your own Cloudflare account: a Worker, a D1 database and a queue. Your visitor and revenue data never passes through our servers, and Cloudflare’s free tier covers most small sites.

Do I need to write code?

No. You paste one script tag and one webhook URL. The setup at /start/ checks each step for you against real data.

What about cookies and GDPR?

Grosslytics sets no cookies and stores no IP addresses. A random visitor ID is kept in your site’s browser storage so a sale can be matched to the visit, and buyer emails are masked. Rules differ by country, so check whether your visitors need a notice or consent.

Will ad blockers break it?

The tracker posts to a neutral /api/event path on your own API with a plain request, which EasyPrivacy and uBlock Origin’s privacy list did not block in our tests.

Can I ask an AI agent about my numbers?

Yes. Your API includes an MCP server, so Claude Code, Cursor or Windsurf can answer questions like “which channel earned the most per visitor this month?”

Can I track several sites or client sites?

Yes. Self-Hosted Lifetime ($39.99 once) covers up to 3 installations, the Self-Hosted Commercial License ($299/year) supports unlimited sites and installations, and Hosted Cloud site limits scale by tier (1 on Starter, 10 on Growth, unlimited on Agency). Each site has its own ID, currency and timezone.

I use DataFast. Is switching hard?

Swap the script tag and point your payment webhook at your Grosslytics API. Existing data-fast-goal attributes on your buttons keep working.

Is Grosslytics open source?

Yes. The Community Edition is free under the AGPL-3.0 license. The code is on GitHub. Add a “Powered by Grosslytics” link to your site’s footer to unlock the dashboard.

Is hosting available, or only self-hosting?

Both. Hosted Cloud starts at $7/month on Cloud Starter at /start/?plan=cloud, or self-host the open-source Community Edition on your own Cloudflare account for $0.

Find out which posts pay the bills.

Open source and free on your own Cloudflare. Set up in about five minutes.