Payments integration
Dodo Payments attribution for global SaaS and digital sales
Dodo handles payments and tax across countries. SourceLoop answers the marketing question: which channel produced each customer, whether a Google search, a YouTube tutorial, a Reddit thread, an email, or an ad, and how much they've paid since.
Free 7-day trial. No credit card required.
- Connection
- Webhook + API metadata
- APIs
- Payments and Subscriptions
- Currencies
- Original amounts captured
- Static share links
- Email-matched
What does SourceLoop add to Dodo Payments?
SourceLoop provides marketing attribution for Dodo Payments using a webhook and payment metadata. The webhook delivers payments, subscription renewals, failures, expirations, and refunds; visitor identifiers from SourceLoop's first-party tracker travel as metadata through the Dodo Payments API for one-time purchases or the Subscriptions API for recurring plans. Each payment and subscription.renewed event is matched back to the buyer's original channel and campaign, revenue is reported by source in your reporting currency, and purchases can be sent to ChatGPT Ads, Meta, Google Ads, and Microsoft Ads.
Updated November 2026
The gap
What Dodo's dashboard leaves to guesswork
-
Customers without a channel
Dodo knows who paid, where, and how much. The tutorial, community post, or campaign that sent them isn't part of the transaction.
-
Renewals drift away from marketing
A subscriber renews month after month, and none of that recurring revenue is credited to the channel that won them.
-
Global sales, scattered sources
Selling across many countries makes it harder still to see which markets and channels bring paying customers rather than browsers.
What you get
How Dodo payments become attributed revenue
-
One-time and recurring, both covered
Lifetime deals and course purchases go through the Payments API, subscriptions through the Subscriptions API, and both carry SourceLoop metadata.
-
Each renewal follows the original channel
Each subscription.renewed event joins the subscriber's contact, so MRR and LTV accrue to the channel behind the first payment.
-
Failures and refunds subtracted
refund.succeeded, subscription.failed, and subscription.expired lower the revenue counted for the lead's original channel.
-
Revenue by country and channel
Compare revenue, LTV, and ROAS by market and acquisition channel, under a first-touch or multi-touch attribution model, and sync paying customers to your CRM with their source.
The data
Recorded for every Dodo buyer
Each payment event is combined with the buyer's pre-checkout visit.
| Field | Example | Written to |
|---|---|---|
| Source of the sale | Organic Social · youtube.com | Contact |
| Campaign tags | utm_source=reddit, utm_campaign=r-saas | Contact |
| Landing page and referrer | /lifetime-deal · reddit.com | Contact |
| Country and device | Brazil · mobile | Contact |
| Payment history | Payments, renewals, refunds | Contact |
Compared
Dodo's reports vs share links vs SourceLoop
Share links means sending customers static Dodo payment links, which carry no visitor metadata, so any attribution has to be guessed from email.
| Capability | Dodo reports | Static share links | SourceLoop |
|---|---|---|---|
| Acquisition channel per payment | No | Partly Email match only | Yes Per-visitor metadata |
| Recurring revenue tied to the source | No | No | Yes Each renewal |
| Refunds and failures netted | Partly Account level | No | Yes Per channel |
| Payments reported to ad platforms | No | No | Yes From the server |
Why it holds up
Know which channels pay off in every market
SourceLoop records each buyer's visit first-party on your site, then links every Dodo payment and renewal to it on its servers, whatever the currency.
Buyer journeys kept on your own domain
Payment values sent to ads server-side
What a buyer read before paying
Revenue by channel and country
How it works
Set up Dodo Payments in four steps
API examples for both flows are in How to track lead source in Dodo Payments.
-
<script async src="https://t.sourceloop.ai/tracking-v3.js"></script>
01Put SourceLoop on your site
Drop the snippet onto your pricing and checkout pages, so a buyer's visit exists before they pay.
-
Webhook
- Endpoint SourceLoop
- Events Payments, subscriptions
02Add a Dodo webhook
Create a webhook in Dodo's developer settings, aimed at SourceLoop and subscribed to the events SourceLoop lists.
-
Signing secret
- Secret ••••••••
- Verified Yes
03Save the signing secret
Paste Dodo's signing secret into SourceLoop to verify incoming events.
-
- Channel YouTube / Organic
- Country Brazil
- Renewals 1
04Send metadata with payments
Include the tracker's identifiers when creating payments or subscriptions through the Dodo API.
Conversion sync
Report Dodo revenue to your ad platforms
Report one-time payments, new subscribers, or each renewal, value included, to Microsoft Ads, Meta, Google Ads, and ChatGPT Ads as offline conversions, so campaigns in every market optimise for revenue.
- Each payment
- New subscribers
- Every renewal
Used by 750+ marketing teams, agencies, and SaaS companies
FAQ
Questions about Dodo Payments attribution
Does it work with the Payments API and the Subscriptions API?
Yes. Both share one webhook setup, and only the way you attach metadata differs between them.
Is renewal revenue credited back to where the customer came from?
Yes. Each subscription.renewed event is joined to the subscriber's contact, keeping MRR and LTV with the channel behind the first payment.
How do refunds and failed payments appear?
refund.succeeded, subscription.failed, and subscription.expired reduce the contact's attributed revenue, and the Traffic and Revenue report nets them by source.
Are payments through Dodo's static share links attributed?
Not per visitor. Share links carry no metadata, so SourceLoop falls back to matching by email. Create payments through the API with metadata for accurate stitching.
Do local currencies cause problems?
No. Dodo sends gross amounts in the original currency, SourceLoop records them, and reports show revenue in your reporting currency.
Will my other Dodo webhooks still fire?
Yes. SourceLoop is an additional endpoint, so every other destination keeps receiving Dodo events.