Skip to main content
Square Online → X AdsIntegration guide

Connecting Square Online to X Ads

Square Online orders settle into the same Square account as the card taken at the counter, which is a genuine advantage: the online and in-person halves of the business are already denominated in one ledger. 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 Square Online 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

Square Online orders to X Ads, from in-app tap to pickup order

Capture twclid on the first page view and store it on your own domain or through code injection, though the buyer's email or phone is often the dependable join. Send online-channel Square orders to X's Conversions API against a purchase event, net of tax and tip, with hashed email and phone and the Square order ID as conversion ID.

A local restaurant or shop promoting on X typically gets tapped inside the X app, lands on a Square Online menu in the in-app browser, and checks out on Square's pages. twclid has to be captured on that first page view and kept somewhere that survives the handoff: first-party storage on your own domain if you front the store with one, or code injection if your plan allows it. Often the only dependable join is the buyer's email or phone from the Square order.

From Square's order webhooks, send online-channel orders to X's Conversions API against a purchase event set up in X Ads Manager, with the value net of tax and tip, hashed email and phone, twclid where you have it, and the Square order ID as the conversion ID. Food tips are large and are not your revenue. If an X pixel also fires on an order confirmation page you control, it must send the same order ID.

X engagement for a food business can look strong, with a new menu item reposted around town, while orders do not move. Compare by campaign: Square orders for the location against X-reported conversions. If X is mostly community presence for you, skip the build and watch pickup orders around posts instead.

Square Online → X Ads · what breaks

Why this join usually fails — Square Online → X Ads

  1. 01

    The twclid click identifier never reaches Square Online

    Square Online sites are frequently on a Square-provided domain, and checkout may hand off to Square-hosted payment pages depending on configuration.

  2. 02

    Counter sales counted as online conversions

    The convenience of one ledger is also the trap. If the sales channel is not filtered, every card swipe at the register lands in your ad reporting as a conversion you paid for.

  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.

Square Online → X Ads · the fix

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

Square Online → X Ads · architecture

How Square Online and X Ads actually connect

  1. 1

    Square Online holds the truth

    The filter is the whole job. Square's default reporting cheerfully sums counter sales and online orders, and that total is not something any ad platform should be optimizing toward.

  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 Square Online order.

  4. 4

    The event source decides reliability

    Send net of tips and taxes. Tips on food orders are substantial and are not your revenue.

  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.

Square Online → X Ads · normal or broken

Working vs. broken, side by side — Square Online → X Ads

Normal, not a fault

  • The twclid click identifier present on the order

  • Sent from the Square transaction record

  • 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

    Square Online sites are frequently on a Square-provided domain, and checkout may hand off to Square-hosted payment pages depending on configuration.

  • Sent from the browser

    The convenience of one ledger is also the trap. If the sales channel is not filtered, every card swipe at the register lands in your ad reporting as a conversion you paid for.

  • 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

Square Online → X Ads · diagnose

Diagnostic order — Square Online → X Ads

  1. 01

    Count orders carrying the twclid click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Filter by sales channel and re-check the total

    Compare the filtered online total against Square Online's own order count. If they disagree, the filter is wrong before the tracking is.

  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.

Square Online → X Ads · prove

How it gets proven — Square Online → X Ads

Source of truth

Square transactions filtered to the online sales channel, by location.

  • The twclid click identifier confirmed present on a live order.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • Online-channel transactions reconciled against imported conversions for a settled week.

Square Online → 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
  • Filter by sales channel and re-check the total
  • Compare engagement rate against conversion rate by campaign
  • Read the match rate, not the success message

Checked against

Square transactions filtered to the online sales channel, by location.

Get my free conversion tracking audit

Free30 minutesNo obligation

Square Online → X Ads · when not to buy

When you don't need this — Square Online → X Ads

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the twclid click identifier.
  • If Square Online is a small side channel next to your counter business, measure it on order count and do not build an import for 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.

Square Online → X Ads · what we deliver

What gets built — Square Online → X Ads

  • Identifier capture into Square Online

    Persist the identifier in first-party storage on your own domain before the handoff, and reattach it to the order at the point the transaction is written.

  • Event source: the Square transaction record

    Send net of tips and taxes. Tips on food orders are substantial and are not your revenue.

  • Dispatch to X Ads

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

  • Reversals where they exist

    Refunds appear in Square as their own records and should be sent as reversals.

Written guarantee

95%+ tracking accuracy

Measured against Square transactions filtered to the online sales channel, by location.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Square Online → X Ads questions, answered

Capture twclid on the landing page, then send orders server-side from Square's webhooks to X's Conversions API with hashed contact details and the order ID for deduplication.

Free · 30 min

Get Square Online and X Ads joined properly

Free30 minutesNo obligation