Short answer: To see which ad brought a Stripe payment, record the ad click when the visitor lands (click id and utm tags), identify the visitor by email when they sign up, and match each Stripe charge to that email. The charge then inherits the visitor's ad history, even if they paid days later or on another device.
Stripe knows who paid and how much, but not why they came. Your ads know who clicked, but not who paid. Attribution joins the two through the buyer's email.
The three pieces
- A script on your site that keeps each visitor's source: gclid, fbclid, ttclid and utm tags.
- An identify call at sign-up or checkout with the email, so visits on phone and laptop become one person.
- Your Stripe payments read with a restricted key, matched to that person by email.
Use a restricted Stripe key
In Stripe, create a restricted key with read access to Charges and Customers only. It cannot move money or change anything, and you can revoke it at any time.
What you can answer afterwards
- Revenue and ROAS per ad, not just per campaign.
- Which keywords bring paying customers rather than sign-ups.
- Lifetime value by the channel that first brought each customer.
- Which ads to scale and which to switch off.
In Distribute, connect Stripe under Connections and every successful, unrefunded payment shows up in Attribution within the hour, credited to its source.
Check your return on ad spend with the free ROAS calculator
Plan spend per channel with the free marketing budget template
Distribute researches your site, plans campaigns, writes and grades every ad, and manages budgets and rules across Google, Meta and TikTok. Nothing goes live or changes without your approval. 5% of the ad spend it manages. You pay the platforms directly from your own account.
Questions people ask
What about subscriptions that renew?
Each renewal is a separate charge, so lifetime value builds up per customer and per first source automatically.
Does this work with Paddle or Lemon Squeezy?
Yes, by sending each sale with the buyer's email to a sales webhook from Zapier or Make.