Skip to main content
Magento → OutbrainIntegration guide

Connecting Magento to Outbrain

Magento is self-hosted and endlessly customisable, which means every installation is different and full-page caching is always in the way. 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 Magento 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

Outbrain to Magento: keep the click ID across the pre-sell page

Outbrain clicks usually land on an advertorial before the Magento store, so set the click ID in a first-party cookie on the parent domain, read it in the order placement observer and store it on the order. Post the placed order server-side with hashed email, base_grand_total and increment_id shared with the pixel, excluding uninvoiced bank-transfer orders.

Outbrain traffic rarely lands on a Magento product page directly. It lands on an advertorial or review article, often hosted on a WordPress blog or a landing-page builder on another subdomain, and the reader then clicks through to the store. The Outbrain click identifier arrives on that first page and is gone by the second, unless the article's outbound links carry it forward or both sites share a first-party cookie on the same registrable domain.

Set that cookie on the parent domain from the article page, have the order placement observer read it from the place-order request, and store it on the order. Post the conversion to Outbrain server-side with the click identifier, the hashed email and the increment_id as the event identifier shared with the browser pixel. Without the order-side copy, a buyer who pays through PayPal and never returns to the success page is invisible to Outbrain.

Pick the conversion carefully. Outbrain will optimize toward add-to-cart if you let it, and a Magento store generates cheap add-to-carts all day from curious readers. Send the placed order with base_grand_total as value, and only for statuses you count as revenue; leave bank-transfer orders out until they are invoiced. Report the gap between Outbrain-attributed orders and Magento orders that carry a stored click ID.

Magento → Outbrain · what breaks

Why this join usually fails — Magento → Outbrain

  1. 01

    The Outbrain click identifier never reaches Magento

    Magento's full-page cache serves a stored render to the visitor, which means anything relying on dynamically rendered values can silently fail — and in Magento this has historically included serving one customer's cached block to another, which is a data problem as well as a tracking one.

  2. 02

    Full-page cache between the visitor and your code

    The page the customer saw is not the page your code assumed. This is the defining Magento tracking failure and it produces intermittent, hard-to-reproduce loss.

  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.

Magento → Outbrain · the fix

What working looks like — Magento → 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

Magento → Outbrain · architecture

How Magento and Outbrain actually connect

  1. 1

    Magento holds the truth

    You own the database, so the truth is as good as the query. Pin down which order statuses count as revenue — processing, complete, or both — because that choice moves the number substantially.

  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 Magento order.

  4. 4

    The event source decides reliability

    Fire server-side from the observer rather than from the success page template, which is cached and may not execute anything.

  5. 5

    Deduplication at the destination

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

Magento → Outbrain · normal or broken

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

Normal, not a fault

  • The Outbrain click identifier present on the order

  • Sent from the Magento order placement observer

  • 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

    Magento's full-page cache serves a stored render to the visitor, which means anything relying on dynamically rendered values can silently fail — and in Magento this has historically included serving one customer's cached block to another, which is a data problem as well as a tracking one.

  • Sent from the browser

    The page the customer saw is not the page your code assumed. This is the defining Magento tracking failure and it produces intermittent, hard-to-reproduce loss.

  • 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

Magento → Outbrain · diagnose

Diagnostic order — Magento → Outbrain

  1. 01

    Count orders carrying the Outbrain click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Place a test order as an anonymous visitor through cache

    Not as an admin, which bypasses it. If the order data is missing on the cached path, caching is your cause.

  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.

Magento → Outbrain · prove

How it gets proven — Magento → Outbrain

Source of truth

Magento's sales order records in your own database, for the same window and order status set.

  • The Outbrain click identifier confirmed present on a live order.
  • Downstream conversion rate for Outbrain traffic measured separately from other channels.
  • Order data confirmed populated on an order placed through a fully warmed cache.

Magento → Outbrain · free audit

What we check in the free audit

  • Count orders carrying the Outbrain click identifier
  • Follow one real conversion end to end
  • Place a test order as an anonymous visitor through cache
  • Compare downstream conversion rates for discovery traffic against your other channels
  • Read the match rate, not the success message

Checked against

Magento's sales order records in your own database, for the same window and order status set.

Get my free conversion tracking audit

Free30 minutesNo obligation

Magento → Outbrain · when not to buy

When you don't need this — Magento → Outbrain

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Outbrain click identifier.
  • If your Magento build has heavy customisation by another team, scope their availability first — the build is usually blocked there.
  • If you have no top-of-funnel content worth discovering, native placement has nothing to work with regardless of measurement.

Magento → Outbrain · what we deliver

What gets built — Magento → Outbrain

  • Identifier capture into Magento

    Capture the identifier and persist it as order data through an observer on order placement, server-side, so it never depends on what the cache served.

  • Event source: the Magento order placement observer

    Fire server-side from the observer rather than from the success page template, which is cached and may not execute anything.

  • Dispatch to Outbrain

    Server events to Outbrain's conversions endpoint with the click identifier and hashed customer data.

  • Reversals where they exist

    Credit memos are recorded against the original order and should reduce the reported figure.

Written guarantee

95%+ tracking accuracy

Measured against Magento's sales order records in your own database, for the same window and order status set.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Magento → Outbrain questions, answered

Carry the click identifier from the article to the store, either in the outbound links or in a cookie on the shared parent domain, then store it on the Magento order and send the conversion server-side.

Free · 30 min

Get Magento and Outbrain joined properly

Free30 minutesNo obligation