Connecting Square to X Ads
Square holds the transaction, and for most Square businesses the majority of those transactions are a card tapped at a counter with no browser anywhere near them. 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 payment or 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 to X Ads: online orders, in-app clicks, small numbers
Read twclid from the URL on the first page, post it to your server and tie it to the Square Online order before payment, since X's in-app browser and Square's hosted checkout lose it. Send each completed order from the payment webhook to the X Conversions API with the Square order ID as conversion ID, amount, currency and hashed email.
For most Square businesses X is a brand channel; when it is used for conversions, it is usually for Square Online orders around product launches or drops. Most X clicks open in the in-app browser, and Square Online's checkout is a separate hosted step, so twclid needs to be read from the URL and posted to your server on the first page, then tied to the order before payment rather than recovered from a cookie afterward.
Send each completed online order from the Square payment webhook to the X Conversions API, against a purchase event you created in X Events Manager, with the Square order ID as the conversion ID, the amount and currency, and hashed email where the order carries it. If the X pixel also fires on the confirmation page, it must send the same order ID; with drop volumes in the dozens, an unpaired duplicate doubles results and goes unnoticed.
The specific break here is the device hop. Shoppers see the drop on X on their phone, then buy on a laptop later, and twclid doesn't follow them. Hashed email from the Square order is the only bridge, and a guest checkout that skips the email field provides nothing to match.
Square → X Ads · what breaks
Why this join usually fails — Square → X Ads
- 01
The twclid click identifier never reaches Square
Square Online checkout is hosted, so the identifier must be carried deliberately rather than by cookie. For in-person payments there is no identifier at all unless the customer booked an appointment or is in the customer directory — a walk-in who taps a card cannot be joined to an ad click by anyone.
- 02
Most of the revenue has no browser
A card at a terminal has no click, no session and no identifier. That is a boundary to measure rather than a bug to fix, and the honest deliverable includes how much of your revenue sits outside it.
- 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.
- 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 → X Ads · the fix
What working looks like — Square → X Ads
The twclid click identifier on every transaction
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 → X Ads · architecture
How Square and X Ads actually connect
- 1
Square holds the truth
Square records every payment with its amount, channel and, where the customer is identified, a link to the customer directory. That directory is the only bridge between a counter payment and anything that happened online.
- 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
The identifier is the bridge
The twclid click identifier, captured at the visit and carried into the Square payment or order.
- 4
The event source decides reliability
Subscribe to payment and order events and send from your server. This covers online orders cleanly, and covers in-person payments only for the share you can join to an identity.
- 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 → X Ads · normal or broken
Working vs. broken, side by side — Square → X Ads
Normal, not a fault
The twclid click identifier present on the transaction
Sent from the Square payment 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
Square Online checkout is hosted, so the identifier must be carried deliberately rather than by cookie. For in-person payments there is no identifier at all unless the customer booked an appointment or is in the customer directory — a walk-in who taps a card cannot be joined to an ad click by anyone.
Sent from the browser
A card at a terminal has no click, no session and no identifier. That is a boundary to measure rather than a bug to fix, and the honest deliverable includes how much of your revenue sits outside it.
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 → X Ads · diagnose
Diagnostic order — Square → X Ads
- 01
Count transactions carrying the twclid click identifier
- 02
Follow one real conversion end to end
- 03
Split Square revenue by channel before anything else
Online versus in-person. Every subsequent number depends on that split, and blending them makes both unreadable.
- 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.
- 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 → X Ads · prove
How it gets proven — Square → X Ads
Source of truth
Square's transaction list, split by channel — online and in-person are different questions.
- The twclid click identifier confirmed present on a live transaction.
- Conversions reconciled per order against imported figures, with deduplication verified on a live test.
- The in-person join rate measured and stated as a number before any coverage claim is made.
Square → X Ads · free audit
What we check in the free audit
- Count transactions carrying the twclid click identifier
- Follow one real conversion end to end
- Split Square revenue by channel before anything else
- Compare engagement rate against conversion rate by campaign
- Read the match rate, not the success message
Checked against
Square's transaction list, split by channel — online and in-person are different questions.
Free30 minutesNo obligation
Square → X Ads · when not to buy
When you don't need this — Square → X Ads
- Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the twclid click identifier.
- If nearly all your revenue is in person with no appointments and no identified customers, there is very little here to attribute and we will say so rather than build a bridge to nothing.
- 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 → X Ads · what we deliver
What gets built — Square → X Ads
Identifier capture into Square
Capture the click identifier and carry it into Square Online checkout, and for in-person work use an appointment booking as the bridge so the eventual payment can be joined through the customer record.
Event source: the Square payment webhook
Subscribe to payment and order events and send from your server. This covers online orders cleanly, and covers in-person payments only for the share you can join to an identity.
Dispatch to X Ads
The X Conversions API, posted server-side with the click identifier and hashed customer data.
Reversals where they exist
Square exposes refunds clearly, and in hospitality and services voids and comps are frequent enough that wiring the reversal matters.
Written guarantee
95%+ tracking accuracy
Measured against Square's transaction list, split by channel — online and in-person are different questions.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Square → X Ads questions, answered
Capture twclid on landing, keep it server-side, and send completed orders from Square's payment webhook to the X Conversions API with the order ID as the conversion ID.
No. Counter payments have no twclid and no browser, so they can't be attributed to an X click.
Almost always because the twclid click identifier never reached the Square payment or order. Square Online checkout is hosted, so the identifier must be carried deliberately rather than by cookie. For in-person payments there is no identifier at all unless the customer booked an appointment or is in the customer directory — a walk-in who taps a card cannot be joined to an ad click by anyone. Measure coverage before debugging the dispatch.
X appends twclid to the landing URL and the pixel stores it. It behaves like other click identifiers, with the usual caveat that a large share of X traffic arrives through the in-app browser, where storage is partitioned and short-lived.
The Square payment webhook. Subscribe to payment and order events and send from your server. This covers online orders cleanly, and covers in-person payments only for the share you can join to an identity.
Read the delivered and matched counts in X's reporting rather than assuming a 200 response means the event was usable.
More on Square → X Ads
- Square → Google AdsConnecting Square to Google Ads
- Square → Microsoft AdsConnecting Square to Microsoft Ads
- Square → Apple Search AdsConnecting Square to Apple Search Ads
RELATED GUIDES
Where Square → X Ads fits in the rest of your tracking
- X Ads · Financial servicesX Ads conversion tracking for financial services firms
- X Ads · SaaSX Ads conversion tracking for SaaS companies
- X Ads × Ecommerce OrdersHow to reconcile X Ads against your store's order table
- X Ads · Free trial → paidHow to track free trial to paid for X Ads
- Chargebee → X AdsConnecting Chargebee to X Ads
- Square → PinterestConnecting Square to Pinterest
- EcommerceConversion tracking for ecommerce brands, measured against your orders
- Sezzle → X AdsConnecting Sezzle to X Ads
Free · 30 min
Get Square and X Ads joined properly
Free30 minutesNo obligation
