Connecting Yotpo to PostHog
Yotpo runs reviews, loyalty points and SMS off one customer record, and the loyalty half generates real redemptions — which means it is one of the few review platforms that genuinely touches revenue. 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 Yotpo loyalty redemption 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
Yotpo in PostHog: funnel the rewards page to the redemption order
Identify the PostHog distinct_id at login to build funnels from rewards-page view to redemption to order and compare members with non-members via a loyalty-status property. Yotpo widgets and Shopify checkout escape the snippet, so send orders server-side with the Yotpo code, order type and a UUID, and keep balances as person properties.
PostHog can answer a question Yotpo's own dashboard answers only in its own terms: does the loyalty program change what members do on your site? With distinct_id identified at login, you can build a funnel from rewards-page view to reward redemption to order, and compare repeat-order intervals for members against non-members using a loyalty-status person property.
Two gaps to plan around. Yotpo widgets render in frames PostHog does not capture, so autocapture and session replay show the rewards panel as a box with no clicks inside it; check whether Yotpo exposes JavaScript events you can forward as PostHog events. And redemptions happen at checkout, which on Shopify runs in an environment where your PostHog snippet may not load, so send the order server-side with the customer's distinct_id and properties for the Yotpo code used and the order type.
Send a UUID on each server-side order so a retried webhook does not create a second purchase, and record refunds as their own event, because PostHog will not reverse anything on its own. Do not send points balances as events on every change; as person properties they are enough for cohorts.
Yotpo → PostHog · what breaks
Why this join usually fails — Yotpo → PostHog
- 01
The distinct_id never reaches Yotpo
Reviews and loyalty widgets render in Yotpo-served frames that do not share your page's storage, and referral links route through Yotpo before landing on your site.
- 02
Retention revenue laundered into acquisition performance
This is the specific failure mode of every combined reviews-and-loyalty platform. A referral code brings in an order, the order carries the referrer's original click identifier, and a paid campaign gets credit for revenue a retention program created.
- 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.
Yotpo → PostHog · the fix
What working looks like — Yotpo → PostHog
The distinct_id on every redemption
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Yotpo → PostHog · architecture
How Yotpo and PostHog actually connect
- 1
Yotpo holds the truth
The flag is what matters. A redeemed order is revenue that a retention program produced, and crediting it to the paid click that acquired the customer eighteen months ago overstates that campaign badly.
- 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 Yotpo loyalty redemption.
- 4
The event source decides reliability
Send purchases with a channel attribute distinguishing first orders, loyalty-driven repeats and referral-driven orders. Three different economics, three different owners.
- 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.
Yotpo → PostHog · normal or broken
Working vs. broken, side by side — Yotpo → PostHog
Normal, not a fault
The distinct_id present on the redemption
Sent from your order feed with Yotpo attributes 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
Reviews and loyalty widgets render in Yotpo-served frames that do not share your page's storage, and referral links route through Yotpo before landing on your site.
Sent from the browser
This is the specific failure mode of every combined reviews-and-loyalty platform. A referral code brings in an order, the order carries the referrer's original click identifier, and a paid campaign gets credit for revenue a retention program created.
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
Yotpo → PostHog · diagnose
Diagnostic order — Yotpo → PostHog
- 01
Count redemptions carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Count orders carrying a reward or referral code
Then check whether any of them appear in your paid conversion figures. If they do, the acquisition numbers are inflated by exactly that amount.
- 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.
Yotpo → PostHog · prove
How it gets proven — Yotpo → PostHog
Source of truth
Orders in your store, flagged by whether a Yotpo loyalty reward or referral code was applied.
- The distinct_id confirmed present on a live redemption.
- Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
- First-time-buyer orders reconciled against imported conversions, with loyalty and referral orders excluded and reported separately.
Yotpo → PostHog · free audit
What we check in the free audit
- Count redemptions carrying the distinct_id
- Follow one real conversion end to end
- Count orders carrying a reward or referral code
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Orders in your store, flagged by whether a Yotpo loyalty reward or referral code was applied.
Free30 minutesNo obligation
Yotpo → PostHog · when not to buy
When you don't need this — Yotpo → PostHog
- Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the distinct_id.
- If you run Yotpo for reviews only and have no loyalty or referral program, this reduces to the Trustpilot case: keep reviews out of your conversion list and stop there.
- 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.
Yotpo → PostHog · what we deliver
What gets built — Yotpo → PostHog
Identifier capture into Yotpo
Capture the identifier on your own domain before any widget interaction, and record the reward or referral code on the order so acquisition and retention revenue can be told apart afterwards.
Event source: your order feed with Yotpo attributes attached
Send purchases with a channel attribute distinguishing first orders, loyalty-driven repeats and referral-driven orders. Three different economics, three different owners.
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 reduce the figure; reversed loyalty points do not.
Written guarantee
95%+ tracking accuracy
Measured against Orders in your store, flagged by whether a Yotpo loyalty reward or referral code was applied.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Yotpo → PostHog questions, answered
Not through autocapture, because the widget renders in a frame. Check whether Yotpo emits on-page events you can forward.
Set a person property for loyalty status from Yotpo and use it to split funnels and retention insights.
Almost always because the distinct_id never reached the Yotpo loyalty redemption. Reviews and loyalty widgets render in Yotpo-served frames that do not share your page's storage, and referral links route through Yotpo before landing on your site. 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 feed with Yotpo attributes attached. Send purchases with a channel attribute distinguishing first orders, loyalty-driven repeats and referral-driven orders. Three different economics, three different owners.
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 Yotpo → PostHog
- Yotpo → Google AdsConnecting Yotpo to Google Ads
- Yotpo → MetaConnecting Yotpo to Meta Conversions API
- Yotpo → GA4Connecting Yotpo to GA4
RELATED GUIDES
Where Yotpo → PostHog fits in the rest of your tracking
- Judge.me → PostHogConnecting Judge.me to PostHog
- Stamped → PostHogConnecting Stamped to PostHog
- Bazaarvoice → PostHogConnecting Bazaarvoice to PostHog
- Yotpo → AmplitudeConnecting Yotpo to Amplitude
- Yotpo → GA4Connecting Yotpo to GA4
- BeautyConversion tracking for beauty brands, including the second order
- Loox → PostHogConnecting Loox to PostHog
- Okendo → PostHogConnecting Okendo to PostHog
Free · 30 min
Get Yotpo and PostHog joined properly
Free30 minutesNo obligation
