What does Stripe analytics usually mean?
Two different things. One is the revenue reporting inside Stripe: payments, balances, subscriptions and the metrics built from them. The other is joining Stripe revenue to marketing data, to answer which channels and campaigns produce paying customers. Stripe owns the first. The second needs the visit, and the visit happens on your site, before Stripe sees anything.
| Question | Answered by Stripe’s own data | Needs the visit |
|---|---|---|
| How much did we collect this month? | Yes | |
| What is MRR, and how many subscriptions are active? | Yes | |
| Which channel brought the customers who paid? | Yes | |
| Which blog post or landing page leads to revenue? | Yes | |
| Is a campaign’s revenue worth its cost? | Revenue side only with the campaign attached | Yes |
| Do visitors from ChatGPT pay more than visitors from search? | Yes |
Stripe is moving toward the second half for ads: its marketing analytics report combines Stripe payment data with Google Ads and Meta Ads data, and as of November 2026 it is behind an early access waiting list. It is built around ad campaigns, so organic search, referrals, newsletters and AI assistants are outside what it describes.
How is a Stripe payment linked to a visit?
Through metadata, the key-value pairs Stripe lets you attach to objects such as a Checkout Session. Your page asks the script for the visitor id, your server puts it in the session’s metadata, and the payment carries it back when Stripe sends the webhook.
- Get the id in the browser. Call
crispstats.id()in the click handler that starts checkout. - Put it in the Checkout Session. Add it to
metadataascrispstats_visitor_id, and tosubscription_data.metadatafor subscriptions, so renewals carry it too. - Connect Stripe with a restricted key. The webhook endpoint is created for you; a full secret key is refused.
The step-by-step guide, with code, is in the Stripe integration guide. Payments that arrive without a visitor id are still counted in revenue, and left out of the source breakdowns.
A worked example: one month of Stripe revenue by source
Stripe alone would report $2,940 from 60 new customers. By source, the newsletter earns about four times as much per visitor as paid social, and search brings half the revenue. If paid social cost $600 that month, it returned $392 against $600 spent, a return on ad spend of 0.65. The revenue per visitor calculator runs the same sum on your numbers.
What it does not do
- If RevenueCat bills through the same Stripe account, its Web Billing and Stripe purchases are counted through Stripe, so nothing counts twice.
- Payment Links have no per-visitor metadata; the guide shows how to pass the id in the link instead.
- Connecting with a key also imports past payments, from your first, on every plan. Most have no visit to tie to, so they count in revenue and MRR but stay out of the source breakdowns.
- Polar, Paddle, Dodo Payments, Creem, Whop, Razorpay, Freemius, Lemon Squeezy, Shopify, RevenueCat, Superwall, App Store and Shopify App Store connect the same way, with a key.
The Stripe connection is not a paid add-on: it works on every plan and in the 14-day free trial, and payments themselves never count as events.