Connecting Loox to PostHog
Loox is photo reviews and referrals for Shopify, and the referral half is where the measurement problem lives — a customer-to-customer referral is not paid media, no matter which cookie is still sitting in the browser. 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 Loox referral 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
Loox photo reviews in PostHog: check the widget, then the funnel
First check whether the Loox widget renders in an iframe, which PostHog autocapture can't see. Save the distinct_id as a Shopify cart attribute and send the order server-side through the capture API with a UUID from the order ID and a Loox referral property. Record referral as a person property to compare referred and paid repeat rates.
PostHog is the place to answer whether Loox photo reviews actually move conversion on your Shopify store. Before relying on autocapture, check whether the Loox widget renders in the page itself or inside an iframe. Autocapture only sees clicks in your own document, so if the gallery or the review form lives in a frame, those interactions never reach PostHog and the funnel shows reviews doing nothing.
For the purchase, capture the PostHog distinct_id on the storefront, save it as a cart attribute, and send the order from your server through the capture API with an event UUID derived from the Shopify order ID, so retries do not duplicate. Checkout runs in Shopify's restricted environment, which is why the server path is the reliable one. Add the Loox referral flag as an event property on the purchase.
That property is what makes the referral half of Loox measurable. When a referred friend lands, record the referral as a person property so the first purchase, and every later one, can be broken down by whether word of mouth started the relationship. Then compare repeat rates for referred and paid customers, which no ad platform will ever show you.
Loox → PostHog · what breaks
Why this join usually fails — Loox → PostHog
- 01
The distinct_id never reaches Loox
Referral links route through Loox and land on your store with their own parameters, frequently overwriting or colliding with whatever was already stored.
- 02
Word of mouth billed to the ad account
The more successful your referral program is, the worse your paid reporting gets, which is a genuinely perverse outcome and an entirely avoidable one.
- 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.
Loox → PostHog · the fix
What working looks like — Loox → 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
Loox → PostHog · architecture
How Loox and PostHog actually connect
- 1
Loox holds the truth
Referral orders arrive from a friend's shared link. If your last-touch model has an old paid identifier persisted, that campaign takes the credit for a sale word of mouth produced.
- 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 Loox referral order.
- 4
The event source decides reliability
Purchases, with referral-sourced orders marked and held out of paid conversion imports.
- 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.
Loox → PostHog · normal or broken
Working vs. broken, side by side — Loox → PostHog
Normal, not a fault
The distinct_id present on the order
Sent from the Shopify order record
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
Referral links route through Loox and land on your store with their own parameters, frequently overwriting or colliding with whatever was already stored.
Sent from the browser
The more successful your referral program is, the worse your paid reporting gets, which is a genuinely perverse outcome and an entirely avoidable one.
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
Loox → PostHog · diagnose
Diagnostic order — Loox → PostHog
- 01
Count orders carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Check precedence between referral and paid parameters
Whichever wins in your storage logic determines who gets credit, and almost nobody has consciously chosen this.
- 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.
Loox → PostHog · prove
How it gets proven — Loox → PostHog
Source of truth
Shopify orders, flagged by whether a Loox referral link or review-reward coupon produced them.
- 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.
- Non-referral orders reconciled against imported conversions; referral volume reported separately.
Loox → PostHog · free audit
What we check in the free audit
- Count orders carrying the distinct_id
- Follow one real conversion end to end
- Check precedence between referral and paid parameters
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
Shopify orders, flagged by whether a Loox referral link or review-reward coupon produced them.
Free30 minutesNo obligation
Loox → PostHog · when not to buy
When you don't need this — Loox → PostHog
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the distinct_id.
- No referral program means no conflict. Keep review events out of the conversion list and there is nothing else to do.
- 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.
Loox → PostHog · what we deliver
What gets built — Loox → PostHog
Identifier capture into Loox
Detect the referral parameter explicitly and let it take precedence, rather than allowing a stale paid identifier to win by default.
Event source: the Shopify order record
Purchases, with referral-sourced orders marked and held out of paid conversion imports.
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.
Written guarantee
95%+ tracking accuracy
Measured against Shopify orders, flagged by whether a Loox referral link or review-reward coupon produced them.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Loox → PostHog questions, answered
Only if the widget renders in your page's DOM. If it loads inside an iframe, send explicit events for the interactions you care about instead of relying on autocapture.
Send the order server-side with the distinct_id saved from the storefront, and include a referral flag as an event property so funnels can split referred customers from paid ones.
Almost always because the distinct_id never reached the Loox referral order. Referral links route through Loox and land on your store with their own parameters, frequently overwriting or colliding with whatever was already stored. 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.
The Shopify order record. Purchases, with referral-sourced orders marked and held out of paid conversion imports.
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 Loox → PostHog
- Loox → Google AdsConnecting Loox to Google Ads
- Loox → MetaConnecting Loox to Meta Conversions API
- Loox → GA4Connecting Loox to GA4
RELATED GUIDES
Where Loox → PostHog fits in the rest of your tracking
- Yotpo → PostHogConnecting Yotpo to PostHog
- Judge.me → PostHogConnecting Judge.me to PostHog
- Okendo → PostHogConnecting Okendo to PostHog
- Loox → MatomoConnecting Loox to Matomo
- Loox → Adobe AnalyticsConnecting Loox to Adobe Analytics
- BeautyConversion tracking for beauty brands, including the second order
- Stamped → PostHogConnecting Stamped to PostHog
- Trustpilot → PostHogConnecting Trustpilot to PostHog
Free · 30 min
Get Loox and PostHog joined properly
Free30 minutesNo obligation
