Skip to main content
Loox → AmplitudeIntegration guide

Connecting Loox to Amplitude

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. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the Loox referral order before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Loox in Amplitude: referral as its own acquisition cohort

Set acquisition source (paid, Loox referral, organic) as a set-once Amplitude user property from the first Shopify order, decided by the referral coupon or landing parameter. Use the Shopify customer ID as user_id and send orders server-side at the amount paid after the referral discount, with insert_id from the order ID. Store the referrer's user_id if Loox exposes it.

Amplitude can answer the question a referral program owner actually has: do customers who arrived through a friend's Loox link retain and reorder better than customers from paid ads? That needs the acquisition source fixed on the customer at their first order and never overwritten. Set it as a set-once user property (paid, Loox referral, organic) from the first Shopify order, using the referral coupon or referral landing parameter to decide.

The join is the Shopify customer ID as user_id, identified at checkout or login, so the browser device ID merges with the server-sent orders. Send each order server-side as revenue with price and quantity per line item, at the amount actually paid after the referral discount; sending the pre-discount price makes referral customers look more valuable on day one than they are. An insert_id from the Shopify order ID keeps a retried webhook from doubling revenue.

If Loox exposes which customer referred whom (check its webhooks, integrations or exports on your plan), store the referrer's user_id on the referee's first order. Then you can see which acquisition cohorts produce referrers, for instance whether paid-acquired customers refer as often as organic ones. Review submissions can be events too, for retention analysis, but keep them away from anything forwarded to ad platforms.

Loox → Amplitude · what breaks

Why this join usually fails — Loox → Amplitude

  1. 01

    The user ID and device ID pair 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.

  2. 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.

  3. 03

    Revenue events that carry no revenue

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  4. 04

    Nothing reconciles afterwards

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Loox → Amplitude · the fix

What working looks like — Loox → Amplitude

  • The user ID and device ID pair on every order

  • Conversions arriving in Amplitude

    The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.

  • Reconciled against the source

Loox → Amplitude · architecture

How Loox and Amplitude actually connect

  1. 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. 2

    Amplitude needs a click to match

    Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.

  3. 3

    The identifier is the bridge

    The user ID and device ID pair, captured at the visit and carried into the Loox referral order.

  4. 4

    The event source decides reliability

    Purchases, with referral-sourced orders marked and held out of paid conversion imports.

  5. 5

    Deduplication at the destination

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

Loox → Amplitude · normal or broken

Working vs. broken, side by side — Loox → Amplitude

Normal, not a fault

  • The user ID and device ID pair present on the order

  • Sent from the Shopify order record

  • Deduplicated correctly

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

  • Reconciles with the source

Actually broken

  • The user ID and device ID pair 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

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  • Nobody has reconciled it

Loox → Amplitude · diagnose

Diagnostic order — Loox → Amplitude

  1. 01

    Count orders carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 04

    Check a purchase event for the price and quantity fields specifically

    Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.

  5. 05

    Read the match rate, not the success message

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Loox → Amplitude · prove

How it gets proven — Loox → Amplitude

Source of truth

Shopify orders, flagged by whether a Loox referral link or review-reward coupon produced them.

  • The user ID and device ID pair confirmed present on a live order.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Non-referral orders reconciled against imported conversions; referral volume reported separately.

Loox → Amplitude · free audit

What we check in the free audit

  • Count orders carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Check precedence between referral and paid parameters
  • Check a purchase event for the price and quantity fields specifically
  • 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.

Get my free conversion tracking audit

Free30 minutesNo obligation

Loox → Amplitude · when not to buy

When you don't need this — Loox → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the user ID and device ID pair.
  • No referral program means no conflict. Keep review events out of the conversion list and there is nothing else to do.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Loox → Amplitude · what we deliver

What gets built — Loox → Amplitude

  • 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 Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.

  • 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Loox → Amplitude questions, answered

Set a set-once user property for acquisition source on the first order, marking referral orders by the Loox coupon or landing parameter, then compare retention by that property.

Free · 30 min

Get Loox and Amplitude joined properly

Free30 minutesNo obligation