Connecting Auth0 to Attentive
Auth0 issues the user identity that everything downstream joins on, which makes it the system that decides whether an anonymous visitor and a paying customer can ever be connected. 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 Auth0 user identity 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
Auth0 phone numbers are not Attentive SMS consent
Do not sync Auth0 phone numbers to Attentive; numbers given for login codes or MFA are not marketing consent. Once someone opts in through an Attentive sign-up unit or keyword, send account events such as trial started and first payment keyed on the subscribed number, with the Auth0 user_id as a property, using a stored user_id-to-number mapping.
Auth0 often holds a phone number, collected for SMS passwordless login or for multi-factor enrollment, and it is tempting to sync it to Attentive. Don't. A number given to receive a login code was not given for marketing texts, and using it that way is the consent problem SMS law exists to punish. Subscribers have to opt in through an Attentive sign-up unit or keyword with proper marketing disclosures.
The legitimate join runs the other way. Once someone is a consented Attentive subscriber, send account events keyed on that subscriber's phone number and include the Auth0 user_id as a property so the two records can be reconciled. Useful events for an account-based product are account created, trial started, trial ending and first payment from billing, each driving a journey that stops the moment the user converts.
The failure to test is a user who changes the phone number on their Auth0 profile. Attentive keys on the number, so events sent with the new one land on a record that never subscribed, while the old subscriber keeps getting trial reminders for an account that already paid. Keep a mapping from Auth0 user_id to the subscribed number and send events using that, not whatever the Auth0 profile says today.
Auth0 → Attentive · what breaks
Why this join usually fails — Auth0 → Attentive
- 01
The subscriber's phone number never reaches Auth0
Login flows redirect to a hosted Auth0 domain and back, which breaks the session and can lose an identifier captured before login.
- 02
The login redirect losing the acquisition source
The visitor arrives from an ad, clicks sign in, goes to Auth0's domain and comes back as a fresh session. Without deliberate persistence the campaign that produced them is gone at exactly the moment they became identifiable.
- 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.
Auth0 → Attentive · the fix
What working looks like — Auth0 → Attentive
The subscriber's phone number on every account
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
Auth0 → Attentive · architecture
How Auth0 and Attentive actually connect
- 1
Auth0 holds the truth
Auth0 holds identity, not money. Its value to measurement is that it provides the stable key which lets a pre-signup session and a later subscription be recognised as one person.
- 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 Auth0 user identity.
- 4
The event source decides reliability
Send paid conversions keyed on the user identity. Signups are a stage, not revenue.
- 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.
Auth0 → Attentive · normal or broken
Working vs. broken, side by side — Auth0 → Attentive
Normal, not a fault
The subscriber's phone number present on the account
Sent from your billing system, keyed on the Auth0 user ID
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
Login flows redirect to a hosted Auth0 domain and back, which breaks the session and can lose an identifier captured before login.
Sent from the browser
The visitor arrives from an ad, clicks sign in, goes to Auth0's domain and comes back as a fresh session. Without deliberate persistence the campaign that produced them is gone at exactly the moment they became identifiable.
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
Auth0 → Attentive · diagnose
Diagnostic order — Auth0 → Attentive
- 01
Count accounts carrying the subscriber's phone number
- 02
Follow one real conversion end to end
- 03
Check whether the identifier survives the login round trip
Test it on a live login. This is the single most common identity break in products that use hosted authentication.
- 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.
Auth0 → Attentive · prove
How it gets proven — Auth0 → Attentive
Source of truth
Your billing system, joined to the Auth0 user ID.
- The subscriber's phone number confirmed present on a live account.
- Events confirmed on subscriber records with consent state verified, and a test proving a non-consented profile does not trigger a send.
- Paid conversions reconciled per user identity against imported conversions, with identifier survival verified across login.
Auth0 → Attentive · free audit
What we check in the free audit
- Count accounts carrying the subscriber's phone number
- Follow one real conversion end to end
- Check whether the identifier survives the login round trip
- Verify that events for non-consented customers cannot trigger a send
- Read the match rate, not the success message
Checked against
Your billing system, joined to the Auth0 user ID.
Free30 minutesNo obligation
Auth0 → Attentive · when not to buy
When you don't need this — Auth0 → Attentive
- Measure identifier coverage yourself first — pull your last hundred accounts and count how many carry the subscriber's phone number.
- If your product has no authentication, there is no identity to join and session-level attribution is all there is.
- 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.
Auth0 → Attentive · what we deliver
What gets built — Auth0 → Attentive
Identifier capture into Auth0
Persist the identifier before the redirect and write it onto the user's app metadata at first login, so it survives every subsequent session.
Event source: your billing system, keyed on the Auth0 user ID
Send paid conversions keyed on the user identity. Signups are a stage, not revenue.
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
Cancellations reverse against the same identity.
Written guarantee
95%+ tracking accuracy
Measured against Your billing system, joined to the Auth0 user ID.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Auth0 → Attentive questions, answered
Only numbers from people who separately gave express consent to marketing texts. Numbers collected for MFA or passwordless login should stay in authentication.
Account lifecycle steps for consented subscribers, such as signup, trial ending and first payment, keyed on the subscriber's phone with the Auth0 user ID as a property. Not logins.
Almost always because the subscriber's phone number never reached the Auth0 user identity. Login flows redirect to a hosted Auth0 domain and back, which breaks the session and can lose an identifier captured before login. 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.
Your billing system, keyed on the Auth0 user ID. Send paid conversions keyed on the user identity. Signups are a stage, not revenue.
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 Auth0 → Attentive
- Stripe → AttentiveConnecting Stripe to Attentive
- PayPal → AttentiveConnecting PayPal to Attentive
- Shopify → AttentiveConnecting Shopify to Attentive
RELATED GUIDES
Where Auth0 → Attentive fits in the rest of your tracking
- Clerk → AttentiveConnecting Clerk to Attentive
- Supabase Auth → AttentiveConnecting Supabase Auth to Attentive
- Okta → AttentiveConnecting Okta to Attentive
- Auth0 → IterableConnecting Auth0 to Iterable
- Auth0 → Marketing CloudConnecting Auth0 to Salesforce Marketing Cloud
- SaaSConversion tracking for SaaS, from signup through to the payment that matters
- Firebase Auth → AttentiveConnecting Firebase Authentication to Attentive
Free · 30 min
Get Auth0 and Attentive joined properly
Free30 minutesNo obligation
