# DataPocket > Web analytics with revenue attribution. Every traffic source, page, campaign and country shows the revenue it made, not just visits. Free for every website, with every feature: there is no paid plan. ## Facts - Price: free. Unlimited websites, fair use of 5 million events per site per month, 5 years of data history. No trial and no credit card. - Tracking: one script tag (under 5 KB gzipped, loaded with defer). Single-page apps are tracked automatically. A cookieless script is available. - Revenue: Stripe (restricted API key), Shopify (custom app token), WooCommerce (WordPress plugin), or any provider through the Payment API. Each sale is credited to the channel, campaign and landing page of the buyer's first visit. - Goals, funnels and customer journeys; a live visitor globe; public dashboards; a REST API for payments and server-side goals (reference: /reference/rest-api). - AI crawlers: server-side snippets report ChatGPT, Claude, Perplexity and other assistants that fetch pages, split into AI answers, search indexing and model training. - MCP server: a remote MCP server at https://datapocket.vo1d.studio/api/mcp (Streamable HTTP, OAuth sign-in or a read-only API key) gives Claude, Cursor and other assistants 17 read-only analytics tools (reference: /reference/mcp). - Analyst: statistics that run on DataPocket's own servers explain changes and forecast the month. No data is sent to outside AI providers. - Privacy: IP addresses are used for city-level location and are never stored. No ad tracking or resale. - Limits: a young, independent service with no uptime guarantee; closed source, so it cannot be self-hosted. Last updated: 2026-11-23 ## Pages Every page below is also available as Markdown: add .md to its URL (home: https://datapocket.vo1d.studio/index.md). The whole site in one file: https://datapocket.vo1d.studio/llms-full.txt - [Home](https://datapocket.vo1d.studio/): overview, live demo, comparison with Google Analytics 4, Plausible and DataFast, FAQ - [Install guides](https://datapocket.vo1d.studio/docs): install DataPocket on 25 platforms, code and no-code - [Comparisons](https://datapocket.vo1d.studio/compare): DataPocket vs Google Analytics 4, Plausible, DataFast, Fathom, Simple Analytics and Umami: price, traffic limits, revenue by channel and when each wins. - [Guides](https://datapocket.vo1d.studio/guides): How-to guides for revenue by traffic source, Stripe revenue attribution, measuring traffic from ChatGPT and other AI assistants, and auditing your site's SEO with DataPocket. - [Reference](https://datapocket.vo1d.studio/reference): Reference for the DataPocket tracking script, the first-party proxy contract, the REST API for payments and goals, the read API, and the remote MCP server for Claude, Cursor and other AI assistants. - [AI crawler tracking](https://datapocket.vo1d.studio/docs/ai-bots): see when ChatGPT, Claude and Perplexity fetch your pages, plus search and training crawlers - [Sign up](https://datapocket.vo1d.studio/signup): create a free account ## Comparisons Side-by-side comparisons with the analytics tools people most often weigh against DataPocket. Every competitor fact comes from the vendor's own pricing and documentation pages, and each page says when the other tool is the better pick. Index: https://datapocket.vo1d.studio/compare - [DataPocket vs Google Analytics 4](https://datapocket.vo1d.studio/compare/google-analytics): DataPocket and Google Analytics 4 compared: price, traffic limits, revenue by channel, data history, and when each one is the better pick. - [DataPocket vs Plausible](https://datapocket.vo1d.studio/compare/plausible): DataPocket and Plausible compared: price, traffic limits, revenue by channel, self-hosting, and when each one is the better pick. - [DataPocket vs DataFast](https://datapocket.vo1d.studio/compare/datafast): DataPocket and DataFast compared: price, traffic limits, revenue integrations, data history, and when each one is the better pick. - [DataPocket vs Fathom Analytics](https://datapocket.vo1d.studio/compare/fathom): DataPocket vs Fathom Analytics: Fathom starts at $15/month for 100k pageviews; DataPocket is free, with Stripe revenue by channel. Prices and when each wins. - [DataPocket vs Simple Analytics](https://datapocket.vo1d.studio/compare/simple-analytics): DataPocket vs Simple Analytics: EU-hosted Simple Analytics is $20/month at 100k pageviews; DataPocket is free, with revenue by channel. When each one wins. - [DataPocket vs Umami](https://datapocket.vo1d.studio/compare/umami): DataPocket vs Umami: open-source Umami is free to self-host; DataPocket is free and hosted, with Stripe, Shopify and WooCommerce revenue by channel built in. ## Guides Step-by-step answers to the questions DataPocket was built for: which traffic sources make money, how to attribute Stripe payments, how much traffic AI assistants send, and what's holding your pages back in search. Index: https://datapocket.vo1d.studio/guides - [How to see which traffic sources make money](https://datapocket.vo1d.studio/guides/revenue-by-traffic-source): Connect your payments to your analytics so every channel, referrer, campaign and page shows the revenue it brought, not just visits. Free with DataPocket. - [Track Stripe revenue by traffic source](https://datapocket.vo1d.studio/guides/stripe-revenue-attribution): See which channels, referrers and campaigns bring Stripe customers. Works with Stripe Checkout and Payment Links without code, or with Checkout Session metadata. - [How to see traffic from ChatGPT, Perplexity and other AI assistants](https://datapocket.vo1d.studio/guides/chatgpt-traffic): Measure the visitors ChatGPT, Perplexity, Claude, Gemini and Copilot send you, the revenue they bring, and which pages the assistants read to answer questions. - [SEO score, Core Web Vitals and missing pages, from your own traffic](https://datapocket.vo1d.studio/guides/seo-audit): A daily SEO audit of the pages your visitors actually open, weighted by their traffic, with real-user Core Web Vitals, 404s and where they come from, crawler coverage and Lighthouse scores. ## Reference The exact rules, read from DataPocket's code: every script attribute, what a first-party proxy must forward, the payment, goal and stats endpoints, and the MCP server that gives AI assistants read-only access to your analytics. Index: https://datapocket.vo1d.studio/reference - [Tracking script reference](https://datapocket.vo1d.studio/reference/tracking-script): Every attribute of the DataPocket script, the window.datapocket() API and its limits, what leaves the browser, cookieless mode, and pinned versions with Subresource Integrity. - [First-party proxy: what to forward](https://datapocket.vo1d.studio/reference/first-party-proxy): What a proxy serving DataPocket from your own domain must forward (the event, User-Agent and the visitor's IP), what it must not (cookies), and how DataPocket reads the visitor's IP. - [REST API: payments and goals](https://datapocket.vo1d.studio/reference/rest-api): The DataPocket Payment API and server-side goals: authentication, every field, idempotency, currencies, how payments find their visitor, responses and errors. - [Read API: stats, visitors, funnels and insights](https://datapocket.vo1d.studio/reference/read-api): Read your DataPocket analytics over HTTPS with an API key: sites, overview, time series, breakdowns, goals, funnels, visitors, journeys, bots, realtime, annotations and the latest insights report. Parameters, limits and errors. - [MCP server: your analytics in Claude, Cursor and other AI assistants](https://datapocket.vo1d.studio/reference/mcp): Connect claude.ai, Claude Desktop, Claude Code, Cursor or any MCP client to DataPocket: sign in with OAuth or use a read-only API key. Setup, the 17 read-only tools, units, limits and how visitor-supplied text is handled. ## Install guides - [Install on Next.js](https://datapocket.vo1d.studio/docs/nextjs): App Router or Pages Router. Client-side navigations are tracked automatically. - [Install on Astro](https://datapocket.vo1d.studio/docs/astro): Static or server-rendered. Navigations with (view transitions) are tracked automatically. - [Install on React Router](https://datapocket.vo1d.studio/docs/react-router): Framework mode (Remix) and library mode. pushState navigations are tracked automatically. - [Install on Vue.js](https://datapocket.vo1d.studio/docs/vue): Vue 3 + Vue Router, Nuxt, Vite. History-mode routing is tracked automatically. - [Install on JavaScript apps](https://datapocket.vo1d.studio/docs/npm): React, Vue, Svelte or Angular: the script tag with typed calls, plus server-side payments and goals over HTTP. - [Install on Express](https://datapocket.vo1d.studio/docs/express): Serve the script and forward events from your Express server. - [Install on FastAPI](https://datapocket.vo1d.studio/docs/fastapi): Async proxy with httpx. - [Install on Flask](https://datapocket.vo1d.studio/docs/flask): Proxy with requests. - [Install on Django](https://datapocket.vo1d.studio/docs/django): Two views and two URL patterns. - [Install on Laravel](https://datapocket.vo1d.studio/docs/laravel): Routes with the Http client, excluded from CSRF. - [Install on PHP](https://datapocket.vo1d.studio/docs/php): One file, no framework, no rewrites. - [Install on NGINX](https://datapocket.vo1d.studio/docs/nginx): Two location blocks in your server config. - [Install on Caddy](https://datapocket.vo1d.studio/docs/caddy): A single handle block. Caddy sets X-Forwarded-For for you. - [Install on Google Tag Manager](https://datapocket.vo1d.studio/docs/gtm): A Custom HTML tag on All Pages. - [Install on Framer](https://datapocket.vo1d.studio/docs/framer): Site Settings → General → Custom Code. - [Install on Wix](https://datapocket.vo1d.studio/docs/wix): Settings → Custom Code (needs a Premium plan and a connected domain). - [Install on Webflow](https://datapocket.vo1d.studio/docs/webflow): Site Settings → Custom Code → Head code (paid site plan). - [Install on Bubble](https://datapocket.vo1d.studio/docs/bubble): Settings → SEO/metatags → Script/meta tags in header (paid plan). - [Install on Squarespace](https://datapocket.vo1d.studio/docs/squarespace): Settings → Advanced → Code Injection → Header (Core plan or higher). - [Install on WordPress](https://datapocket.vo1d.studio/docs/wordpress): Official plugin: tracking, built-in proxy, WooCommerce revenue. - [Install on Shopify](https://datapocket.vo1d.studio/docs/shopify): Theme snippet for the storefront, plus a custom pixel for checkout and verified order revenue. - [Install on Ghost](https://datapocket.vo1d.studio/docs/ghost): Settings → Code injection → Site header. - [Install on Kajabi](https://datapocket.vo1d.studio/docs/kajabi): Theme Settings → Header code. - [Install on Podia](https://datapocket.vo1d.studio/docs/podia): Site → Settings → Advanced → Custom HTML head code. - [Install on Lovable](https://datapocket.vo1d.studio/docs/lovable): Paste one prompt. Also works with Bolt, v0 and Replit.