TrackRev can never touch your money. The key it asks for grants read access to charges,
checkout sessions, customers and payment intents only. You can revoke it any time from your
Stripe dashboard.
Connect it
1
Open Integrations → Connect your revenue provider
Go to Configuration → Integrations (
/settings/integrations) and find section
“2 · Connect your revenue provider”. Choose Stripe.2
Create the restricted key
Click the Quick connect link. It opens Stripe’s Create restricted key screen with the
right read scopes pre-selected:
rak_charge_readrak_checkout_session_readrak_customer_readrak_payment_intent_readrak_webhook_write(optional — enables instant sync, see below)
rk_live_ (or
rk_test_ for test mode — both work).3
Paste and save
Paste the
rk_… key into TrackRev and save. TrackRev validates it with a single read call
before storing it. Done — the first sync begins shortly.What gets pulled, and when
- TrackRev pulls succeeded charges — up to the last 30 days on the first sync, then only new charges after that using a cursor.
- The scheduled sync runs hourly by default. You can also click Sync now on the connected provider at any time.
- Subscription renewals are ingested too and inherit the original sale’s channel, so lifetime value reflects true retained revenue.
Instant sync (recommended)
If you include therak_webhook_write scope on the key, TrackRev automatically registers a
read-only webhook on your Stripe account (for charge.succeeded, charge.refunded and
checkout.session.completed). New sales then attribute within seconds instead of waiting for
the hourly pull. Without that scope, everything still works — you’re just on the hourly cron.
How a charge joins back to the click
TrackRev resolves the visitor for each charge in this order:1
Charge metadata
charge.metadata.vid, if you set it on the PaymentIntent.2
Checkout session reference
The Checkout Session’s
client_reference_id.3
Checkout session metadata
The Checkout Session’s
metadata.vid.4
Email fallback
If none of the above are present, TrackRev matches on the customer’s email (attached to a
visitor via
identify()).Verify your setup
On the Integrations page, use Verify your checkout setup → Check attribution setup. TrackRev inspects your recent checkouts and reports one of:Next: pass the visitor id
The one line that makes attribution exact.

