Open Source Alternatives
  • Alternatives
  • Categories
    Categories by size929 projects
    • Developer Tools480
    • AI & Machine Learning416
    • Business & Productivity202
    • Web Development199
    • Security & Monitoring136
    • Communication & Collaboration129
    • IT Management128
    • Cloud & Hosting111
    • Data & Analytics108
    • Design & Creative106
    Browse all 21 categoriesProduct & Project Management, LLMOps & AI Tooling and 9 more
  • Blog
  • Advertise
SearchNotion, Slack, password manager.../
Submit
Open Source Alternatives
  • Alternatives
    • Developer Tools480
    • AI & Machine Learning416
    • Business & Productivity202
    • Web Development199
    • Security & Monitoring136
    • Communication & Collaboration129
    • Browse all 21 categories
  • Blog
  • Advertise
Submit your project

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Open Source Alternatives LogoOpen Source Alternatives

Handpicked Open Source Alternatives to Paid Softwares

Product

  • Categories
  • Tag
  • Advertise

Resources

  • Blog
  • Collection
  • Submit

Company

  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Sitemap

Alternatives

  • Claude Code
  • Jira
  • Notion
  • Slack
  • Linear
  • Wispr Flow
  • All alternatives
© 2026 Open Source Alternatives. All rights reserved.
Open SourceAlternatives
Home/Categories/Data & Analytics/Minilytics
Minilytics icon

Minilytics

Open source alternative to DataFast

  • 650 stars
  • MIT
  • Active this week
  • Last commit today

Last verified Oct 27, 2026

Track every visitor from first click to payment with self-hosted, revenue-first web analytics that runs on Cloudflare's free plan.

Visit websiteGitHub650 stars
Image for Minilytics
TL;DR

Minilytics is self-hosted web analytics that connects every visitor to the payment they made, showing which post, tweet, or AI chat drove actual revenue. It replaces paid tools like DataFast with an MIT-licensed app that runs on your own free Cloudflare account. Deploy in about 10 minutes with git clone and npm run deploy; no servers to manage. Best for indie hackers and solo founders who sell digital products and want to know which marketing channel actually converts.

Read the full breakdownHide the full breakdownWho it is for, how it works, trade-offs, the quick start and the FAQ
who it's for

Who Minilytics is for#

Indie hackers selling digital products during a launch

During a Product Hunt launch or a newsletter mention, you need to know which specific post drove conversions, not just aggregate traffic. Minilytics tracks the exact source of every payment in real time, so you can tell your audience which channel is performing while the campaign is still live.

Skip if:

Skip if you are not collecting payments or do not have a Dodo Payments or Stripe integration. Without payment webhooks configured, Minilytics tracks traffic like any other analytics tool without its key differentiator.

Developers who want full control of their analytics data

Minilytics is MIT licensed and each person runs their own copy on their own Cloudflare account. You can inspect the tracking script, modify the attribution model, add custom events, or remove any feature. No visitor data leaves your account.

Skip if:

Skip if you need multi-tenant access where several team members from different organizations share one instance. Minilytics is single-user by default; the hosted SaaS mode adds Google Sign-In but requires additional wrangler configuration to set up.

SaaS founders measuring paid acquisition by conversion

If you are running ads or sponsorships and want to measure cost per conversion rather than cost per click, Minilytics connects payment events back to the source that drove them. The Journey list shows time to convert, so you can compare whether a Reddit post drives faster buyers than Google traffic.

Skip if:

Skip if your traffic volume exceeds roughly 10,000 pageviews per day on the Cloudflare free plan. High-traffic products will hit D1 write limits and need either the Workers Paid plan or a different analytics approach.

the problem

The problem it solves#

Standard web analytics tools track visits and page views, but they stop at the checkout. You can see that 200 people came from your launch tweet, but you cannot see that only 3 of them paid and 2 came from an untracked reply thread. This gap forces indie makers to manually reconcile analytics data with payment records every time they want to evaluate a campaign.

The deeper problem is attribution drift. A visitor who clicks your tweet and returns a week later to buy looks like a direct transaction in most analytics tools. Their payment gets credited to the wrong source, or no source at all. Over time, your marketing decisions are based on patterns that do not reflect how your customers actually found you.

how Minilytics solves it

How it solves it#

Revenue attribution to the exact source

Connects every payment to the visitor's last real source using a last-non-direct-touch model. A customer who clicked a tweet and came back directly 17 days later credits the tweet. The Journey tab shows how each payment was matched, along with the full visitor timeline from first visit through pages and clicks to checkout.

Dodo Payments, Stripe, and generic API support

Connects to Dodo Payments and Stripe via webhooks, recording payment.succeeded and refund.succeeded events. A generic REST API covers any other provider. Subscription renewals are credited to the original subscriber; refunds are subtracted from revenue totals.

Referrer and campaign source breakdown

Breaks down visitor sources by channel, exact referrer (X, Google, ChatGPT, Reddit), UTM campaign, UTM term, and ?ref= tags. X, Medium, and LinkedIn hide exact post referrers; Settings includes a link builder for tagging individual posts so you can see which launch tweet or article drove each visit.

Live globe with real-time visitor map

Press M to open a 3D globe or 2D map showing every active visitor on your site right now. A live feed alongside it shows page views, goals, and payments as they happen. Map tiles come from OpenFreeMap, which requires no API key and is free.

Runs on Cloudflare Workers and D1 for free

Every user deploys their own isolated copy on their own Cloudflare account. The Worker handles event ingestion, stats queries, and serving the dashboard. D1 (SQLite) stores the data. At side-project traffic levels (5,000 to 10,000 visitors per month), the free Cloudflare plan covers everything; the Workers Paid plan is $5/month if you outgrow it.

Single-page app and subdomain tracking

Handles client-side navigation in Next.js, React Router, and other SPAs automatically. Visitors shared between app.yoursite.com and yoursite.com are unified because the cookie is set on the root domain. Button clicks and custom goals can be tracked with a data attribute or a window.minilytics() API call.

strengths · trade-offs

Strengths and trade-offs#

Strengths

  • Full data ownership with no third-party accessBecause each user deploys their own Cloudflare account, visitor and payment data never reaches a shared server or third-party host. The MIT license lets you inspect, fork, or modify every line of code without restriction.
  • Revenue and visitor data in one viewMost analytics tools and payment dashboards are separate products you cross-reference manually. Minilytics stores both in the same D1 database and renders them in a single dashboard, so revenue per visitor, conversion rate, and source attribution are all computed from the same data.
  • Tracker is small and attribution has multiple fallbacksThe tracker script is 9 KB (3.5 KB gzipped). Attribution has three fallback layers for when visitor metadata is missing: the payment return page URL, earlier payments from the same customer email, and checkout timing. This reduces attribution gaps caused by ad blockers or browser privacy restrictions.

Trade-offs

  • -Cloudflare free plan has a daily event capThe free Cloudflare plan allows 100,000 Worker requests per day, which covers roughly 100,000 tracked events. D1 row writes cap at 100,000 per day, meaning about 10,000 pageviews per day. Side projects at 5,000 to 10,000 monthly visitors stay well within limits, but a product launch or viral traffic spike can exhaust them. Cloudflare's Workers Paid plan at $5/month removes most of these constraints.
  • -Requires Cloudflare account and wrangler CLI setupDeployment involves cloning the repo, running npm install, creating a D1 database, setting Cloudflare secrets via wrangler, and running npm run deploy. For developers already familiar with Cloudflare's tooling, this is about 10 minutes. For those new to Cloudflare Workers and wrangler, there is a learning curve that hosted analytics tools do not have.
  • -Safari visitor tracking resets after 7 daysSafari caps cookies set by JavaScript at 7 days. A Safari visitor who returns after more than a week is counted as a new visitor. The email identify() fallback can recover most return payments, but pageview counts for long-cycle repeat visitors will overcount new visits on sites with a high proportion of Safari users.
versus alternatives

Minilytics vs alternatives#

Minilytics vs DataFast

Both DataFast and Minilytics focus on revenue-connected web analytics for indie makers and small digital products. The primary decision is whether you want a managed service with no infrastructure overhead or a self-hosted tool that runs on your own Cloudflare account.

FeatureMinilyticsDataFast
LicenseMITProprietary
HostingYour own Cloudflare accountManaged SaaS
Base costFree (Cloudflare free plan)Paid subscription
Revenue attributionYes (Dodo, Stripe, generic API)Yes
Data ownershipYour Cloudflare account onlyDataFast servers
Source codePublic on GitHubClosed
Tracker size9 KB (3.5 KB gzipped)Not published

Minilytics is the better choice when data ownership matters more than setup convenience. Because each user deploys their own copy, visitor data and payment records never leave your Cloudflare account. The MIT license means you can fork it, modify the attribution model, or add custom payment integrations without restriction. At side-project traffic levels, the Cloudflare free plan makes it cost nothing beyond the time to deploy.

DataFast is worth choosing when you want a turnkey setup with no wrangler, no D1 configuration, and no CLI work. Managed hosting removes the 10-minute deployment and the occasional update-and-redeploy step. If your product runs at high traffic volumes where the Cloudflare free plan's daily limits become a factor, evaluating DataFast's subscription cost against Cloudflare's $5/month Workers Paid plan is a reasonable step.

install · quick start

Quick start#

bash
Deploy Minilytics on your own Cloudflare account using the wrangler CLI and npm.
```bash
git clone https://github.com/surendrapandar/minilytics.git
cd minilytics
npm install
npx wrangler login
npx wrangler d1 create minilytics
npx wrangler secret put ADMIN_PASSWORD
npx wrangler secret put SESSION_SECRET
npm run deploy
```
tech stack · detected from GitHub

What it's built on#

Languages
JavaScriptTypeScript
Frameworks
React
frequently asked

FAQ#

Is Minilytics free to use?

Yes, the self-hosted version is MIT licensed and the Cloudflare free plan covers most side projects at no cost. The free plan handles roughly 10,000 pageviews per day across all tracked sites. If you outgrow it, Cloudflare's Workers Paid plan costs $5/month. There is no per-seat fee or subscription to Minilytics itself.

Does Minilytics work with Stripe?

Yes. Add a webhook in Stripe pointing to your Minilytics host and subscribe to checkout.session.completed, invoice.paid, and charge.refunded. Pass the visitor cookies as metadata when creating a Checkout Session. Minilytics also handles Stripe Payment Links by putting the visitor ID in client_reference_id automatically when the link is clicked.

How is revenue attributed when a visitor blocks the analytics script?

Payments are always recorded via the payment webhook, even when the visitor's browser blocked the tracking script. If the visitor ID metadata is missing, Minilytics tries to match via the payment return page URL, earlier payments from the same customer email, and checkout timing as fallbacks. The Journey tab shows which method was used for each payment.

Can I track multiple websites with one Minilytics instance?

Yes. Minilytics supports multiple websites from one deployment and one login. Each site gets its own tracking script snippet and its own dashboard view. Add a site from the Minilytics dashboard and copy the resulting script tag into that site's HTML.

Can I run Minilytics as a SaaS for other users?

Yes. Set the GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, and ADMIN_EMAILS secrets, add a Dodo Payments checkout URL and product ID, then deploy. Minilytics adds a landing page with pricing, Google Sign-In, and a paid plan gate. Each customer sees only their own sites. The README lists all required secrets for hosted mode.

also worth a look

Similar open-source tools#

Google Maps Scraper

Alternative toOutscraper

Google Maps lead extractor with batch keywords and CSV export

  • MITLicence MIT

openpanel

Alternative toMixpanel

Open-source analytics with funnels, replay, and self-hosting

  • 7,194 GitHub stars
  • AGPL-3.0Licence AGPL-3.0

MiroFish

InAI & Machine Learning

Multi-agent simulation engine that predicts real-world outcomes

  • 81,618 GitHub stars
  • AGPL-3.0Licence AGPL-3.0

FckSignups

InCustomer Support

Open-source tools that work instantly, no signup required

  • 4,516 GitHub stars
  • GPL-3.0Licence GPL-3.0

treg

Alternative toComposio

One token for 2,600+ agent tools across 47 providers

  • 6,290 GitHub stars

rybbit

Alternative toGoogle Analytics

Cookieless web analytics: GDPR compliant, 18 KB script

  • 13,165 GitHub stars
  • AGPL-3.0Licence AGPL-3.0
by category

Open source tools in these categories#

108

Data & Analytics

Firecrawl, ragflow, Worldmonitor
58

Marketing & Growth

agency-agents, MoneyPrinterTurbo, MiroFish

Sponsors

Inbox Zero

Alternative toSuperhuman

AI email assistant that drafts replies and clears your inbox

  • 12,826 GitHub stars
  • AGPL-3.0Licence AGPL-3.0
  • #Email

Omnara

Alternative toCClaude Managed Agents

Open-source agent deployment API. Self-host or use Omnara Cloud.

  • 3,235 GitHub stars
  • Apache-2.0Licence Apache-2.0
  • #AI Agents

rakazo

Alternative toGrok Bot

AI teammates you own: your keys, your model, your machine.

  • 5,914 GitHub stars
  • Apache-2.0Licence Apache-2.0
  • #AI Agents
Advertise your product

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Find open source alternatives to paid software

/
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • CapCut to Concat
  • Grok Bot to rakazo
  • Superhuman to Inbox Zero
  • Airtable to AITable
  • Muse to OpenClaw
  • Railway to Coolify
  • GitHub Copilot to Cline
  • Datadog to Netdata
  • Microsoft Teams to Rocket.Chat
  • Confluence to Docmost
  • Pinecone to Qdrant
  • Zapier to n8n
  • Devin AI to OpenHands
  • Firebase to Supabase
  • 1Password to KeePassXC
  • Contentful to Strapi
  • Adobe Premiere Pro to Shotcut
  • ChatGPT to AnythingLLM
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • CapCut to Concat
  • Grok Bot to rakazo
  • Superhuman to Inbox Zero
  • Airtable to AITable
  • Muse to OpenClaw
  • Railway to Coolify
  • GitHub Copilot to Cline
  • Datadog to Netdata
  • Microsoft Teams to Rocket.Chat
  • Confluence to Docmost
  • Pinecone to Qdrant
  • Zapier to n8n
  • Devin AI to OpenHands
  • Firebase to Supabase
  • 1Password to KeePassXC
  • Contentful to Strapi
  • Adobe Premiere Pro to Shotcut
  • ChatGPT to AnythingLLM