Skip to main content
Medusa → OutbrainIntegration guide

Connecting Medusa to Outbrain

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. Outbrain is the other major native discovery network, with the same audience-intent problem and its own conversion configuration. The join between them succeeds or fails on one thing: whether the Outbrain click identifier reaches the Medusa order before the conversion happens, because Outbrain can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Medusa to Outbrain: optimize on captured payment, not cart

Discovery readers rarely make a cart on the first visit, so store Outbrain's click ID in a first-party cookie at landing and copy it into Medusa cart metadata later. Send the purchase from the payment-capture subscriber with paid total, currency and hashed email, keeping cart signals secondary. Compare landing-to-capture lag with your attribution window.

Outbrain traffic usually lands on an article or advertorial, not a product page, and a discovery reader rarely creates a Medusa cart on that first visit. So the click identifier cannot wait for the cart: store it in a first-party cookie on the storefront at landing, then copy it into cart metadata when a cart is eventually created. Confirm the exact parameter name in your Outbrain tracking template, since you choose how the click ID macro is appended.

The tempting conversion here is cheap: cart created, or email captured. Medusa makes the deeper one easy, because a subscriber on payment capture fires only when money is actually taken, with the paid total and currency for the region. Send that as the purchase conversion with hashed email, and if you want a mid-funnel signal for learning, keep it as a secondary conversion that Outbrain reports but does not optimize toward. A discovery campaign optimized on carts will find people who make carts.

Because the conversion fires server-side long after the article view, check the attribution window you configured in Outbrain against your real lag. Medusa can give you that lag directly: store the landing timestamp next to the click ID and subtract it from capture time on each order.

Medusa → Outbrain · what breaks

Why this join usually fails — Medusa → Outbrain

  1. 01

    The Outbrain click identifier 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

    Shallow conversions on discovery traffic

    A newsletter signup from discovery traffic converts to revenue at a very different rate than the same signup from search. Optimizing on the shallow event flatters the channel and misleads the budget.

  4. 04

    Nothing reconciles afterwards

    Outbrain reports at campaign and section level. Reconcile against your own records, and compare the downstream conversion rate of discovery traffic against your other channels before judging the numbers.

Medusa → Outbrain · the fix

What working looks like — Medusa → Outbrain

  • The Outbrain click identifier on every order

  • Conversions arriving in Outbrain

    Conversions appear against campaigns and publisher sections, which is the level at which the channel is actually managed.

  • Reconciled against the source

Medusa → Outbrain · architecture

How Medusa and Outbrain 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

    Outbrain needs a click to match

    Outbrain matches server events on the click identifier and hashed customer information, against conversion definitions configured in its interface.

  3. 3

    The identifier is the bridge

    The Outbrain click identifier, 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

    Outbrain deduplicates on a shared event identifier between the pixel and the server event.

Medusa → Outbrain · normal or broken

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

Normal, not a fault

  • The Outbrain click identifier present on the order

  • Sent from a Medusa subscriber on order payment capture

  • Deduplicated correctly

    Outbrain deduplicates on a shared event identifier between the pixel and the server event.

  • Reconciles with the source

Actually broken

  • The Outbrain click identifier 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 newsletter signup from discovery traffic converts to revenue at a very different rate than the same signup from search. Optimizing on the shallow event flatters the channel and misleads the budget.

  • Nobody has reconciled it

Medusa → Outbrain · diagnose

Diagnostic order — Medusa → Outbrain

  1. 01

    Count orders carrying the Outbrain click identifier

  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

    Compare downstream conversion rates for discovery traffic against your other channels

    If they differ substantially — and they usually do — the conversion you optimize toward has to sit deeper in the funnel here.

  5. 05

    Read the match rate, not the success message

    Outbrain reports at campaign and section level. Reconcile against your own records, and compare the downstream conversion rate of discovery traffic against your other channels before judging the numbers.

Medusa → Outbrain · prove

How it gets proven — Medusa → Outbrain

Source of truth

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

  • The Outbrain click identifier confirmed present on a live order.
  • Downstream conversion rate for Outbrain traffic measured separately from other channels.
  • Payment-captured orders reconciled against imported conversions.

Medusa → Outbrain · free audit

What we check in the free audit

  • Count orders carrying the Outbrain click identifier
  • Follow one real conversion end to end
  • Check which event your subscriber listens to
  • Compare downstream conversion rates for discovery traffic against your other channels
  • 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 → Outbrain · when not to buy

When you don't need this — Medusa → Outbrain

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Outbrain click identifier.
  • If every payment method you accept is instant, the two events nearly coincide and the distinction costs more than it returns.
  • If you have no top-of-funnel content worth discovering, native placement has nothing to work with regardless of measurement.

Medusa → Outbrain · what we deliver

What gets built — Medusa → Outbrain

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

    Server events to Outbrain's conversions endpoint with the click identifier and hashed customer 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 → Outbrain questions, answered

Payment capture, at the paid total. Cart creation and order placement both include people who never pay.

Free · 30 min

Get Medusa and Outbrain joined properly

Free30 minutesNo obligation