Skip to main content
Statamic → OutbrainIntegration guide

Connecting Statamic to Outbrain

Statamic is a flat-file CMS on Laravel, usually chosen by agencies for content sites where commerce is bolted on rather than central. 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 Statamic or Laravel order record 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

Statamic advertorials to Outbrain: keep the click ID across the hop

Statamic often hosts the pre-sell pages while the sale happens on a separate store. Append the Outbrain click identifier to every outbound store link with a client-side script, since cached templates cannot rewrite links per visitor, then persist it on the store, attach it to the order and send purchase server-side. Treat advertorial click-through as a diagnostic only.

Statamic is a common choice for the pre-sell pages Outbrain campaigns land on: long articles, listicles, quizzes, built by an agency and served fast from static cache. The sale then happens on a separate store. That domain hop is where this pair breaks: the Outbrain click identifier arrives on the Statamic page and never reaches the checkout, so purchases cannot be joined to the click.

Append the click identifier to every outbound link to the store with a small client-side script, because full static caching means a template cannot rewrite links per visitor. On the store side, persist it on landing and attach it to the order, then send purchase to Outbrain server-side. Shared event IDs between pixel and server events matter on the store, not on the advertorial.

Use the advertorial as a diagnostic, not a conversion. Click-through from the Statamic page to the store is a shallow action Outbrain traffic produces cheaply; track it per entry and per publisher section to compare variants, but optimize Outbrain on purchase. Storing each variant as its own Statamic entry gives you a stable ID to report on as editors adjust copy.

Statamic → Outbrain · what breaks

Why this join usually fails — Statamic → Outbrain

  1. 01

    The Outbrain click identifier never reaches Statamic

    Statamic's static caching serves pre-rendered files with no PHP execution at all, which means anything expecting server-side rendering per request simply does not run.

  2. 02

    Static caching bypassing PHP entirely

    Statamic's full static caching serves a file from disk. No PHP runs, so nothing dynamic happens — and this is invisible because the page looks perfect.

  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.

Statamic → Outbrain · the fix

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

Statamic → Outbrain · architecture

How Statamic and Outbrain actually connect

  1. 1

    Statamic holds the truth

    Because Statamic sits on Laravel, the commercial record is usually a database table your developers defined. That is the source of truth and it is fully under your control.

  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 Statamic or Laravel order record.

  4. 4

    The event source decides reliability

    Fire from the application event. Static caching means the template that rendered the page may never have executed anything.

  5. 5

    Deduplication at the destination

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

Statamic → Outbrain · normal or broken

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

Normal, not a fault

  • The Outbrain click identifier present on the order

  • Sent from your Laravel application's order event

  • 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

    Statamic's static caching serves pre-rendered files with no PHP execution at all, which means anything expecting server-side rendering per request simply does not run.

  • Sent from the browser

    Statamic's full static caching serves a file from disk. No PHP runs, so nothing dynamic happens — and this is invisible because the page looks perfect.

  • 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

Statamic → Outbrain · diagnose

Diagnostic order — Statamic → Outbrain

  1. 01

    Count orders carrying the Outbrain click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether full static caching is enabled

    If it is, any per-request logic in a template is not running and never was.

  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.

Statamic → Outbrain · prove

How it gets proven — Statamic → Outbrain

Source of truth

Whatever your Laravel application persists — Statamic's flat files hold content, not transactions.

  • The Outbrain click identifier confirmed present on a live order.
  • Downstream conversion rate for Outbrain traffic measured separately from other channels.
  • Order data confirmed persisted on a purchase made while full static caching was active.

Statamic → 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 whether full static caching is enabled
  • Compare downstream conversion rates for discovery traffic against your other channels
  • Read the match rate, not the success message

Checked against

Whatever your Laravel application persists — Statamic's flat files hold content, not transactions.

Get my free conversion tracking audit

Free30 minutesNo obligation

Statamic → Outbrain · when not to buy

When you don't need this — Statamic → Outbrain

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Outbrain click identifier.
  • If commerce lives in a separate system entirely, work there — Statamic is the content layer.
  • If you have no top-of-funnel content worth discovering, native placement has nothing to work with regardless of measurement.

Statamic → Outbrain · what we deliver

What gets built — Statamic → Outbrain

  • Identifier capture into Statamic

    Capture the identifier and persist it through a Laravel event listener into your own order table, entirely outside the static cache path.

  • Event source: your Laravel application's order event

    Fire from the application event. Static caching means the template that rendered the page may never have executed anything.

  • Dispatch to Outbrain

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

  • Reversals where they exist

    Whatever your application defines as a refund.

Written guarantee

95%+ tracking accuracy

Measured against Whatever your Laravel application persists — Statamic's flat files hold content, not transactions.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Statamic → Outbrain questions, answered

Append it to outbound store links with a client-side script, then persist it on the store and attach it to the order.

Free · 30 min

Get Statamic and Outbrain joined properly

Free30 minutesNo obligation