Skip to main content
Concrete CMS → X AdsIntegration guide

Connecting Concrete CMS to X Ads

Concrete CMS is a self-hosted PHP CMS used by small organisations and agencies, typically with commerce added through an add-on rather than built in. X is a conversation platform where a large share of engagement is discussion rather than intent, which makes the gap between engagement metrics and conversions unusually wide. The join between them succeeds or fails on one thing: whether the twclid click identifier reaches the Concrete CMS order before the conversion happens, because X Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

X Ads conversions from a Concrete CMS store: twclid onto the order

X's in-app browser may not keep cookies, so read twclid on the first Concrete CMS request, via server-side GTM, the edge, or by excluding those URLs from caching, and store it in the session and as an order attribute. Send purchases to the X Conversions API from the order-completed event with the order ID as shared conversion ID.

X sends twclid on the landing URL, and much X traffic opens your Concrete CMS page inside the X in-app browser, where the pixel's storage may not last until checkout. Read twclid server-side on the first request, write it to the session, and then to an order attribute in the commerce add-on's order-created listener, so it no longer depends on the in-app browser keeping a cookie.

The page cache decides whether that read happens at all: a cached landing page returns HTML without running PHP. Either capture twclid in a server-side GTM container or at the edge, or exclude URLs carrying it from the cache. Send the purchase through the X Conversions API from the order-completed event with the order ID as the conversion ID shared with any X pixel purchase, plus value, currency and hashed email.

Expect small numbers. A Concrete store's X-driven orders are often a handful a month, and a doubled count from missing deduplication looks like a good week rather than a bug. Place one test order, then confirm X records exactly one.

Concrete CMS → X Ads · what breaks

Why this join usually fails — Concrete CMS → X Ads

  1. 01

    The twclid click identifier never reaches Concrete CMS

    Full page caching and the add-on ecosystem both interfere. Because commerce is an add-on rather than core, where the order is created differs by which add-on is installed.

  2. 02

    Commerce as an add-on, not a core feature

    Which add-on is installed determines the entire integration surface, so nothing transfers between two Concrete sites without checking first.

  3. 03

    Engagement mistaken for intent

    A post can be quoted, argued with and shared widely by people with no interest in buying anything. Optimising toward engagement on this platform reliably finds an audience that will never convert, and the engagement numbers look excellent throughout.

  4. 04

    Nothing reconciles afterwards

    Read the delivered and matched counts in X's reporting rather than assuming a 200 response means the event was usable.

Concrete CMS → X Ads · the fix

What working looks like — Concrete CMS → X Ads

  • The twclid click identifier on every order

  • Conversions arriving in X Ads

    The conversion is matched to a click or an engagement and becomes available for optimisation and reporting.

  • Reconciled against the source

Concrete CMS → X Ads · architecture

How Concrete CMS and X Ads actually connect

  1. 1

    Concrete CMS holds the truth

    Self-hosted means you own and can query the data directly, which makes reconciliation straightforward once the identifier is present.

  2. 2

    X Ads needs a click to match

    An event X recognises, a conversion identifier for deduplication, hashed customer information, and the click identifier where you have it.

  3. 3

    The identifier is the bridge

    The twclid click identifier, captured at the visit and carried into the Concrete CMS order.

  4. 4

    The event source decides reliability

    Fire server-side. Page caching means the confirmation template may not execute.

  5. 5

    Deduplication at the destination

    X deduplicates browser and server events on a shared conversion ID. Send both without pairing them and every conversion counts twice — worth testing deliberately, because X volumes are often small enough that a doubling reads as a good week.

Concrete CMS → X Ads · normal or broken

Working vs. broken, side by side — Concrete CMS → X Ads

Normal, not a fault

  • The twclid click identifier present on the order

  • Sent from the order-completed event from your commerce add-on

  • Deduplicated correctly

    X deduplicates browser and server events on a shared conversion ID. Send both without pairing them and every conversion counts twice — worth testing deliberately, because X volumes are often small enough that a doubling reads as a good week.

  • Reconciles with the source

Actually broken

  • The twclid click identifier missing on most records

    Full page caching and the add-on ecosystem both interfere. Because commerce is an add-on rather than core, where the order is created differs by which add-on is installed.

  • Sent from the browser

    Which add-on is installed determines the entire integration surface, so nothing transfers between two Concrete sites without checking first.

  • Counted twice, or not at all

    A post can be quoted, argued with and shared widely by people with no interest in buying anything. Optimising toward engagement on this platform reliably finds an audience that will never convert, and the engagement numbers look excellent throughout.

  • Nobody has reconciled it

Concrete CMS → X Ads · diagnose

Diagnostic order — Concrete CMS → X Ads

  1. 01

    Count orders carrying the twclid click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Identify which commerce add-on is in use

    That decides where the order is created and what events exist to hook.

  4. 04

    Compare engagement rate against conversion rate by campaign

    On X the two frequently move in opposite directions, and that divergence is the finding rather than a measurement fault.

  5. 05

    Read the match rate, not the success message

    Read the delivered and matched counts in X's reporting rather than assuming a 200 response means the event was usable.

Concrete CMS → X Ads · prove

How it gets proven — Concrete CMS → X Ads

Source of truth

Your own database's order records, at agreed states.

  • The twclid click identifier confirmed present on a live order.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • Order attribute confirmed populated on a purchase through a cached page.

Concrete CMS → X Ads · free audit

What we check in the free audit

  • Count orders carrying the twclid click identifier
  • Follow one real conversion end to end
  • Identify which commerce add-on is in use
  • Compare engagement rate against conversion rate by campaign
  • Read the match rate, not the success message

Checked against

Your own database's order records, at agreed states.

Get my free conversion tracking audit

Free30 minutesNo obligation

Concrete CMS → X Ads · when not to buy

When you don't need this — Concrete CMS → X Ads

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the twclid click identifier.
  • If your Concrete site is brochure-only with enquiries by form, treat it as a lead-gen site rather than a commerce one.
  • If X is a brand and community channel for you rather than a performance one, measure it that way and do not force a conversion pipeline onto it.

Concrete CMS → X Ads · what we deliver

What gets built — Concrete CMS → X Ads

  • Identifier capture into Concrete CMS

    Capture the identifier and persist it as order attribute data through an event listener, server-side.

  • Event source: the order-completed event from your commerce add-on

    Fire server-side. Page caching means the confirmation template may not execute.

  • Dispatch to X Ads

    The X Conversions API, posted server-side with the click identifier and hashed customer data.

  • Reversals where they exist

    Order state changes recorded by the add-on.

Written guarantee

95%+ tracking accuracy

Measured against Your own database's order records, at agreed states.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Concrete CMS → X Ads questions, answered

Capture twclid server-side at landing, store it on the order, and send the purchase through the X Conversions API from the commerce add-on's order event, using a conversion ID shared with the pixel.

Free · 30 min

Get Concrete CMS and X Ads joined properly

Free30 minutesNo obligation