Skip to main content
Mollie → SegmentIntegration guide

Connecting Mollie to Segment

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. Segment is a customer data platform rather than an ad network, so sending to it is not about matching a conversion — it is about putting one clean event where every other destination can read it. The join between them succeeds or fails on one thing: whether the userId and anonymousId reaches the Mollie payment before the conversion happens, because Segment can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Mollie to Segment: one paid status for every destination

Store the Segment anonymousId, userId, click IDs and consent state in the Mollie payment metadata at creation. When the webhook shows paid, send Order Completed from your server with a messageId built from the Mollie payment ID. Failed, expired and canceled payments get their own events; refunds map to Order Refunded.

Segment is a sensible home for Mollie's paid status, because every downstream destination inherits it at once. Send Order Completed only when the payment reaches paid, from the webhook handler, and let Segment fan it out. That removes the temptation for each tool to fire on the return page, which iDEAL and Bancontact shoppers often never reach.

The identity that matters is the one your site's analytics.js already holds. Put the Segment anonymousId and your userId in the Mollie payment's metadata at creation, along with click identifiers and the consent state captured on your site; read them back when you fetch the paid payment and use them in the track call. Build a deterministic messageId from the Mollie payment ID, since Mollie retries webhooks and each retry would otherwise become a duplicate in every destination.

Map the other Mollie states deliberately. Failed, expired and canceled payments are useful for checkout analysis as their own events but must never be Order Completed. Refunds and chargebacks map to Order Refunded with the original order ID. For subscriptions, Mollie's recurring payments carry a subscription reference; decide whether renewals are Order Completed or a separate renewal event, because ad destinations will read Order Completed as a new purchase.

Mollie → Segment · what breaks

Why this join usually fails — Mollie → Segment

  1. 01

    The userId and anonymousId 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.

  2. 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.

  3. 03

    One bad event multiplied across every destination

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  4. 04

    Nothing reconciles afterwards

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Mollie → Segment · the fix

What working looks like — Mollie → Segment

  • The userId and anonymousId on every payment

  • Conversions arriving in Segment

    Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.

  • Reconciled against the source

Mollie → Segment · architecture

How Mollie and Segment actually connect

  1. 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. 2

    Segment needs a click to match

    Segment needs a consistent identity model — the same userId everywhere, an alias when an anonymous visitor becomes known, and event names that follow one spec. Feeding it inconsistent identities pushes the mess to every connected destination at once.

  3. 3

    The identifier is the bridge

    The userId and anonymousId, captured at the visit and carried into the Mollie payment.

  4. 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. 5

    Deduplication at the destination

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

Mollie → Segment · normal or broken

Working vs. broken, side by side — Mollie → Segment

Normal, not a fault

  • The userId and anonymousId present on the payment

  • Sent from the Mollie payment webhook

  • Deduplicated correctly

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

  • Reconciles with the source

Actually broken

  • The userId and anonymousId 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

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  • Nobody has reconciled it

Mollie → Segment · diagnose

Diagnostic order — Mollie → Segment

  1. 01

    Count payments carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 04

    Check identity resolution before checking anything downstream

    If anonymousId is never aliased to userId, every destination sees two people where there is one, and no downstream fix helps.

  5. 05

    Read the match rate, not the success message

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Mollie → Segment · prove

How it gets proven — Mollie → Segment

Source of truth

Mollie's paid payments by date, in the payment's own currency.

  • The userId and anonymousId confirmed present on a live payment.
  • An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
  • An iDEAL or Bancontact payment abandoned at the return step, confirmed to still report.

Mollie → Segment · free audit

What we check in the free audit

  • Count payments carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Count paid payments against confirmation-page loads for one day
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

Mollie's paid payments by date, in the payment's own currency.

Get my free conversion tracking audit

Free30 minutesNo obligation

Mollie → Segment · when not to buy

When you don't need this — Mollie → Segment

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the userId and anonymousId.
  • If you take card payments only, the redirect problem is much smaller and a simpler setup may be adequate.
  • If you send to one or two destinations, Segment is infrastructure you do not need — direct integrations are simpler and cheaper. It earns its place at genuine fan-out.

Mollie → Segment · what we deliver

What gets built — Mollie → Segment

  • 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 Segment

    Server-side track and identify calls with a stable messageId, consistent userId, and the click identifier carried as a trait or property.

  • 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Mollie → Segment questions, answered

Check Segment's source catalog for your workspace. If none fits, handle Mollie's webhook on your server and send track calls through Segment's HTTP API.

Free · 30 min

Get Mollie and Segment joined properly

Free30 minutesNo obligation