Skip to main content
Paddle → PostHogIntegration guide

Connecting Paddle to PostHog

Paddle is the merchant of record, so it holds the transaction and your own database may have no record of the money at all. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Paddle transaction before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Paddle revenue in PostHog: tie transactions to distinct_id

Pass the PostHog distinct_id or your user ID into Paddle custom data at checkout, and capture a purchase from the transaction.completed webhook with plan, interval, net-of-tax amount and currency, deriving the event UUID from Paddle's event ID. Attach B2B purchases to the company group, and capture subscription.canceled with the reason so churn sits on the product timeline.

PostHog is useful to a Paddle seller because it can show which product behavior comes before payment, and that requires the Paddle transaction to land on the same person as the product events. Pass the PostHog distinct_id, or your user ID if you identify users with it, into Paddle's custom data when the checkout opens, and capture a purchase event from the transaction.completed webhook with that ID.

Send properties you will filter on: plan, billing interval, net-of-tax amount and currency. Derive the event's UUID deterministically from Paddle's event ID so a webhook retry doesn't double the revenue chart. For B2B, attach the event to the company group so a purchase shows against the whole team's activity. Check whether PostHog can read Paddle directly as a revenue or warehouse source on your plan; if it can, you may only need the purchase event for funnels, not for revenue totals.

Capture subscription.canceled, with the cancellation reason if you collect one, as an event too. The question PostHog answers better than Paddle's reports is which usage patterns come before churn, and that needs the cancellation on the same timeline as product events. Buyers who paid but never signed in will arrive as new persons; filter them out of activation funnels.

Paddle → PostHog · what breaks

Why this join usually fails — Paddle → PostHog

  1. 01

    The distinct_id never reaches Paddle

    Paddle's checkout is an overlay or a hosted page that never navigates, so nothing you set in a cookie follows the customer and no page-load trigger fires. The identifier must be passed in as custom data when the checkout is opened.

  2. 02

    An overlay checkout that never navigates

    Nothing loads a page, so anything expecting a thank-you page simply never fires — and the customer who closes the overlay on success is invisible.

  3. 03

    Self-hosting the analytics and the outage together

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  4. 04

    Nothing reconciles afterwards

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Paddle → PostHog · the fix

What working looks like — Paddle → PostHog

  • The distinct_id on every transaction

  • Conversions arriving in PostHog

    The event lands on the person profile and becomes available in insights, funnels and session replay.

  • Reconciled against the source

Paddle → PostHog · architecture

How Paddle and PostHog actually connect

  1. 1

    Paddle holds the truth

    Under a merchant-of-record model those three figures genuinely differ, and most Paddle reconciliation arguments turn out to be two people comparing two of them.

  2. 2

    PostHog needs a click to match

    PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.

  3. 3

    The identifier is the bridge

    The distinct_id, captured at the visit and carried into the Paddle transaction.

  4. 4

    The event source decides reliability

    Send from the webhook, not the overlay's JavaScript callback — the customer can close the overlay the instant payment succeeds and the callback never runs even though the money moved.

  5. 5

    Deduplication at the destination

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

Paddle → PostHog · normal or broken

Working vs. broken, side by side — Paddle → PostHog

Normal, not a fault

  • The distinct_id present on the transaction

  • Sent from the transaction.completed webhook

  • Deduplicated correctly

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

  • Reconciles with the source

Actually broken

  • The distinct_id missing on most records

    Paddle's checkout is an overlay or a hosted page that never navigates, so nothing you set in a cookie follows the customer and no page-load trigger fires. The identifier must be passed in as custom data when the checkout is opened.

  • Sent from the browser

    Nothing loads a page, so anything expecting a thank-you page simply never fires — and the customer who closes the overlay on success is invisible.

  • Counted twice, or not at all

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  • Nobody has reconciled it

Paddle → PostHog · diagnose

Diagnostic order — Paddle → PostHog

  1. 01

    Count transactions carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Open a Paddle transaction and read its custom data

    If the identifier is not there, the join is broken at the source and every other check is wasted effort.

  4. 04

    Check ingestion health and disk before debugging any missing event

    On self-hosted instances the answer is infrastructure far more often than it is instrumentation.

  5. 05

    Read the match rate, not the success message

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Paddle → PostHog · prove

How it gets proven — Paddle → PostHog

Source of truth

Paddle's transaction list, at a stated value definition — gross, net of tax, or your payout.

  • The distinct_id confirmed present on a live transaction.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • A purchase where the overlay was closed immediately, confirmed to still report.

Paddle → PostHog · free audit

What we check in the free audit

  • Count transactions carrying the distinct_id
  • Follow one real conversion end to end
  • Open a Paddle transaction and read its custom data
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Paddle's transaction list, at a stated value definition — gross, net of tax, or your payout.

Get my free conversion tracking audit

Free30 minutesNo obligation

Paddle → PostHog · when not to buy

When you don't need this — Paddle → PostHog

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the distinct_id.
  • If you sell a single one-off product in one currency with no subscriptions, Paddle's own reporting may be all you need.
  • If you have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.

Paddle → PostHog · what we deliver

What gets built — Paddle → PostHog

  • Identifier capture into Paddle

    Pass the click identifier as custom data at checkout creation. It then appears on the transaction record and survives to the webhook.

  • Event source: the transaction.completed webhook

    Send from the webhook, not the overlay's JavaScript callback — the customer can close the overlay the instant payment succeeds and the callback never runs even though the money moved.

  • Dispatch to PostHog

    The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.

  • Reversals where they exist

    Paddle exposes refunds and chargebacks and handles both, so reversals are straightforward and almost never wired.

Written guarantee

95%+ tracking accuracy

Measured against Paddle's transaction list, at a stated value definition — gross, net of tax, or your payout.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Paddle → PostHog questions, answered

Pass the PostHog distinct_id into Paddle's custom data at checkout and capture the purchase from the webhook with that ID.

Free · 30 min

Get Paddle and PostHog joined properly

Free30 minutesNo obligation