Stripe Payment Links

No-code revenue attribution with Stripe Payment Links. The attribu.tech pixel handles everything automatically.

← Revenue attribution

Make sure you've connected Stripe in your attribu.tech dashboard first. You need a restricted API key linked before payments can be attributed.

How it works

Stripe Payment Links support a built-in redirect after payment. When you configure the redirect, Stripe appends a ?session_id=cs_xxx parameter to your success URL. The attribu.tech pixel automatically detects this parameter and sends a payment event to your dashboard.

Setup

  1. Open your Payment Link in the Stripe Dashboard
  2. Go to After Payment
  3. Select Don't show confirmation page
  4. Enter your success page URL, e.g. https://yourdomain.com/success
  5. Stripe will automatically append ?session_id={CHECKOUT_SESSION_ID} to the URL

That's it. Make sure the attribu.tech pixel is installed on your success page, and attribution happens automatically.

No code needed. No metadata to pass. Just install the pixel and configure the redirect. This is the easiest path to revenue attribution.

Important notes

  • Duplicate payments are ignored. If the same session_id is detected more than once, only the first event is recorded.
  • Works best on the same device and browser. The pixel matches the payment to the visitor using the attribu_visitor_id cookie. If the visitor pays on a different device than they browsed on, the cookie won't be present and attribution falls back to email matching.
  • Pixel must be on the success page. The redirect page must have the attribu.tech script installed for the auto-detection to work.

When to use

  • No-code payment flows -- you share a Stripe Payment Link directly with customers
  • Landing pages -- link a "Buy now" button to a Stripe Payment Link
  • Email and social -- share Payment Links in campaigns and track which channel drives revenue

If you use Stripe Checkout (server-side), see the Checkout Session guide. If you build custom forms with Stripe Elements, see the PaymentIntent guide.

Copied