Paddle revenue attribution
Paddle Revenue Attribution: Connect Paddle Payments to the Source That Earned Them
Attribute Paddle Billing revenue to traffic sources: pass customData at checkout, read custom_data from transaction.completed, handle renewals, refunds, and minor-unit totals correctly.
Why Paddle cannot tell you which channel paid
Concise answer
Paddle sees the checkout, not the journey. Everything that identifies the source of a sale lives on your website before checkout opens, so unless you hand it to Paddle, it never reaches the payment record.
As the merchant of record, Paddle handles the parts of a sale most founders are glad to give away: tax calculation, invoicing, payment methods, and compliance across countries. What it does not handle, and cannot, is the part of the story that happened before the buyer clicked your pricing button. The blog post that ranked, the comparison page they read twice, the newsletter link, the ChatGPT answer that named you: none of it is visible to a checkout that opens after the fact.
That leaves a familiar split. Your analytics tool knows that a visitor arrived from a campaign and reached the pricing page. Paddle knows that a customer paid 29 dollars for the monthly plan. Each system is accurate about its own half, and neither can answer the question a founder actually asks: which source produced paying customers, and how much did they pay?
The answer requires a join key that exists in both systems. On Paddle, that key has a documented home: the custom data object that every transaction and subscription carries. The rest of this guide is about filling that object correctly, reading it back correctly, and being honest about the cases where it is empty. If you want the general model first, the revenue attribution guide covers the vocabulary used here.
What each system can and cannot know
Paddle can tell you the customer ID, the products and prices, the currency, the totals, the billing period, the payment attempts, and whether a subscription renewed or went past due. It cannot tell you the referrer, the landing page, the UTM parameters, or the click identifier from an ad platform, because those exist only in the browser session that preceded checkout.
Your site can tell you all of those journey fields, but it only ever sees a checkout start. Whether the payment succeeded, what was charged after tax and discounts, and whether the customer renewed three months later are facts that only Paddle holds. Attribution is the discipline of moving the minimum journey evidence into the payment record so the two halves can be joined without guessing.
The evidence chain from first visit to transaction.completed
Concise answer
Eight hops carry a source from the first visit to net revenue. Each hop has a specific field and a specific failure mode, and a broken hop usually looks like a channel performing badly rather than like a tracking bug.
Before writing any code, map the chain. The table below lists each hop. Read the last column carefully: most Paddle attribution problems are not missing features, they are one of these hops silently dropping data.
| Step | Where the evidence lives | Field to check | Typical failure |
|---|---|---|---|
| First visit | Your site | Referrer, landing URL, UTM parameters, click IDs | Parameters stripped by a redirect before the tracker reads them |
| Checkout opens | Paddle.js call or HTML launcher | customData or data-custom-data | Checkout opened without passing the object |
| Checkout updated | Paddle.Checkout.updateCheckout() | customData | An update replaces the object and drops identifiers set earlier |
| Transaction created | Paddle transaction entity | custom_data | Server-created transaction built without custom_data |
| Subscription created | Paddle subscription entity | custom_data (copied) | Expected, unless the transaction had no custom data to copy |
| Renewal billed | New transaction from the subscription | custom_data (copied) | Subscription custom data was later patched or set to null |
| Revenue recorded | transaction.completed webhook | data.custom_data, details.totals.grand_total | Totals read as major units; signature check run against a re-serialized body |
| Refund or chargeback | Paddle adjustment entity | transaction_id, action, status | Adjustments ignored, so source revenue stays gross |
Step one: pass attribution into Paddle checkout
Concise answer
Read the identifiers from your tracker at the moment checkout opens, and pass them as a flat customData object. Do it in one place, so every checkout path sends the same keys.
Paddle's documentation describes custom data as a key-value JSON object stored against transactions and subscriptions. There are three ways to set it at checkout time, and which one you use depends on how your checkout is built. In each case the payload should be the same: a stable visitor identifier, the current session identifier, the landing URL, the referrer, and any campaign or click fields that were present on the visit.
Paddle.js overlay or inline checkout
If you open checkout with Paddle.Checkout.open(), add a customData property beside items and customer. With the Metrivo tracker installed, the call looks like this: Paddle.Checkout.open({ items: [{ priceId: 'pri_...', quantity: 1 }], customData: window.Metrivo.getAttributionMetadata() }). The method returns the visitor ID, session ID, site key, landing URL, referrer, and any UTM or click-ID fields captured on the visit, as a flat object of strings.
Build the object at click time rather than at page load. A visitor who lands from a campaign, reads three pages, and then opens checkout should carry the session that actually reached checkout, and reading the tracker at click time gets you that.
HTML checkout launcher
Paddle also supports a data-custom-data attribute on a checkout launcher element. This works for static pages, but the attribute has to be populated before the click, which means a small script that writes the JSON into the attribute when the page loads and again if the session changes. If you can use the JavaScript method instead, it is the more reliable option because the values are read at the moment of the click.
Transactions created on your server
If your backend creates the transaction through Paddle's API and then hands the transaction ID to checkout, include custom_data in that request. The browser has to send the identifiers to your backend first, usually as part of the request that starts checkout. This is the path that most often drops attribution, because the server code was written before anyone thought about marketing evidence. The Paddle setup docs show the server-side shape.
Two rules that prevent silent data loss
Keep the object flat. Paddle allows nested objects but recommends against them, and a flat set of string keys is easier to read back in webhooks, exports, and the Paddle dashboard.
Be careful with Paddle.Checkout.updateCheckout(). Since February 2025 it accepts customData, and Paddle documents that the update replaces any existing custom data on that checkout rather than merging into it. If your app updates checkout to change a quantity or apply a discount and passes a fresh customData object without the attribution keys, the identifiers are gone. Either pass the full object every time or do not pass customData on updates at all.
Step two: read it back from the webhook without corrupting it
Concise answer
Treat transaction.completed as the revenue event, verify the signature against the raw body, read custom_data from the transaction, and convert totals from minor units. Each of those four steps has a common mistake.
Paddle sends webhooks to a notification destination you configure, signed with that destination's secret. The Paddle-Signature header contains a Unix timestamp and an h1 signature. The signed payload is the timestamp, a colon, and the request body exactly as received; the signature is an HMAC-SHA256 of that string. Paddle explicitly warns against transforming the raw body before verification, because even reformatting whitespace changes the signed payload. Paddle's SDK helpers also reject events whose timestamp is more than five seconds away from the current time by default, which guards against replayed requests.
Once verified, the transaction object carries everything attribution needs: the transaction ID, the customer ID, the subscription ID when one exists, the currency, the totals, and the custom_data object you set at checkout. Use transaction.completed as the point at which revenue is recognized. Earlier transaction states exist for good reasons, but counting them as revenue double-counts or counts payments that never settle.
The unit trap: a 29 dollar sale recorded as 2,900
Paddle Billing amounts are strings containing integers in the lowest denomination of the currency. Paddle's own webhook reference shows a grand_total of 65215, which is 652.15 in a two-decimal currency. A 29 dollar subscription arrives as 2900. Code that parses the string as a decimal amount records that sale as 2,900 dollars, and every chart built on it is one hundred times too high.
This mistake survives testing more often than it should, because test fixtures are frequently written by hand with values like 29.00, which happen to parse correctly. Test against a payload shaped like Paddle's documented example instead. Also note that the multiplier is not always 100: the divisor comes from the currency's minor-unit exponent, so a yen amount is already in whole units.
No email address in the transaction
The transaction payload identifies the buyer by customer_id, a Paddle ID that starts with ctm_. It does not include the customer's email address. That matters because many attribution tools fall back to matching an email seen at checkout against an email captured earlier on your site. With Paddle transactions, that fallback has nothing to read unless you fetch the customer separately or link the customer ID to the visitor yourself.
Paddle.js gives you an opening for the second option. Its checkout.completed browser event includes the customer's ID and email along with the transaction ID. Passing that customer ID to your analytics identify call at that moment links the Paddle customer to the visitor, so a later payment from the same customer can be matched even if custom data was missing on that particular transaction.
Renewals: why Paddle attribution behaves like acquisition-source attribution
Concise answer
Because Paddle copies custom data from the first transaction to the subscription and then to each renewal, recurring revenue keeps pointing at the session that acquired the customer. That is usually what you want for MRR by source, and it is worth understanding before you compare it with other tools.
Paddle documents the propagation directly: when a transaction with recurring items creates a subscription, its custom data is copied to the subscription, and transactions later created from that subscription, including renewals, upgrades, and downgrades, inherit the subscription's custom data. In practice, the identifiers set on day one ride along with every renewal.
This is a meaningful advantage for subscription businesses. Month-six revenue stays connected to the campaign or article that started the relationship, without any extra work, which is exactly the input needed for MRR attribution by source and for cohort retention by acquisition source. A channel that brings customers who stay will show more revenue over time than one that brings customers who leave, even when their first-payment numbers look identical.
It also means renewals are not credited to whatever the customer clicked last. If you run a win-back email and the customer renews the next day, Paddle's renewal still carries the original acquisition identifiers. If you want to measure the influence of a retention campaign, measure it as its own event rather than expecting renewal attribution to move.
Patching a subscription's custom data later changes what future renewals inherit, and Paddle does not allow editing a transaction once it is billed, completed, or canceled. Decide deliberately whether a later edit should overwrite acquisition evidence; in most cases it should not.
Refunds and chargebacks: the adjustment join
Concise answer
A refund in Paddle Billing is not a change to the original transaction. It is a separate adjustment that references it, moves through an approval status, and must be joined back to the original transaction before source revenue is net of refunds.
Paddle represents refunds, credits, and chargebacks as adjustments. The original transaction stays unchanged for record-keeping, and the adjustment carries the transaction ID, an action such as refund, chargeback, or chargeback_reverse, and the amount. Refunds start in a pending approval status and move to approved or rejected; Paddle sends adjustment.created when one is made and adjustment.updated when its status changes. Paddle's documentation notes that many smaller refunds on verified accounts are approved automatically, while others are reviewed.
For attribution, the practical rule is simple. Gross revenue by source can be built from completed transactions alone. Net revenue by source requires following each approved adjustment back to its original transaction, inheriting that transaction's attributed source, and subtracting. A pending refund is not yet a reversal and should not be subtracted. The net revenue attribution guide walks through the accounting choices, including how to report a chargeback that is later reversed.
When custom data is missing: report unknown, not direct
Concise answer
A completed Paddle transaction with empty custom data is evidence that instrumentation failed for that checkout. Labeling it unknown keeps the gap visible; crediting it to direct traffic hides it inside a channel.
Some share of transactions will always arrive without attribution: a checkout opened from an old link, a sales-assisted invoice, a customer who blocked scripts, or a code path nobody updated. The tempting move is to put those payments in a direct or none bucket. The trouble is that direct traffic is a real channel with real meaning, and mixing instrumentation failures into it makes the channel look stronger than it is while making the failure invisible.
Report these payments as unknown or unattributed, and track that share over time. If it rises after a release, a checkout path stopped passing custom data. If it is concentrated in one product or price, that path is the one to fix first. An honest unknown bucket is the most useful attribution metric you have, because it is the one that tells you whether every other number can be trusted.
- Exact identifier present in custom data, with a matching recorded session: the strongest evidence a Paddle payment can carry.
- Customer ID previously linked to a visitor through an identify call: a stable identity, useful when a later transaction lacks custom data.
- Campaign fields present in custom data but no recorded session: usable source evidence with weak identity, so treat it as low confidence.
- Nothing present: unknown. Fix the checkout path rather than inferring a source.
How Metrivo handles Paddle, and where it does not
Concise answer
Metrivo verifies Paddle's signed webhooks, records revenue from transaction.completed, reads attribution identifiers from custom_data, and labels every match with a confidence level. It does not yet net Paddle refunds out of source revenue in its attribution view.
Metrivo is built for SaaS founders who are their own growth team and need the answer to this guide's question without assembling it from three exports. The Paddle integration works the way this article recommends, and the specifics below are taken from the current implementation rather than a roadmap.
What the integration does today
You create a notification destination in Paddle pointing to a Metrivo webhook URL and save the endpoint secret in Metrivo. The integration is marked active only after a correctly signed webhook arrives; saving a secret alone does not count. Metrivo verifies the Paddle-Signature HMAC against the raw request body before reading anything.
Revenue is recorded from transaction.completed, with totals read as minor units using the currency's ISO exponent. Failed payments are recorded from transaction.payment_failed and subscription.past_due. Metrivo reads its identifiers from custom_data, including the visitor ID, session ID, site key, landing URL, referrer, UTM fields, and click IDs, which is exactly the object window.Metrivo.getAttributionMetadata() returns. The tracker's identify call also accepts a customer ID, so passing the Paddle customer ID from the checkout.completed browser event links that customer to the visitor.
Each payment receives a last-touch attribution with a confidence label. High confidence requires a stable identity such as an exact session or customer match plus a recorded touchpoint and a clear source. Medium covers usable identity with incomplete supporting evidence. Low means source fields were present without a session link. Unknown means no usable evidence, and those payments stay visibly unattributed. The definitions are in the attribution confidence docs.
Limits to know before you rely on it
Paddle adjustments are not subtracted from source revenue in Metrivo's attribution view today, so per-source Paddle revenue is gross of refunds and chargebacks. Metrivo's Revenue Assurance reconciliation maps approved Paddle refund and chargeback adjustments separately where it is enabled for a workspace. If refunds are material for your business, compare net revenue in Paddle before making a budget decision from a per-source chart.
Attribution is last-touch within the evidence Metrivo can see. AI assistants and apps that strip the referrer still arrive as unknown or direct unless a UTM or other evidence identifies them, and Metrivo does not relabel that traffic as AI-sourced.
If your main goal is sending purchase conversions back to ad platforms to optimize bidding, a dedicated ad-attribution tool with conversion-API integrations is a better fit. Metrivo's job is narrower: show which source, page, or funnel step is leaking revenue, with the evidence attached, so you can decide what to fix first.
A fifteen-minute test before you trust any Paddle attribution report
Concise answer
Run one tagged sandbox purchase end to end and check five things. It takes less time than debating a chart, and it catches every failure mode in this guide.
Whatever tool you use, including Metrivo, verify it against Paddle's sandbox before the numbers influence a decision. Visit your site through a link with a distinctive campaign value, go through checkout, and then confirm each item below.
- The transaction in the Paddle dashboard shows your custom data keys, including the visitor or session identifier and the distinctive campaign value.
- The amount in your attribution report equals the price you charged, for example 29, not 2,900 and not 0.29.
- The payment is attributed to the distinctive campaign, with a confidence label you can explain from the evidence.
- A sandbox renewal of the same subscription arrives with the same custom data and the same attributed source.
- A checkout opened without custom data shows up as unknown or unattributed, not as direct traffic.
Frequently asked questions
Does Paddle track UTM parameters or traffic sources?
Not on its own. Paddle records the customer, products, prices, and totals of a transaction. UTM parameters, the referrer, and the landing page exist on your website, so you have to capture them there and pass them into checkout as custom data if you want them on the payment record.
Where do I put UTM parameters in Paddle checkout?
Pass them in the customData object when calling Paddle.Checkout.open(), in a data-custom-data attribute on an HTML checkout launcher, or in custom_data when your server creates the transaction through the API. Keep the object flat and include a visitor or session identifier as well, because campaign fields alone are weaker evidence than an identifier that links to a recorded visit.
Do Paddle renewals keep the original custom data?
Yes. Paddle copies custom data from a transaction to the subscription it creates, and transactions created from that subscription, such as renewals, upgrades, and downgrades, inherit it. Renewal revenue therefore stays attached to the original acquisition identifiers unless the subscription's custom data is changed later.
Why does my Paddle revenue look one hundred times too high?
Paddle Billing sends totals as integer strings in the currency's lowest denomination, so 2900 means 29.00 USD. Software that reads the value as a decimal amount records 2,900 instead. Convert using the currency's minor-unit exponent, and test with a payload shaped like Paddle's documented example rather than a hand-written fixture.
Can I add attribution data to a Paddle transaction after it completes?
No. Paddle does not allow editing a transaction once it is billed, completed, or canceled. You can update a subscription's custom data, which affects transactions created from it afterward, but the evidence for a completed payment has to be present before checkout finishes.
How should refunds affect revenue by source on Paddle?
Paddle records refunds and chargebacks as adjustments that reference the original transaction and move through an approval status. To report net revenue by source, join each approved adjustment to its original transaction and subtract it from that transaction's source. Pending adjustments should not be subtracted until they are approved.