Know which traffic brings in your Stripe revenue
Stripe tells you who paid. Datarevly tells you where they came from: the search, post, campaign or landing page that won the customer, for one-off payments, subscription renewals and refunds.
Free up to 5,000 events a month. No credit card.
Pageview analytics stop before the money
Most analytics tools count visits and signups, then lose the trail at checkout. You end up guessing which channel is worth more time and budget, or stitching spreadsheets together every month.
How it works
- 1
Paste a restricted key
Create a read-only restricted key in Stripe and paste it into your site's settings. Datarevly creates its own webhook.
- 2
Pass the visitor id to checkout
Send the visitor id as client_reference_id (or metadata) when you create a Checkout Session. One line of code.
- 3
See revenue by source
The last 12 months are imported, and new payments, renewals and refunds arrive in real time.
const session = await stripe.checkout.sessions.create({
mode: "subscription",
line_items: [{ price: "price_...", quantity: 1 }],
client_reference_id: visitorId, // from datarevly("getVisitorId", cb)
success_url: "https://example.com/thanks",
});What you get
Last-touch and first-touch
Credit the visit right before the sale, or the one that first brought the customer in.
Subscriptions done right
Renewals are credited to the visit that won the customer. MRR, new MRR and churn are tracked per month.
Refunds come off the right source
A refund is subtracted from the channel that earned the original payment.
Ad spend and ROAS
Add what you spent on a source or campaign and see return on ad spend next to revenue.
Questions
Does Datarevly need full access to my Stripe account?
No. You create a restricted key with read access to charges, invoices, subscriptions and refunds, plus permission to manage webhook endpoints. Keys are stored encrypted.
Does it work with Stripe Checkout, Payment Links and invoices?
Yes. Checkout Sessions, subscription invoices and refunds are all tracked. Pass the visitor id through client_reference_id or metadata so payments link back to a visit.
What if a customer visits on Monday and pays on Friday?
Payments are credited to the visitor's last visit from an external source in the 30 days before paying, so the original Google search or post still gets the credit.