Support/Revenue Attribution
Revenue Attribution

Attribute revenue with Stripe Payment Links

Before proceeding, confirm that you have linked your Stripe account.

No configuration required. With the Flowsery script installed, it automatically appends the visitor id to your Stripe Payment Link URLs as client_reference_id the moment a visitor clicks the link. Flowsery reads it from the checkout.session.completed webhook and attributes the payment to that visitor's traffic source.

This works for any buy.stripe.com Payment Link rendered as a normal link (<a href="...">) on your site — no redirect or dashboard configuration needed.

Important notes

  • Don't set your own client_reference_id on the link if you want automatic attribution — Flowsery only fills it when it is empty.
  • Works when the visitor clicks the Payment Link in the same browser where the Flowsery script runs.
  • Duplicate payment events are automatically ignored.
  • For checkouts created with the API (not Payment Links), forward the cookies via metadata instead — see Checkout API.

Following a successful payment, revenue data appears in your dashboard (referrer, country, browser, etc.).