Stripe
Attribute Stripe payments to traffic sources.
Connect
Settings → Revenue → Connect Stripe opens Stripe Connect with read-only access. Realific backfills the last 90 days of payments automatically.
Link payments to visitors
Pass the visitor id to Checkout so the payment is attributed exactly:
const session = await stripe.checkout.sessions.create({
// …
metadata: { realific_visitor_id: req.cookies['_rf_vid'] },
});
In the browser the id is also available as window.realific.v. Without it, Realific falls back to matching the customer email against identified users within 30 days.