Connecting Recart to PostHog
Recart recovers carts over SMS and messaging rather than email, which shortens the recovery window dramatically and puts the message somewhere the customer will see within minutes. 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 Recart recovered 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
Recart recoveries in PostHog: join the text tap to the session
To join a Recart recovery to the original PostHog session, identify the shopper when they enter an email or phone before abandoning, since the text opens another browser. Send the recovered order from the Shopify order webhook through the capture API with that distinct_id, a stable UUID per order and a recovery flag from the link's UTMs.
PostHog can answer a question Recart's dashboard cannot: what a recovered shopper did before abandoning. Funnels and session replay for the original visit sit on one distinct_id, and if the recovery visit lands on the same person, you can see where carts stall, such as a shipping cost shown late or a failed payment step, and whether the text fixed it or only reminded someone who was coming back anyway.
The join is the work. The recovery text usually opens in a different browser from the original visit, so PostHog's anonymous ID from that session is not there and the recovery visit becomes a new person. If the shopper entered an email or phone before abandoning, identify them at that point; when the recovered order completes, send it from the Shopify order webhook through the capture API with the same identified distinct_id and a stable UUID per order. Add a recovery flag from the link's UTM parameters so recovered orders filter cleanly.
Keep phone numbers out of PostHog person properties unless you need them. Recart holds the number for messaging; PostHog needs a distinct_id, and copying raw phone numbers into analytics widens what you have to protect, especially on a self-hosted instance you secure yourself.
Recart → PostHog · what breaks
Why this join usually fails — Recart → PostHog
- 01
The distinct_id never reaches Recart
The customer taps a link in a message app, which frequently opens an in-app browser with partitioned storage.
- 02
Fast recovery hiding inside the original session
Because SMS recovery is quick, the recovered order can look like an uninterrupted paid session. The paid campaign takes full credit for an order that a paid message closed, and the SMS cost never appears against it.
- 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.
Recart → PostHog · the fix
What working looks like — Recart → PostHog
The distinct_id on every recovery
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Recart → PostHog · architecture
How Recart and PostHog actually connect
- 1
Recart holds the truth
SMS recovery closes carts within an hour rather than a day, which means the recovered order frequently falls inside the same session window as the original paid click — making the double-claim harder to spot, not easier.
- 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 Recart recovered order.
- 4
The event source decides reliability
Send orders with recovery flagged, and account for the per-message cost of SMS in the channel's economics.
- 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.
Recart → PostHog · normal or broken
Working vs. broken, side by side — Recart → PostHog
Normal, not a fault
The distinct_id present on the recovery
Sent from your order record with recovery attribution
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
The customer taps a link in a message app, which frequently opens an in-app browser with partitioned storage.
Sent from the browser
Because SMS recovery is quick, the recovered order can look like an uninterrupted paid session. The paid campaign takes full credit for an order that a paid message closed, and the SMS cost never appears against 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
Recart → PostHog · diagnose
Diagnostic order — Recart → PostHog
- 01
Count recoverys carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Compare time from abandonment to recovery against your session window
If recovery routinely happens inside the session window, the two channels are indistinguishable without an explicit flag.
- 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.
Recart → PostHog · prove
How it gets proven — Recart → PostHog
Source of truth
Store orders flagged by whether a messaging recovery preceded them.
- The distinct_id confirmed present on a live recovery.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- Orders reconciled with recovery flagged and SMS send cost attributed to the recovery channel.
Recart → PostHog · free audit
What we check in the free audit
- Count recoverys carrying the distinct_id
- Follow one real conversion end to end
- Compare time from abandonment to recovery against your session window
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Store orders flagged by whether a messaging recovery preceded them.
Free30 minutesNo obligation
Recart → PostHog · when not to buy
When you don't need this — Recart → PostHog
- Measure identifier coverage yourself first — pull your last hundred recoverys and count how many carry the distinct_id.
- If you recover only by email, the longer window makes the two channels naturally separable.
- 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.
Recart → PostHog · what we deliver
What gets built — Recart → PostHog
Identifier capture into Recart
Carry the identifier in the recovery link itself rather than relying on storage surviving the in-app browser.
Event source: your order record with recovery attribution
Send orders with recovery flagged, and account for the per-message cost of SMS in the channel's economics.
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 Store orders flagged by whether a messaging recovery preceded them.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Recart → PostHog questions, answered
The recovery link opens in a different browser, so the anonymous distinct_id is gone. Identify the shopper when they enter an email before abandoning, and send the order server-side with that ID.
Yes, for sessions recorded on the storefront. Shopify's checkout runs in its own environment, so check how much of the checkout your replay actually captures.
Almost always because the distinct_id never reached the Recart recovered order. The customer taps a link in a message app, which frequently opens an in-app browser with partitioned storage. 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.
Your order record with recovery attribution. Send orders with recovery flagged, and account for the per-message cost of SMS in the channel's economics.
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 Recart → PostHog
- Stripe → PostHogConnecting Stripe to PostHog
- PayPal → PostHogConnecting PayPal to PostHog
- Shopify → PostHogConnecting Shopify to PostHog
RELATED GUIDES
Where Recart → PostHog fits in the rest of your tracking
- CartStack → PostHogConnecting CartStack to PostHog
- Rejoiner → PostHogConnecting Rejoiner to PostHog
- Recart → Adobe AnalyticsConnecting Recart to Adobe Analytics
- Recart → MixpanelConnecting Recart to Mixpanel
- FashionConversion tracking for fashion brands, reported net of returns
- CartStack → Adobe AnalyticsConnecting CartStack to Adobe Analytics
- CartStack → GA4Connecting CartStack to GA4
- Rejoiner → GA4Connecting Rejoiner to GA4
Free · 30 min
Get Recart and PostHog joined properly
Free30 minutesNo obligation
