Connecting Square to Amplitude
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. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the Square payment or order before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Square in Amplitude: revenue events joined through the customer ID
Store the Square customer_id on your app user at signup, then send Order Completed from Square payment webhooks for every payment with a mappable customer_id, filling price, quantity and revenue converted from Square's smallest currency unit, plus channel and location. Skip anonymous payments, send refunds as negative revenue, and measure identified in-person share per location.
Amplitude suits a Square business with its own app or logged-in ordering site, such as a cafe chain with a loyalty app or a studio with a members portal, where the question is whether app engagement leads to spending, online or at the counter. The join is Square's customer directory: store the Square customer_id on your app user at signup, and use your own user ID in Amplitude.
From Square's payment webhooks, send Order Completed for every payment carrying a customer_id you can map, with Amplitude's price, quantity and revenue fields filled from the Square amount, converted from the smallest currency unit Square reports in, and channel (online or in-person) and location as properties. Payments with no customer_id go nowhere; they are the walk-ins. Refunds become a separate event with negative revenue, so lifetime value cohorts reflect what was kept.
The pair-specific break is identity at the counter. A customer pays with a different card than the one on file, staff don't attach the customer, and the payment lands as anonymous. Measure the share of in-person revenue carrying a customer_id per location before trusting any cohort; at many counters it is small, and that is the finding.
Square → Amplitude · what breaks
Why this join usually fails — Square → Amplitude
- 01
The user ID and device ID pair 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
Revenue events that carry no revenue
Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.
- 04
Nothing reconciles afterwards
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
Square → Amplitude · the fix
What working looks like — Square → Amplitude
The user ID and device ID pair on every transaction
Conversions arriving in Amplitude
The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.
Reconciled against the source
Square → Amplitude · architecture
How Square and Amplitude 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
Amplitude needs a click to match
Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.
- 3
The identifier is the bridge
The user ID and device ID pair, 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
Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.
Square → Amplitude · normal or broken
Working vs. broken, side by side — Square → Amplitude
Normal, not a fault
The user ID and device ID pair present on the transaction
Sent from the Square payment webhook
Deduplicated correctly
Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.
Reconciles with the source
Actually broken
The user ID and device ID pair 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
Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.
Nobody has reconciled it
Square → Amplitude · diagnose
Diagnostic order — Square → Amplitude
- 01
Count transactions carrying the user ID and device ID pair
- 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
Check a purchase event for the price and quantity fields specifically
Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.
- 05
Read the match rate, not the success message
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
Square → Amplitude · prove
How it gets proven — Square → Amplitude
Source of truth
Square's transaction list, split by channel — online and in-person are different questions.
- The user ID and device ID pair confirmed present on a live transaction.
- Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
- The in-person join rate measured and stated as a number before any coverage claim is made.
Square → Amplitude · free audit
What we check in the free audit
- Count transactions carrying the user ID and device ID pair
- Follow one real conversion end to end
- Split Square revenue by channel before anything else
- Check a purchase event for the price and quantity fields specifically
- 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 → Amplitude · when not to buy
When you don't need this — Square → Amplitude
- Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the user ID and device ID pair.
- 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 nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.
Square → Amplitude · what we deliver
What gets built — Square → Amplitude
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 Amplitude
The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.
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 → Amplitude questions, answered
Store the Square customer_id on your app user, then send payments that carry that ID as revenue events on the matching Amplitude user.
Square reports money in the smallest currency unit, such as cents. Divide before filling Amplitude's price and revenue fields.
Almost always because the user ID and device ID pair 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.
Amplitude tracks both a device ID and a user ID and merges them when a user identifies. The merge rules decide who counts as one person, so a mistake here does not produce a small error — it changes every retention curve and cohort size in the account.
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.
Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.
More on Square → Amplitude
- Square Online → AmplitudeConnecting Square Online to Amplitude
- Square Appointments → AmplitudeConnecting Square Appointments to Amplitude
- Square → Google AdsConnecting Square to Google Ads
RELATED GUIDES
Where Square → Amplitude fits in the rest of your tracking
- Worldpay → AmplitudeConnecting Worldpay to Amplitude
- GoCardless → AmplitudeConnecting GoCardless to Amplitude
- Chargebee → AmplitudeConnecting Chargebee to Amplitude
- Square → PostHogConnecting Square to PostHog
- Square → MixpanelConnecting Square to Mixpanel
- Financial servicesConversion tracking for financial services, built for the compliance review
- Helcim → AmplitudeConnecting Helcim to Amplitude
- Zuora → AmplitudeConnecting Zuora to Amplitude
Free · 30 min
Get Square and Amplitude joined properly
Free30 minutesNo obligation
