Skip to main content
Zipify OCU → PostHogIntegration guide

Connecting Zipify OneClickUpsell to PostHog

Zipify's one-click post-purchase upsell adds a second charge to the same order without re-entering payment, which produces revenue that exists on the order but arrived after the conversion event. 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 Zipify upsell 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

Zipify upsell funnels in PostHog: the offer page is invisible

PostHog's snippet never sees Shopify's post-purchase offer page, so send everything from the server. Write the distinct_id to a cart attribute on the storefront, then after the sequence closes capture an order event with final total and line items plus a separate accepted-offer event, with UUIDs derived from the order number. Infer declines from missing acceptance.

The post-purchase offer is rendered by Shopify, outside your storefront theme, so the PostHog snippet never sees the offer view, the accept or the decline. A funnel built on browser events runs from product page to checkout and then stops, with upsell revenue appearing nowhere. Anything about the one-click offer has to come from the server, from the settled order.

Carry the distinct_id onto the order by writing it to a cart attribute while the customer is still on the storefront. When the post-purchase sequence closes, capture an order event server-side with that distinct_id, the final total and the line items, and a separate event for the accepted offer with the product and offer name. Derive the event UUID from the Shopify order number, so a retried webhook does not create a second order. Customers who declined can be inferred from orders without the acceptance event.

With both events on the same person, PostHog can answer questions the Shopify admin cannot: take rate by landing page, by feature flag variant on the product page, by first-touch UTM stored as a person property. If you self-host, check ingestion lag before reading a missing upsell as a decline; queued events are not lost ones.

Zipify OCU → PostHog · what breaks

Why this join usually fails — Zipify OCU → PostHog

  1. 01

    The distinct_id never reaches Zipify OCU

    The upsell flow runs after order creation, outside anything a checkout-time tag can see.

  2. 02

    Two revenue numbers for one order

    The checkout total and the settled total differ by whatever the upsell added. Reporting the first understates the campaign; reporting the second without noting the timing confuses anyone reconciling against the ad platform's window.

  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.

Zipify OCU → PostHog · the fix

What working looks like — Zipify OCU → 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

    Zipify OneClickUpsell's own records are the reference, not either dashboard.

Zipify OCU → PostHog · architecture

How Zipify OCU and PostHog actually connect

  1. 1

    Zipify OneClickUpsell holds the truth

    Because the upsell charges the stored payment method, it becomes part of the same order rather than a new one. That makes the order total the right figure and the checkout 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 Zipify upsell order.

  4. 4

    The event source decides reliability

    Send the final order total, with upsell take rate reported by campaign.

  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.

Zipify OCU → PostHog · normal or broken

Working vs. broken, side by side — Zipify OCU → PostHog

Normal, not a fault

  • The distinct_id present on the order

    Visible on the record itself in Zipify OneClickUpsell, not merely captured somewhere on the site.

  • Sent from the Shopify order 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

    PostHog's count and Zipify OneClickUpsell's records agree within a few percent over a closed window.

Actually broken

  • The distinct_id missing on most records

    The upsell flow runs after order creation, outside anything a checkout-time tag can see.

  • Sent from the browser

    The checkout total and the settled total differ by whatever the upsell added. Reporting the first understates the campaign; reporting the second without noting the timing confuses anyone reconciling against the ad platform's window.

  • 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

    The dashboard shows a number and no one has compared it to Zipify OneClickUpsell.

Zipify OCU → PostHog · diagnose

Diagnostic order — Zipify OCU → PostHog

  1. 01

    Count orders carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure upsell take rate by traffic source

    It varies enough by campaign to change which sources are genuinely most valuable.

  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.

Zipify OCU → PostHog · prove

How it gets proven — Zipify OCU → PostHog

Against Zipify OneClickUpsell's own records, not against either platform's dashboard.

Source of truth

The final Shopify order total including accepted one-click upsells.

  • 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.
  • Final order totals reconciled against imported conversions, with take rate reported by source.

Zipify OCU → PostHog · free audit

What we check in the free audit

  • Count orders carrying the distinct_id
  • Follow one real conversion end to end
  • Measure upsell take rate by traffic source
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

The final Shopify order total including accepted one-click upsells.

Get my free conversion tracking audit

Free30 minutesNo obligation

Zipify OCU → PostHog · when not to buy

When you don't need this — Zipify OCU → PostHog

  • If PostHog already reports conversions that reconcile against Zipify OneClickUpsell's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the distinct_id.
  • Stores without post-purchase offers can report checkout value and skip the reconciliation timing question.
  • 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.

Zipify OCU → PostHog · what we deliver

What gets built — Zipify OCU → PostHog

  • Identifier capture into Zipify OCU

    Send from the order webhook after the post-purchase sequence completes.

  • Event source: the Shopify order webhook

    Send the final order total, with upsell take rate reported by campaign.

  • 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; upsell-only refunds should reduce rather than reverse the whole order.

Written guarantee

95%+ tracking accuracy

Measured against The final Shopify order total including accepted one-click upsells.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Zipify OCU → PostHog questions, answered

Not from the browser snippet, because the offer page is rendered by Shopify outside your theme. Send the order and the acceptance server-side with the distinct_id stored on the order.

Free · 30 min

Get Zipify OCU and PostHog joined properly

Free30 minutesNo obligation