Skip to main content
Medusa → LiveRampIntegration guide

Connecting Medusa to LiveRamp

Medusa is a Node commerce engine you extend in your own codebase, which makes the conversion event a piece of application code — and therefore something that can be tested rather than hoped for. LiveRamp resolves identity between parties who are not allowed to share raw customer data, which makes it infrastructure for measurement rather than a place conversions are counted. The join between them succeeds or fails on one thing: whether the RampID, derived from hashed personal information reaches the Medusa order before the conversion happens, because LiveRamp can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Medusa to LiveRamp: a hashed customer file from your own orders

Build a scheduled job over Medusa's Postgres: pull captured-payment orders, drop refunded ones, normalize email, E.164 phone and structured address fields, collapse guest and registered orders on normalized email, hash, and deliver as your LiveRamp contract specifies. Only build it when a retail, publisher or CTV partner requires RampID measurement.

Nothing about a LiveRamp integration starts in the browser. What LiveRamp resolves is the email, phone and postal address already sitting on each Medusa order in your own Postgres database, so the build is a scheduled job, not a subscriber firing per order. Pull orders whose payment was captured, drop the ones later refunded, normalize email (lowercase, trimmed), phone (E.164) and the address fields, hash them, and deliver the file through whatever upload path your LiveRamp contract specifies. Confirm the format and hashing with your LiveRamp contact before writing the export.

The Medusa-specific trap is identity fragmentation. A guest checkout stores the email on the order without a customer record, and the same shopper who later registers gets a customer ID that has no link to those earlier guest orders. Collapse on normalized email before hashing, or one buyer appears as several rows and the match rate drops for reasons that look like LiveRamp's fault. Medusa keeps the address as separate structured fields, which makes postal normalization easier than on platforms that store one free-text line.

Be honest about fit. LiveRamp earns its place when a retailer, publisher or CTV partner requires RampID-based measurement or a clean room. A Medusa store buying search and social ads does not need it, and building the export before any partner asks for it produces a file nobody consumes.

Medusa → LiveRamp · what breaks

Why this join usually fails — Medusa → LiveRamp

  1. 01

    The RampID, derived from hashed personal information never reaches Medusa

    The storefront is separate from the backend, and the identifier must be attached to the cart before the order is created.

  2. 02

    Firing on order placed rather than payment captured

    They are different events and the gap between them contains every failed and pending payment. Order-placed is the easier hook and the wrong one.

  3. 03

    Match rate treated as a platform failure

    A low match rate is almost always your data, not theirs: inconsistent formatting, stale addresses, or a customer base that simply is not resolvable. Teams spend weeks escalating to the vendor when the fix is normalising a column.

  4. 04

    Nothing reconciles afterwards

    LiveRamp reports match rates on every upload. Read it, and compare it against how many of your customers you would expect to be resolvable at all.

Medusa → LiveRamp · the fix

What working looks like — Medusa → LiveRamp

  • The RampID, derived from hashed personal information on every order

  • Conversions arriving in LiveRamp

    Records resolve to RampIDs and become matchable against a partner's data inside a clean room or an activation platform.

  • Reconciled against the source

Medusa → LiveRamp · architecture

How Medusa and LiveRamp actually connect

  1. 1

    Medusa holds the truth

    Because you own the event handlers, the conversion can fire from the payment-captured event specifically rather than from whatever the frontend happened to render.

  2. 2

    LiveRamp needs a click to match

    Hashed, correctly normalised customer identifiers. Normalisation is the whole job: lowercase, trimmed, consistently formatted before hashing, or the match rate collapses for reasons that look like a platform problem.

  3. 3

    The identifier is the bridge

    The RampID, derived from hashed personal information, captured at the visit and carried into the Medusa order.

  4. 4

    The event source decides reliability

    Send orders at payment capture, at the paid total.

  5. 5

    Deduplication at the destination

    Deduplication happens at the identity layer. The same person with two email addresses can resolve to two RampIDs, which inflates audience counts and depresses match rates simultaneously.

Medusa → LiveRamp · normal or broken

Working vs. broken, side by side — Medusa → LiveRamp

Normal, not a fault

  • The RampID, derived from hashed personal information present on the order

  • Sent from a Medusa subscriber on order payment capture

  • Deduplicated correctly

    Deduplication happens at the identity layer. The same person with two email addresses can resolve to two RampIDs, which inflates audience counts and depresses match rates simultaneously.

  • Reconciles with the source

Actually broken

  • The RampID, derived from hashed personal information missing on most records

    The storefront is separate from the backend, and the identifier must be attached to the cart before the order is created.

  • Sent from the browser

    They are different events and the gap between them contains every failed and pending payment. Order-placed is the easier hook and the wrong one.

  • Counted twice, or not at all

    A low match rate is almost always your data, not theirs: inconsistent formatting, stale addresses, or a customer base that simply is not resolvable. Teams spend weeks escalating to the vendor when the fix is normalising a column.

  • Nobody has reconciled it

Medusa → LiveRamp · diagnose

Diagnostic order — Medusa → LiveRamp

  1. 01

    Count orders carrying the RampID, derived from hashed personal information

  2. 02

    Follow one real conversion end to end

  3. 03

    Check which event your subscriber listens to

    One line of code, and it decides whether you are counting orders or counting money.

  4. 04

    Audit identifier formatting before hashing

    Case, whitespace and formatting differences are the usual cause. Fix them once and the match rate moves more than any configuration change will.

  5. 05

    Read the match rate, not the success message

    LiveRamp reports match rates on every upload. Read it, and compare it against how many of your customers you would expect to be resolvable at all.

Medusa → LiveRamp · prove

How it gets proven — Medusa → LiveRamp

Source of truth

Medusa orders by payment status, emitted from your own subscriber code.

  • The RampID, derived from hashed personal information confirmed present on a live order.
  • Match rate measured against the share of customers holding usable identifiers, with normalisation verified before hashing.
  • Payment-captured orders reconciled against imported conversions.

Medusa → LiveRamp · free audit

What we check in the free audit

  • Count orders carrying the RampID, derived from hashed personal information
  • Follow one real conversion end to end
  • Check which event your subscriber listens to
  • Audit identifier formatting before hashing
  • Read the match rate, not the success message

Checked against

Medusa orders by payment status, emitted from your own subscriber code.

Get my free conversion tracking audit

Free30 minutesNo obligation

Medusa → LiveRamp · when not to buy

When you don't need this — Medusa → LiveRamp

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the RampID, derived from hashed personal information.
  • If every payment method you accept is instant, the two events nearly coincide and the distinction costs more than it returns.
  • If you hold few customer identifiers, identity resolution has almost nothing to resolve. Collect the data first; this cannot manufacture it.

Medusa → LiveRamp · what we deliver

What gets built — Medusa → LiveRamp

  • Identifier capture into Medusa

    Write the identifier into cart metadata at first touch so it is carried onto the order automatically at completion.

  • Event source: a Medusa subscriber on order payment capture

    Send orders at payment capture, at the paid total.

  • Dispatch to LiveRamp

    Hashed identifiers and conversion records uploaded server-side, never raw personal data.

  • Reversals where they exist

    Refunds emit their own event and should reverse.

Written guarantee

95%+ tracking accuracy

Measured against Medusa orders by payment status, emitted from your own subscriber code.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Medusa → LiveRamp questions, answered

Not one we would rely on; check Medusa's integrations directory for your version. Most teams write a scheduled export job against the order data, which is simpler to audit than a per-order event.

Free · 30 min

Get Medusa and LiveRamp joined properly

Free30 minutesNo obligation