Connecting Magento to Attentive
Magento is self-hosted and endlessly customisable, which means every installation is different and full-page caching is always in the way. Attentive is SMS, where the identifier is a phone number, the consent rules are legal rather than advisory, and a mistake reaches the customer's pocket within seconds. The join between them succeeds or fails on one thing: whether the subscriber's phone number reaches the Magento order before the conversion happens, because Attentive can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Magento to Attentive: a checkout phone is not SMS consent
Magento's checkout phone field is for the carrier, not SMS consent; creating Attentive subscribers from it invites TCPA exposure. Consent comes from Attentive sign-up units or an explicit opt-in checkbox. Send purchases from the order placement observer with the phone normalized to one international format and the increment ID, and send credit memo refunds.
Magento's default checkout asks for a telephone number on the billing and shipping address, and many stores make it required. That field exists for the carrier. It is not consent to receive marketing texts, and an integration that reads it from the order and creates Attentive subscribers is a direct route to TCPA exposure. Consent comes from Attentive's sign-up units or an explicit opt-in checkbox with the required disclosure, nothing else.
Check whether Attentive's Magento integration covers your version and checkout customizations; heavily modified one-page checkouts often break third-party checkboxes. The sign-up unit is client-side JavaScript and survives full-page cache, but any server-rendered block showing subscriber status can be served to the wrong visitor from cache, so keep subscriber state out of cached templates.
Send purchases from the order placement observer with the subscriber's phone number normalized to one international format, which Magento does not enforce on the address field, plus the order increment ID so a retry is not a second order text. Credit memos should fire a refund event if journeys branch on it; otherwise a refunded customer keeps getting cross-sell texts for a product they returned. Exclude admin-created phone orders unless consent was captured.
Magento → Attentive · what breaks
Why this join usually fails — Magento → Attentive
- 01
The subscriber's phone number never reaches Magento
Magento's full-page cache serves a stored render to the visitor, which means anything relying on dynamically rendered values can silently fail — and in Magento this has historically included serving one customer's cached block to another, which is a data problem as well as a tracking one.
- 02
Full-page cache between the visitor and your code
The page the customer saw is not the page your code assumed. This is the defining Magento tracking failure and it produces intermittent, hard-to-reproduce loss.
- 03
Consent state treated as a tracking detail rather than a legal one
Sending an event is not the same as being allowed to message the person it describes. US SMS marketing is governed by express written consent requirements with statutory damages per message, and "the integration sent it" is not a defence. Consent state has to be checked at send time, in Attentive, not inferred from the fact that an event arrived.
- 04
Nothing reconciles afterwards
Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.
Magento → Attentive · the fix
What working looks like — Magento → Attentive
The subscriber's phone number on every order
Conversions arriving in Attentive
The event lands on the subscriber, triggers the journeys that depend on it, and becomes available for segmentation.
Reconciled against the source
Magento → Attentive · architecture
How Magento and Attentive actually connect
- 1
Magento holds the truth
You own the database, so the truth is as good as the query. Pin down which order statuses count as revenue — processing, complete, or both — because that choice moves the number substantially.
- 2
Attentive needs a click to match
Attentive needs the subscriber's phone number, the event name and its properties. It also needs the subscriber to have consented — an event about someone who never opted in cannot legally be messaged, whatever the event says.
- 3
The identifier is the bridge
The subscriber's phone number, captured at the visit and carried into the Magento order.
- 4
The event source decides reliability
Fire server-side from the observer rather than from the success page template, which is cached and may not execute anything.
- 5
Deduplication at the destination
Attentive does not deduplicate for you. A purchase sent twice can trigger a journey twice, and the customer receives two texts. Unlike an email, a duplicate SMS costs you money per send and irritates the recipient measurably more.
Magento → Attentive · normal or broken
Working vs. broken, side by side — Magento → Attentive
Normal, not a fault
The subscriber's phone number present on the order
Sent from the Magento order placement observer
Deduplicated correctly
Attentive does not deduplicate for you. A purchase sent twice can trigger a journey twice, and the customer receives two texts. Unlike an email, a duplicate SMS costs you money per send and irritates the recipient measurably more.
Reconciles with the source
Actually broken
The subscriber's phone number missing on most records
Magento's full-page cache serves a stored render to the visitor, which means anything relying on dynamically rendered values can silently fail — and in Magento this has historically included serving one customer's cached block to another, which is a data problem as well as a tracking one.
Sent from the browser
The page the customer saw is not the page your code assumed. This is the defining Magento tracking failure and it produces intermittent, hard-to-reproduce loss.
Counted twice, or not at all
Sending an event is not the same as being allowed to message the person it describes. US SMS marketing is governed by express written consent requirements with statutory damages per message, and "the integration sent it" is not a defence. Consent state has to be checked at send time, in Attentive, not inferred from the fact that an event arrived.
Nobody has reconciled it
Magento → Attentive · diagnose
Diagnostic order — Magento → Attentive
- 01
Count orders carrying the subscriber's phone number
- 02
Follow one real conversion end to end
- 03
Place a test order as an anonymous visitor through cache
Not as an admin, which bypasses it. If the order data is missing on the cached path, caching is your cause.
- 04
Verify that events for non-consented customers cannot trigger a send
Check the journey's entry conditions, not the event pipeline. The pipeline will happily deliver an event about someone who never opted in; the journey is what must refuse to act on it.
- 05
Read the match rate, not the success message
Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.
Magento → Attentive · prove
How it gets proven — Magento → Attentive
Source of truth
Magento's sales order records in your own database, for the same window and order status set.
- The subscriber's phone number confirmed present on a live order.
- Events confirmed on subscriber records with consent state verified, and a test proving a non-consented profile does not trigger a send.
- Order data confirmed populated on an order placed through a fully warmed cache.
Magento → Attentive · free audit
What we check in the free audit
- Count orders carrying the subscriber's phone number
- Follow one real conversion end to end
- Place a test order as an anonymous visitor through cache
- Verify that events for non-consented customers cannot trigger a send
- Read the match rate, not the success message
Checked against
Magento's sales order records in your own database, for the same window and order status set.
Free30 minutesNo obligation
Magento → Attentive · when not to buy
When you don't need this — Magento → Attentive
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the subscriber's phone number.
- If your Magento build has heavy customisation by another team, scope their availability first — the build is usually blocked there.
- If you do not have a consented SMS list, the integration is the least of the work. Building the list compliantly comes first, and no event pipeline substitutes for it.
Magento → Attentive · what we deliver
What gets built — Magento → Attentive
Identifier capture into Magento
Capture the identifier and persist it as order data through an observer on order placement, server-side, so it never depends on what the cache served.
Event source: the Magento order placement observer
Fire server-side from the observer rather than from the success page template, which is cached and may not execute anything.
Dispatch to Attentive
The Attentive events API, posted server-side from your order system with the subscriber's phone number and the event properties.
Reversals where they exist
Credit memos are recorded against the original order and should reduce the reported figure.
Written guarantee
95%+ tracking accuracy
Measured against Magento's sales order records in your own database, for the same window and order status set.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Magento → Attentive questions, answered
No. The checkout phone is an address field for delivery and is not express written consent for marketing texts.
The purchase is probably sent by both a browser tag and the server, or retried without a stable order ID. Send it once from the order observer with the increment ID.
Almost always because the subscriber's phone number never reached the Magento order. Magento's full-page cache serves a stored render to the visitor, which means anything relying on dynamically rendered values can silently fail — and in Magento this has historically included serving one customer's cached block to another, which is a data problem as well as a tracking one. Measure coverage before debugging the dispatch.
Attentive resolves to a subscriber by phone number. There is no click identifier and no cookie in the messaging channel at all. The phone number is also regulated personal data under US telemarketing rules, which means the identifier itself carries obligations that a gclid does not.
The Magento order placement observer. Fire server-side from the observer rather than from the success page template, which is cached and may not execute anything.
Attentive shows the event on the subscriber record and the journey it triggered. Check the subscriber's consent status alongside, because that is the field that decides whether anything should have happened.
More on Magento → Attentive
- Magento → Google AdsConnecting Magento to Google Ads
- Magento → MetaConnecting Magento to Meta Conversions API
- Magento → GA4Connecting Magento to GA4
RELATED GUIDES
Where Magento → Attentive fits in the rest of your tracking
- Gumroad → AttentiveConnecting Gumroad to Attentive
- WooCommerce → AttentiveConnecting WooCommerce to Attentive
- SureCart → AttentiveConnecting SureCart to Attentive
- Magento → KlaviyoConnecting Magento to Klaviyo
- Magento → IterableConnecting Magento to Iterable
- Furniture ecommerceConversion tracking for furniture ecommerce, measured after delivery
- WooCommerce Subscriptions → AttentiveConnecting WooCommerce Subscriptions to Attentive
- Wix → AttentiveConnecting Wix Stores to Attentive
Free · 30 min
Get Magento and Attentive joined properly
Free30 minutesNo obligation
