Skip to main content
Okta → AmplitudeIntegration guide

Connecting Okta to Amplitude

Okta is enterprise identity, which means the people signing in are employees of a customer that bought through a procurement process nobody advertised into. 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 Okta enterprise identity 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

Okta Logins in Amplitude: Usage by Account, Not Acquisition

Treat Okta SSO logins in Amplitude as session starts, not conversions. Set your stable internal user ID, or the Okta user ID, when the SSO assertion is accepted, never email, attach the tenant as a group, and send activation at first login. Bring contract value from billing as an account property and keep these cohorts out of ad syncs.

Amplitude is the right home for what Okta produces: who at each customer account is actually using the product. An SSO login is a session start, not a conversion, and in Amplitude that is exactly how it should be treated. The point of this pair is making every login land on the right user and the right account, so adoption and retention are measured per enterprise customer rather than per anonymous device.

The user ID matters more than usual. Set your application's stable internal user ID, or the Okta user ID if that is what your app keys on, at the moment the SSO assertion is accepted, and never the email: enterprise users change addresses after rebrands and mergers, and Amplitude would treat the new address as a new person. Attach the customer's company or tenant ID as a group if your plan includes account-level analytics, so seats used can be read against seats bought. Okta provisioning can create users who never log in, so send activation at first login, not at provisioning.

Contract value does not belong on Okta-derived events. If you want revenue in Amplitude, send it as an account property from the billing system, not as a price on a login. And if you use Amplitude's audience syncs to ad platforms, keep these cohorts out of them, or you are paying to show ads to people your customers already pay for.

Okta → Amplitude · what breaks

Why this join usually fails — Okta → Amplitude

  1. 01

    The user ID and device ID pair never reaches Okta

    Single sign-on means users arrive already authenticated from their own identity provider, with no acquisition journey at all.

  2. 02

    Product usage mistaken for acquisition signal

    Thousands of SSO logins from an enterprise customer are a usage metric. Feeding them into an ad platform as conversions teaches it to find people who already have accounts.

  3. 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.

  4. 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.

Okta → Amplitude · the fix

What working looks like — Okta → Amplitude

  • The user ID and device ID pair on every account

  • 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

Okta → Amplitude · architecture

How Okta and Amplitude actually connect

  1. 1

    Okta holds the truth

    Enterprise identity tells you who is using the product, not who bought it. Those are different people and the purchase happened months before the first login.

  2. 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. 3

    The identifier is the bridge

    The user ID and device ID pair, captured at the visit and carried into the Okta enterprise identity.

  4. 4

    The event source decides reliability

    Send contract value at the account level, never per user.

  5. 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.

Okta → Amplitude · normal or broken

Working vs. broken, side by side — Okta → Amplitude

Normal, not a fault

  • The user ID and device ID pair present on the account

  • Sent from your contract or billing system

  • 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

    Single sign-on means users arrive already authenticated from their own identity provider, with no acquisition journey at all.

  • Sent from the browser

    Thousands of SSO logins from an enterprise customer are a usage metric. Feeding them into an ad platform as conversions teaches it to find people who already have accounts.

  • 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

Okta → Amplitude · diagnose

Diagnostic order — Okta → Amplitude

  1. 01

    Count accounts carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm no login event reaches an ad platform

    The correct number is zero. Enterprise logins are the least useful acquisition signal available.

  4. 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.

  5. 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.

Okta → Amplitude · prove

How it gets proven — Okta → Amplitude

Source of truth

Your contract or billing system, at the account level.

  • The user ID and device ID pair confirmed present on a live account.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Contract value reconciled at account level against imported conversions, with login events absent.

Okta → Amplitude · free audit

What we check in the free audit

  • Count accounts carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Confirm no login event reaches an ad platform
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Your contract or billing system, at the account level.

Get my free conversion tracking audit

Free30 minutesNo obligation

Okta → Amplitude · when not to buy

When you don't need this — Okta → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred accounts and count how many carry the user ID and device ID pair.
  • If your product is enterprise-only, conversion tracking answers a small question and the pipeline lives in the CRM.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Okta → Amplitude · what we deliver

What gets built — Okta → Amplitude

  • Identifier capture into Okta

    Attribute at the account in the CRM. Do not attempt to attribute enterprise logins to campaigns.

  • Event source: your contract or billing system

    Send contract value at the account level, never per user.

  • Dispatch to Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.

  • Reversals where they exist

    Contract terminations reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your contract or billing system, at the account level.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Okta → Amplitude questions, answered

Your application's stable internal user ID, set at SSO login, not the email address, which can change inside an enterprise directory.

Free · 30 min

Get Okta and Amplitude joined properly

Free30 minutesNo obligation