Skip to main content
Redo → PostHogIntegration guide

Connecting Redo to PostHog

Redo sells return coverage to the shopper at checkout, which introduces a revenue line that exists only because returns exist — and changes who bears the cost. 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 Redo coverage and return 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

Redo in PostHog: do covered customers come back or churn?

Use your store customer ID as the PostHog distinct_id, aliased to the browser ID at checkout or login. Send an order event server-side with order ID, item revenue, coverage flag and fee, then a return event on the same customer and order ID with the Redo resolution. Supply event UUIDs, and compare covered and uncovered cohorts on 90-day net revenue.

PostHog is the one destination in this set that can answer whether return coverage helps the business: do shoppers who buy coverage reorder more, or do they return more and disappear? That needs both the order and the later return on the same distinct_id, which a pixel alone will never give you.

Use your store customer ID as the distinct_id, aliased to the anonymous browser ID when the shopper checks out or logs in. Send an order event server-side with order ID, item revenue, a coverage flag and the fee as separate properties. When Redo resolves a return, send a return event keyed on the same customer and order ID, with the resolution: refund, exchange or store credit. Check what your Redo plan exposes, whether webhooks or exports, and supply an event UUID so a retried batch does not record a return twice.

If Redo's coverage toggle sits on your own cart page, check whether it emits an event you can capture; if not, infer the choice from cart contents. Shopify's checkout pages generally do not run your PostHog script, so do not build the coverage funnel on browser events past the cart. With orders and returns joined, a cohort of covered versus uncovered first orders gives net revenue at 90 days, which is the number the coverage fee should be judged on.

Redo → PostHog · what breaks

Why this join usually fails — Redo → PostHog

  1. 01

    The distinct_id never reaches Redo

    Coverage is chosen at checkout, so the decision sits inside the order rather than in a separate system.

  2. 02

    Coverage revenue counted without its liability

    Shoppers who buy return coverage are, unsurprisingly, more likely to return. Booking the fee as margin without the associated cost flatters exactly the cohort that will erode it.

  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.

Redo → PostHog · the fix

What working looks like — Redo → PostHog

  • The distinct_id on every return

  • Conversions arriving in PostHog

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

  • Reconciled against the source

Redo → PostHog · architecture

How Redo and PostHog actually connect

  1. 1

    Redo holds the truth

    Coverage is revenue at checkout and a liability afterwards. Reporting the coverage fee as order revenue without accounting for the returns it pays for overstates margin on exactly the orders most likely to come back.

  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 Redo coverage and return.

  4. 4

    The event source decides reliability

    Send orders net of returns, with coverage revenue and covered costs reported as their own line.

  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.

Redo → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the return

  • Sent from the store order record with coverage attached

  • 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

    Coverage is chosen at checkout, so the decision sits inside the order rather than in a separate system.

  • Sent from the browser

    Shoppers who buy return coverage are, unsurprisingly, more likely to return. Booking the fee as margin without the associated cost flatters exactly the cohort that will erode it.

  • 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

Redo → PostHog · diagnose

Diagnostic order — Redo → PostHog

  1. 01

    Count returns carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare return rates between covered and uncovered orders

    The gap is usually substantial, and it tells you what the coverage revenue is actually worth net.

  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.

Redo → PostHog · prove

How it gets proven — Redo → PostHog

Source of truth

Store orders net of returns, with coverage revenue and covered-return cost held separately.

  • The distinct_id confirmed present on a live return.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Net revenue reconciled with coverage revenue and covered-return costs shown separately.

Redo → PostHog · free audit

What we check in the free audit

  • Count returns carrying the distinct_id
  • Follow one real conversion end to end
  • Compare return rates between covered and uncovered orders
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Store orders net of returns, with coverage revenue and covered-return cost held separately.

Get my free conversion tracking audit

Free30 minutesNo obligation

Redo → PostHog · when not to buy

When you don't need this — Redo → PostHog

  • Measure identifier coverage yourself first — pull your last hundred returns and count how many carry the distinct_id.
  • If you do not offer paid return coverage, this reduces to an ordinary returns integration.
  • 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.

Redo → PostHog · what we deliver

What gets built — Redo → PostHog

  • Identifier capture into Redo

    Record coverage on the order and net the eventual covered-return cost against it.

  • Event source: the store order record with coverage attached

    Send orders net of returns, with coverage revenue and covered costs reported as their own line.

  • 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

    Covered returns reverse the item revenue but not the coverage fee.

Written guarantee

95%+ tracking accuracy

Measured against Store orders net of returns, with coverage revenue and covered-return cost held separately.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Redo → PostHog questions, answered

Yes, if orders and returns are sent server-side on the same distinct_id. Build covered and uncovered cohorts from the first order and compare repeat purchase and net revenue.

Free · 30 min

Get Redo and PostHog joined properly

Free30 minutesNo obligation