Skip to main content
Olo → X AdsIntegration guide

Connecting Olo to X Ads

Olo sits between a multi-location brand and every channel it sells through, which makes it the only place where a direct order and a marketplace order can be compared on the same terms. 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 Olo 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

Olo to X Ads: launch-day orders through the in-app browser

Read twclid on your landing page, carry it into the Olo ordering session, and persist it where the Olo order webhook can find it, since X's in-app browser storage is short-lived. Send direct orders server-side with the Olo order ID as conversion ID, shared with any pixel, and food subtotal as value. Exclude Rails orders.

Restaurant brands use X for launches, limited-time items and moments that get discussed, which is exactly where engagement and ordering diverge. A post about a new menu item can be quoted thousands of times and move few direct orders. If you run paid campaigns there, the only number that matters is direct Olo orders at the stores in the campaign's area, not engagement.

Most of that traffic opens in X's in-app browser, then hops to the ordering experience, often on an Olo-hosted subdomain. Read twclid on your landing page, carry it into the ordering session, and persist it where the Olo order webhook can find it, because in-app storage is short-lived and the browser often closes before checkout. Send direct orders server-side with the Olo order ID as the conversion ID shared with any pixel event, and test that one order counts once.

Exclude Rails orders: a limited-time item will also sell on DoorDash, and that demand should not be credited to X. Send the food subtotal as value. Report per location, because a national post can drive orders only where the item is available, and stores without it are noise in the denominator.

Olo → X Ads · what breaks

Why this join usually fails — Olo → X Ads

  1. 01

    The twclid click identifier never reaches Olo

    Olo's ordering experience is frequently hosted on an Olo subdomain, and marketplace orders arrive through an API with no browser session behind them whatsoever.

  2. 02

    Marketplace orders inflating the direct channel

    Rails is designed to make marketplace demand look like your own order flow, which is excellent for operations and ruinous for measurement. Left unsplit, a good week on DoorDash reads as a good week for your ad account.

  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.

Olo → X Ads · the fix

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

Olo → X Ads · architecture

How Olo and X Ads actually connect — Olo → X Ads

  1. 1

    Olo holds the truth

    Rails pulls DoorDash, Uber Eats and Grubhub orders into the same order stream as your own website. They land in one feed and they are not the same thing: one carries a click you paid for, the other carries a marketplace commission and no identifier at all.

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

  4. 4

    The event source decides reliability

    Send per-location. A brand with two hundred restaurants running one national campaign learns nothing from a single national conversion number.

  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.

Olo → X Ads · normal or broken

Working vs. broken, side by side — Olo → X Ads

Normal, not a fault

  • The twclid click identifier present on the order

  • Sent from the Olo order webhook

  • 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

    Olo's ordering experience is frequently hosted on an Olo subdomain, and marketplace orders arrive through an API with no browser session behind them whatsoever.

  • Sent from the browser

    Rails is designed to make marketplace demand look like your own order flow, which is excellent for operations and ruinous for measurement. Left unsplit, a good week on DoorDash reads as a good week for your ad account.

  • 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

Olo → X Ads · diagnose

Diagnostic order — Olo → X Ads

  1. 01

    Count orders carrying the twclid click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Separate direct from Rails at the source

    Do this before any tracking work. The split is the measurement; everything after it is plumbing.

  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.

Olo → X Ads · prove

How it gets proven — Olo → X Ads

Source of truth

Olo orders by location and by channel, with direct and Rails-sourced marketplace orders held apart.

  • The twclid click identifier confirmed present on a live order.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • Direct-channel orders per location reconciled against imported conversions, with Rails volume reported as a named exclusion.

Olo → 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
  • Separate direct from Rails at the source
  • Compare engagement rate against conversion rate by campaign
  • Read the match rate, not the success message

Checked against

Olo orders by location and by channel, with direct and Rails-sourced marketplace orders held apart.

Get my free conversion tracking audit

Free30 minutesNo obligation

Olo → X Ads · when not to buy

When you don't need this — Olo → X Ads

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the twclid click identifier.
  • If your Olo volume is overwhelmingly Rails, the campaign question is about marketplace placement and commission, and no amount of conversion tracking will answer it.
  • 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.

Olo → X Ads · what we deliver

What gets built — Olo → X Ads

  • Identifier capture into Olo

    Persist the identifier on the direct-ordering path only, and mark Rails-sourced orders explicitly as unattributable rather than letting them dilute the figure.

  • Event source: the Olo order webhook

    Send per-location. A brand with two hundred restaurants running one national campaign learns nothing from a single national conversion number.

  • Dispatch to X Ads

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

  • Reversals where they exist

    Cancelled and refunded orders should reduce the figure, per location.

Written guarantee

95%+ tracking accuracy

Measured against Olo orders by location and by channel, with direct and Rails-sourced marketplace orders held apart.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Olo → X Ads questions, answered

Capture twclid on landing, carry it into the ordering session and the order, and send direct orders server-side with the Olo order ID as conversion ID.

Free · 30 min

Get Olo and X Ads joined properly

Free30 minutesNo obligation