Connecting Mollie to PostHog
Mollie is European payments built around local methods, so most of its transactions involve a redirect the shopper may not complete a return journey from. 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 Mollie payment 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
Mollie payment states as a PostHog funnel by payment method
Send Mollie payment created, paid, failed, expired and canceled as PostHog events with the payment method, for a funnel by method. Store the PostHog distinct_id in the Mollie payment metadata at checkout, then capture events from your backend when the webhook arrives, with a UUID derived from payment ID and status.
PostHog is the destination where Mollie's explicit statuses become most useful as data rather than just as a trigger. Send payment created, paid, failed, expired and canceled as events, each with the payment method, and you get a funnel that shows where iDEAL, Bancontact, card and bank transfer actually lose people. That is a product question a browser-only setup cannot answer, because the drop happens at the bank, outside your site.
The join is the distinct_id. Read it from the PostHog client when the shopper starts checkout, send it to your server, and store it in the Mollie payment metadata. When the webhook arrives, fetch the payment, read the status and capture an event against that distinct_id from your backend. The person who paid in their banking app and never returned then appears in the same funnel as everyone else, rather than as a drop-off that did not really happen.
Give each event a UUID derived from the payment ID and status, so a retried webhook does not create a second paid event; Mollie calls the webhook on every status change and retries on slow responses. If you self-host PostHog, the webhook handler should queue events when your instance is unavailable, because Mollie will not hold them for you indefinitely.
Mollie → PostHog · what breaks
Why this join usually fails — Mollie → PostHog
- 01
The distinct_id never reaches Mollie
The single most common cause. iDEAL, Bancontact and most of Mollie's methods redirect to a bank. The shopper approves there and a meaningful share close the tab rather than returning, so the payment exists and the confirmation page never loaded.
- 02
Bank redirects that shoppers do not return from
The defining problem in European payments. The money moves at the bank; your confirmation page is optional from the shopper's point of view, and a real share treat it that way.
- 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.
- 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.
Mollie → PostHog · the fix
What working looks like — Mollie → PostHog
The distinct_id on every payment
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Mollie → PostHog · architecture
How Mollie and PostHog actually connect
- 1
Mollie holds the truth
Mollie's payment states are explicit — open, paid, failed, expired, canceled — which makes it unusually clear what counts. Only paid is revenue.
- 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
The identifier is the bridge
The distinct_id, captured at the visit and carried into the Mollie payment.
- 4
The event source decides reliability
Fire when the payment status becomes paid. Never fire from the redirect URL — in this stack that is precisely the step a share of shoppers skip.
- 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.
Mollie → PostHog · normal or broken
Working vs. broken, side by side — Mollie → PostHog
Normal, not a fault
The distinct_id present on the payment
Sent from the Mollie payment 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
iDEAL, Bancontact and most of Mollie's methods redirect to a bank. The shopper approves there and a meaningful share close the tab rather than returning, so the payment exists and the confirmation page never loaded.
Sent from the browser
The defining problem in European payments. The money moves at the bank; your confirmation page is optional from the shopper's point of view, and a real share treat it that way.
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
Mollie → PostHog · diagnose
Diagnostic order — Mollie → PostHog
- 01
Count payments carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Count paid payments against confirmation-page loads for one day
The gap is the share of revenue a browser-side setup structurally cannot see.
- 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.
- 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.
Mollie → PostHog · prove
How it gets proven — Mollie → PostHog
Source of truth
Mollie's paid payments by date, in the payment's own currency.
- The distinct_id confirmed present on a live payment.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- An iDEAL or Bancontact payment abandoned at the return step, confirmed to still report.
Mollie → PostHog · free audit
What we check in the free audit
- Count payments carrying the distinct_id
- Follow one real conversion end to end
- Count paid payments against confirmation-page loads for one day
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Mollie's paid payments by date, in the payment's own currency.
Free30 minutesNo obligation
Mollie → PostHog · when not to buy
When you don't need this — Mollie → PostHog
- Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the distinct_id.
- If you take card payments only, the redirect problem is much smaller and a simpler setup may be adequate.
- 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.
Mollie → PostHog · what we deliver
What gets built — Mollie → PostHog
Identifier capture into Mollie
Pass the click identifier in the payment's metadata when your server creates it. Mollie returns metadata on the webhook, so it survives the redirect regardless of whether the shopper comes back.
Event source: the Mollie payment webhook
Fire when the payment status becomes paid. Never fire from the redirect URL — in this stack that is precisely the step a share of shoppers skip.
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
Refunds and chargebacks are exposed and carry the original payment's metadata.
Written guarantee
95%+ tracking accuracy
Measured against Mollie's paid payments by date, in the payment's own currency.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Mollie → PostHog questions, answered
Send each Mollie status change from the webhook as a PostHog event with the payment method as a property, then build a funnel from created to paid split by method.
Derive the event UUID from the Mollie payment ID plus status. PostHog deduplicates on the UUID, so a retried webhook does not add a second event.
Almost always because the distinct_id never reached the Mollie payment. iDEAL, Bancontact and most of Mollie's methods redirect to a bank. The shopper approves there and a meaningful share close the tab rather than returning, so the payment exists and the confirmation page never loaded. Measure coverage before debugging the dispatch.
PostHog identifies by distinct_id with an alias call to merge anonymous and identified users. On a self-hosted instance you also control the ingestion endpoint, which means the identifier survives ad blockers that would kill a third-party pixel — one of the few genuine technical advantages available to a first-party setup.
The Mollie payment webhook. Fire when the payment status becomes paid. Never fire from the redirect URL — in this stack that is precisely the step a share of shoppers skip.
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.
More on Mollie → PostHog
- Mollie → Google AdsConnecting Mollie to Google Ads
- Mollie → MetaConnecting Mollie to Meta Conversions API
- Mollie → GA4Connecting Mollie to GA4
RELATED GUIDES
Where Mollie → PostHog fits in the rest of your tracking
- Afterpay → PostHogConnecting Afterpay to PostHog
- Klarna → PostHogConnecting Klarna to PostHog
- Checkout.com → PostHogConnecting Checkout.com to PostHog
- Mollie → MixpanelConnecting Mollie to Mixpanel
- Mollie → AmplitudeConnecting Mollie to Amplitude
- SaaSConversion tracking for SaaS, from signup through to the payment that matters
- Square → PostHogConnecting Square to PostHog
- Zuora → PostHogConnecting Zuora to PostHog
Free · 30 min
Get Mollie and PostHog joined properly
Free30 minutesNo obligation
