Skip to main content
Zip → PostHogIntegration guide

Connecting Zip to PostHog

Zip splits payments into four instalments taken over six weeks, which means the customer's obligation continues long after the order and defaults are the merchant's blind spot. 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 Zip order 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

Zip in PostHog: did offering pay-in-four change checkout completion?

Track three PostHog events on one distinct_id: checkout viewed with whether Zip was offered, payment method selected, and the captured order sent server-side with order total, settled value and payment method. Key the order on the distinct_id stored with the cart before the Zip redirect, using an order-derived UUID. Exclude Zip-wrapping pages from replay and compare over a settled window.

PostHog is the right place to answer the question that justifies Zip's fee: do shoppers who see Zip at checkout complete more orders, or larger ones? That needs events at three points on one distinct_id: checkout viewed with whether Zip was offered, payment method selected, and the captured order sent server-side from your order system with order total, settled value and payment method as properties.

The Zip redirect breaks the browser half. A shopper who approves with Zip and closes the tab never fires a client-side purchase, so the funnel makes Zip look like it loses buyers. Send the order from the backend, keyed on the distinct_id you stored with the cart before the redirect, with a UUID derived from the order number so retries do not duplicate. If any of your own pages wrap Zip's flow, exclude them from session replay and autocapture; financing details should not end up in a recording.

Compare order value and refund rate by payment method only over a settled window, after returns have come back, since a gross comparison taken in the first week can make either option look better than it is.

Zip → PostHog · what breaks

Why this join usually fails — Zip → PostHog

  1. 01

    The distinct_id never reaches Zip

    Approval and checkout happen partly on Zip's surface with a return to your site.

  2. 02

    The instalment fee absorbed into reported revenue

    Buy-now-pay-later fees run well above card processing. Reporting the customer's total rather than the settlement systematically overstates the margin on exactly the orders that cost most to accept.

  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.

Zip → PostHog · the fix

What working looks like — Zip → PostHog

  • The distinct_id on every order

  • Conversions arriving in PostHog

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

  • Reconciled against the source

Zip → PostHog · architecture

How Zip and PostHog actually connect

  1. 1

    Zip holds the truth

    In most instalment models the merchant is paid upfront and the provider carries the default risk. That makes settled amount the right figure and the customer's total the wrong one.

  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 Zip order.

  4. 4

    The event source decides reliability

    Send settled orders net of the instalment provider's fee.

  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.

Zip → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the order

  • Sent from the order record at settlement

  • 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

    Approval and checkout happen partly on Zip's surface with a return to your site.

  • Sent from the browser

    Buy-now-pay-later fees run well above card processing. Reporting the customer's total rather than the settlement systematically overstates the margin on exactly the orders that cost most to accept.

  • 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

Zip → PostHog · diagnose

Diagnostic order — Zip → PostHog

  1. 01

    Count orders carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare customer totals against settlements for instalment orders

    The gap is the provider's fee and it belongs in the reported value.

  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.

Zip → PostHog · prove

How it gets proven — Zip → PostHog

Source of truth

Zip orders approved and settled to you, at the amount received after fees.

  • The distinct_id confirmed present on a live order.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Settled amounts reconciled against imported conversions for instalment orders.

Zip → PostHog · free audit

What we check in the free audit

  • Count orders carrying the distinct_id
  • Follow one real conversion end to end
  • Compare customer totals against settlements for instalment orders
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Zip orders approved and settled to you, at the amount received after fees.

Get my free conversion tracking audit

Free30 minutesNo obligation

Zip → PostHog · when not to buy

When you don't need this — Zip → PostHog

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the distinct_id.
  • If your fees are small relative to margin, gross reporting is close enough — but check the actual rate first.
  • 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.

Zip → PostHog · what we deliver

What gets built — Zip → PostHog

  • Identifier capture into Zip

    Capture on your domain and persist through the redirect, firing on settlement.

  • Event source: the order record at settlement

    Send settled orders net of the instalment provider's fee.

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

Written guarantee

95%+ tracking accuracy

Measured against Zip orders approved and settled to you, at the amount received after fees.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Zip → PostHog questions, answered

Track checkout views with whether Zip was offered, then the captured order with payment method, all on one distinct_id, and compare funnels. Send the order server-side so redirect losses do not skew Zip's numbers.

Free · 30 min

Get Zip and PostHog joined properly

Free30 minutesNo obligation