Stripe + GA4
GA4 counts the visitors. Stripe holds the money. Appsdash puts both on one row per app and, with its snippet, says which channel paid.
Updated Dec 2, 2026.
Stripe plus Google Analytics 4
Revenue by channelInvoice Fox, 30 days$530
- Google$182
- Hacker News$145
- Reddit$77
- Direct$49
ChatGPT$48- X$29
The short answer.
Connect GA4 by signing in with Google (read-only) and picking the property, and Stripe with a restricted key. Appsdash reads GA4 every hour and Stripe every 15 minutes, then shows each app's visitors next to its revenue, MRR and churn, ranked with your other apps. To see which channel paid, add the Appsdash snippet and pass its visit id into the Checkout Session's client_reference_id or metadata.
GA4 on its own.
GA4 records revenue from ecommerce events you add yourself, such as a purchase event when a buyer pays. Google's help page says the events aren't sent automatically, and it names no Stripe connection. So in GA4, Stripe renewals, refunds and MRR only appear if you send them yourself.
GA4 purchase events or Appsdash.
GA4 can hold revenue, but only what your code sends it. Appsdash reads the money from Stripe and the traffic from GA4, and puts them on one row per app.
| What | GA4 | Appsdash |
|---|---|---|
| How revenue gets in | Ecommerce events you add, such as purchase; not sent automatically | Read from Stripe with a restricted, read-only key |
| Stripe connection | None named on Google's ecommerce help page | Every Stripe read permission ticked by the setup link |
| Renewals, refunds, MRR | Only what your code sends | From Stripe: renewals, refunds, MRR, churn and failed payments |
| Traffic | Counted by GA4 | Read from GA4 every hour, as daily totals |
How Appsdash reads Stripe.
Appsdash reads charges, invoices, refunds and subscriptions with a restricted key, read-only. Invoice tax is taken off, and revenue is payments minus refunds. If one Stripe account sells several apps, each app counts only the products you pick for it, split by line item.
Active and past-due subscriptions make MRR, converted to US dollars. Trials count from the day they end. Every change of status or amount is logged, so MRR movements (new, expansion, contraction, churned, reactivation), churn, ARPU and an LTV estimate build up from the day you connect.
How Appsdash reads GA4.
Appsdash imports up to 5 years of GA4 history, then reads today and the two days before every hour: users, views, sessions, bounce rate and time per day, plus pages, sources, campaigns, mediums, countries, devices, browsers and operating systems. GA4's users become visitors and its views become pageviews, on the same chart as everything else.
How to connect.
14 days of everything, no card. Then Solo from $9 a month for one app, or Studio from $19 for up to 50.
- Add the app. Type its domain. Appsdash reads the name from the page.
- Connect GA4. Sign in with Google with read-only Analytics access. The GA4 property on your domain is picked for you, else you choose it by name. Leave "Keep it in sync" on.
- Connect Stripe. The setup opens Stripe's create-key page with every permission already set to Read: click Create key and paste it. One account can be connected to several apps, each filtered to its own products.
- Optional: add the snippet for revenue per channel. One script tag, under 2 KB gzipped. Pass its visit id into the Checkout Session's client_reference_id or metadata and each new sale shows the source, campaign, landing page, country and device of the visit that bought.
The Stripe checkout line.
Only needed for revenue per channel. Keep whatever data you already send and add the visit id beside it.
// browser: send the visit id with the request that makes the session
fetch("/api/checkout", { method: "POST", body: JSON.stringify({ priceId, visit: window.appsdash?.visit?.() ?? "" }) });
// server
const session = await stripe.checkout.sessions.create({
mode: "subscription", // or "payment"
line_items: [{ price: priceId, quantity: 1 }],
client_reference_id: visit || undefined,
success_url, cancel_url,
});Already use client_reference_id? Put it in metadata: { appsdash_visit: visit } instead. The key needs Checkout Sessions read.
<script>
document.addEventListener("click", (e) => {
const a = e.target.closest('a[href^="https://buy.stripe.com/"]');
const visit = window.appsdash?.visit?.() ?? "";
if (!a || !visit) return;
const url = new URL(a.href);
url.searchParams.set("client_reference_id", visit);
a.href = url.toString();
}, true);
</script>Payment Links keep client_reference_id from the URL on the Checkout Session. The key needs Checkout Sessions read.
What you see.
- Revenue (payments minus refunds), MRR and paying customers per app, beside its visitors.
- MRR movements, churn, ARPU, an LTV estimate and past-due subscriptions at risk.
- Profit once you enter an app's costs, and a Grow, Steady or Drop? call with the reason.
- Alerts by email, Slack, Discord or Telegram for a sale, a failed payment or a cancelled subscription, and a Monday email ranking your apps.
- The same numbers in Claude, ChatGPT or Cursor through the MCP server.
What it doesn't do.
- Upgrades and downgrades exist only from the day you connect: Stripe describes a subscription as it is now.
- A Stripe charge with no invoice and no Checkout Session is left out once you pick products for an app.
- Whole days only: there's no realtime view from GA4, and GA4 finishes its days late.
- GA4 events, key events, audiences and explorations stay in GA4.
Questions.
Can I see revenue per channel with only GA4 and Stripe?
No. GA4 gives daily totals, so Appsdash shows the app's traffic and revenue side by side. Revenue per source, campaign or landing page needs the Appsdash snippet on the site and its visit id in Stripe's checkout. The snippet can run beside GA4.
Which Stripe key does Appsdash need?
A restricted key with Read on Charges and Refunds, Invoices, Subscriptions, Balance, Balance Transaction Sources, Products, Prices, Checkout Sessions, Customers and Payment Intents. The setup link ticks all of them. Appsdash never writes to Stripe.
Do I have to stop using GA4?
No. Appsdash only reads GA4. Keep it for ads and audiences; if you later add the Appsdash snippet, it takes over the app's numbers from its first day and the GA4 connection hands over by itself.
Do Stripe renewals count?
Yes, in revenue and MRR. They are not credited to a channel: only one-time payments and a subscription's first payment are tied to a visit.
Read next.
- Move from Google Analytics 4 with your history
- Google Analytics 4 with every provider
- Stripe with every analytics tool
- Revenue per traffic source, explained
- Track revenue across several apps
- All integrations
Sources, checked Dec 2, 2026
Spotted something wrong? Write to younes@appsdash.co and it gets fixed.
See which app and which channel pays.
14 days free · no card