Skip to main content
Authorize.net → AmplitudeIntegration guide

Connecting Authorize.net to Amplitude

Authorize.net is one of the oldest payment gateways still in wide use, which means it sits underneath a great many legacy carts that were built before anyone thought about attribution. 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 Authorize.net transaction 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

Authorize.net revenue in Amplitude: put it on the right user

Map each Authorize.net transaction to the same user_id the Amplitude browser SDK uses, not the CIM profile ID unless it truly is. Send server-side revenue on settlement with price, quantity, revenueType and insert_id from the transaction ID, ARB subscription ID as a property, and refunds as negative revenue keyed to the refund's own transaction ID.

Amplitude's useful question for an Authorize.net merchant is whether a cohort's revenue holds up after voids, refunds and failed recurring charges. The gateway can answer that, but only if every transaction resolves to the same user_id your app or site gives the Amplitude browser SDK. Authorize.net knows the payer by billing email, a Customer Information Manager (CIM) profile ID if you use CIM, and whatever your cart writes into the customer ID field. Map one of those to your own user ID before sending, and never send the CIM profile ID as user_id unless that genuinely is what the SDK uses.

Post a revenue event from the server when the transaction settles, with price, quantity and revenueType populated so revenue charts are not empty, and an insert_id derived from the Authorize.net transaction ID so a retried call is dropped. For Automated Recurring Billing subscriptions, each successful charge is its own transaction with its own ID; put the subscription ID in a property so renewals can be grouped by plan.

A refund in Authorize.net is a new transaction that references the original. Send it as a negative-revenue event on the same user, keyed to the refund's own transaction ID rather than the original's, or Amplitude's deduplication will throw the refund away as a repeat. Confirm in a test project how your revenue charts treat negative values before relying on net lifetime value.

Authorize.net → Amplitude · what breaks

Why this join usually fails — Authorize.net → Amplitude

  1. 01

    The user ID and device ID pair never reaches Authorize.net

    The gateway sees a payment and nothing about marketing. Whether an identifier exists depends entirely on whether the cart passed it into a custom field when creating the transaction, and legacy carts generally did not.

  2. 02

    A legacy gateway under a legacy cart

    Authorize.net is usually the oldest thing in the stack. The custom fields exist and almost nobody populates them, so the transaction arrives with no trace of the campaign that produced it.

  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.

Authorize.net → Amplitude · the fix

What working looks like — Authorize.net → 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

Authorize.net → Amplitude · architecture

How Authorize.net and Amplitude actually connect

  1. 1

    Authorize.net holds the truth

    Authorisation reserves funds and settlement moves them. Authorize.net batches settlement, usually daily, so a transaction authorised late in the day settles the next — which shifts revenue across a date boundary if you report the wrong state.

  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 Authorize.net transaction.

  4. 4

    The event source decides reliability

    Fire on settled, not authorised. Batching means the two carry different dates, and reporting on authorisation puts revenue in the wrong day.

  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.

Authorize.net → Amplitude · normal or broken

Working vs. broken, side by side — Authorize.net → Amplitude

Normal, not a fault

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

  • Sent from the Authorize.net webhook on settlement

  • 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

    The gateway sees a payment and nothing about marketing. Whether an identifier exists depends entirely on whether the cart passed it into a custom field when creating the transaction, and legacy carts generally did not.

  • Sent from the browser

    Authorize.net is usually the oldest thing in the stack. The custom fields exist and almost nobody populates them, so the transaction arrives with no trace of the campaign that produced 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

Authorize.net → Amplitude · diagnose

Diagnostic order — Authorize.net → Amplitude

  1. 01

    Count transactions carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Open a settled transaction and read its user-defined fields

    Empty means the cart never passed anything, which is the usual finding and cannot be recovered retroactively.

  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.

Authorize.net → Amplitude · prove

How it gets proven — Authorize.net → Amplitude

Source of truth

Authorize.net's settled transactions for the same window, not authorisations.

  • 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.
  • A transaction confirmed to carry the identifier through authorisation into settlement.

Authorize.net → 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
  • Open a settled transaction and read its user-defined fields
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Authorize.net's settled transactions for the same window, not authorisations.

Get my free conversion tracking audit

Free30 minutesNo obligation

Authorize.net → Amplitude · when not to buy

When you don't need this — Authorize.net → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the user ID and device ID pair.
  • If the cart on top of Authorize.net already reports orders accurately, work at the order layer — it is closer to the customer and easier to change.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Authorize.net → Amplitude · what we deliver

What gets built — Authorize.net → Amplitude

  • Identifier capture into Authorize.net

    Pass the click identifier into the transaction's user-defined fields when your application creates the charge. Authorize.net preserves them through settlement and into the transaction detail record.

  • Event source: the Authorize.net webhook on settlement

    Fire on settled, not authorised. Batching means the two carry different dates, and reporting on authorisation puts revenue in the wrong day.

  • Dispatch to Amplitude

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

  • Reversals where they exist

    Voids, refunds and chargebacks are all recorded against the original transaction and carry its user-defined fields.

Written guarantee

95%+ tracking accuracy

Measured against Authorize.net's settled transactions for the same window, not authorisations.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Authorize.net → Amplitude questions, answered

Receive settled transactions server-side, look up your own user ID for the payer, and post to the HTTP V2 API with price, quantity and an insert_id built from the transaction ID.

Free · 30 min

Get Authorize.net and Amplitude joined properly

Free30 minutesNo obligation