Skip to main content
Statamic → Adobe AnalyticsIntegration guide

Connecting Statamic to Adobe Analytics

Statamic is a flat-file CMS on Laravel, usually chosen by agencies for content sites where commerce is bolted on rather than central. Adobe Analytics processes data on the way in through rules you configure, which means the same event can be recorded differently by two report suites and both will look authoritative. The join between them succeeds or fails on one thing: whether the Experience Cloud ID, plus whatever eVar you designate reaches the Statamic or Laravel order record before the conversion happens, because Adobe Analytics can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Statamic and Adobe Analytics: keep user data out of cached pages

Keep only page-level values such as content type, collection and entry ID in Statamic's cached data layer, loading per-visitor values through a nocache region, or static caching serves one visitor's eVars to everyone. For server-side form or order events, capture the ECID in a hidden field and set a purchase ID. Store the stable entry ID in an eVar.

Enterprise teams put Statamic in front of Adobe Analytics for content and campaign sites, and the pair-specific hazard is the data layer. If an Antlers or Blade template prints per-visitor values, such as a logged-in user ID, member tier or segment, into the data layer, full static caching bakes the first visitor's values into the file and serves them to everyone. Adobe then records thousands of visits under one person's eVar values.

Render only page-level values in cached templates: content type, collection, entry ID, author. Load anything per-visitor through a nocache region or a small authenticated endpoint after load. For server-side events, a form submission or an order from your Laravel app, capture the ECID into a hidden form field in the browser so the Data Insertion or Edge call can attach it, and set a purchase ID on orders so a reloaded confirmation page does not record twice.

Statamic entry IDs are stable UUIDs while slugs change whenever editors rename things. Put the entry ID in a prop or eVar alongside the page name, or content reports split every renamed article into two rows that no processing rule will reconcile later.

Statamic → Adobe Analytics · what breaks

Why this join usually fails — Statamic → Adobe Analytics

  1. 01

    The Experience Cloud ID, plus whatever eVar you designate 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

    Processing rules rewriting data before anyone sees it

    Rules run before storage and are frequently configured years earlier by someone who has left. A campaign variable can be overwritten, defaulted or dropped on the way in, and the reports will look consistent and be wrong.

  4. 04

    Nothing reconciles afterwards

    Use a raw data feed or Data Debugger to see what actually arrived, not the processed report. Those are different things and only one of them shows the truth.

Statamic → Adobe Analytics · the fix

What working looks like — Statamic → Adobe Analytics

  • The Experience Cloud ID, plus whatever eVar you designate on every order

  • Conversions arriving in Adobe Analytics

    The hit is processed through VISTA and processing rules, lands in the report suite, and becomes available under whatever allocation the eVar specifies.

  • Reconciled against the source

Statamic → Adobe Analytics · architecture

How Statamic and Adobe Analytics 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

    Adobe Analytics needs a click to match

    An eVar with the right persistence and allocation, an event configured in the report suite, and processing rules that do not quietly rewrite what arrived.

  3. 3

    The identifier is the bridge

    The Experience Cloud ID, plus whatever eVar you designate, 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

    Adobe deduplicates on purchase ID for orders. Omit it and a customer refreshing a confirmation page records the order again, which is the single most common inflation in Adobe implementations.

Statamic → Adobe Analytics · normal or broken

Working vs. broken, side by side — Statamic → Adobe Analytics

Normal, not a fault

  • The Experience Cloud ID, plus whatever eVar you designate present on the order

  • Sent from your Laravel application's order event

  • Deduplicated correctly

    Adobe deduplicates on purchase ID for orders. Omit it and a customer refreshing a confirmation page records the order again, which is the single most common inflation in Adobe implementations.

  • Reconciles with the source

Actually broken

  • The Experience Cloud ID, plus whatever eVar you designate 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

    Rules run before storage and are frequently configured years earlier by someone who has left. A campaign variable can be overwritten, defaulted or dropped on the way in, and the reports will look consistent and be wrong.

  • Nobody has reconciled it

Statamic → Adobe Analytics · diagnose

Diagnostic order — Statamic → Adobe Analytics

  1. 01

    Count orders carrying the Experience Cloud ID, plus whatever eVar you designate

  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

    Read the processing rules and the eVar allocation settings

    Before debugging the tag. On mature Adobe implementations the explanation is upstream of the browser far more often than in it.

  5. 05

    Read the match rate, not the success message

    Use a raw data feed or Data Debugger to see what actually arrived, not the processed report. Those are different things and only one of them shows the truth.

Statamic → Adobe Analytics · prove

How it gets proven — Statamic → Adobe Analytics

Source of truth

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

  • The Experience Cloud ID, plus whatever eVar you designate confirmed present on a live order.
  • Orders reconciled against the raw feed with purchase ID deduplication verified, then against the processed report suite.
  • Order data confirmed persisted on a purchase made while full static caching was active.

Statamic → Adobe Analytics · free audit

What we check in the free audit

  • Count orders carrying the Experience Cloud ID, plus whatever eVar you designate
  • Follow one real conversion end to end
  • Check whether full static caching is enabled
  • Read the processing rules and the eVar allocation settings
  • 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 → Adobe Analytics · when not to buy

When you don't need this — Statamic → Adobe Analytics

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Experience Cloud ID, plus whatever eVar you designate.
  • If commerce lives in a separate system entirely, work there — Statamic is the content layer.
  • If you are already on GA4 and not obliged to use Adobe, running both means two versions of every number and a standing argument about which is right.

Statamic → Adobe Analytics · what we deliver

What gets built — Statamic → Adobe Analytics

  • 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 Adobe Analytics

    Server-side via the Data Insertion or Edge API, with the ECID and the configured variables.

  • 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 → Adobe Analytics questions, answered

Full static caching is serving a page whose data layer was rendered for one logged-in user. Move per-visitor values into a nocache region or load them after the page loads.

Free · 30 min

Get Statamic and Adobe Analytics joined properly

Free30 minutesNo obligation