Skip to main content
Cognito Forms → AmplitudeIntegration guide

Connecting Cognito Forms to Amplitude

Cognito Forms supports conditional logic and payments, which means one form can be a survey, a registration and a checkout depending on which branch the visitor takes. 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 Cognito Forms entry 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

Cognito Forms to Amplitude: the entry on the right user, with revenue

Prefill the Amplitude device ID, and user ID if logged in, into a hidden Cognito Forms field, then send a server event from Cognito's submit webhook carrying it, with insert_id set to the Cognito entry ID. Split branches by event type or property, and put price and quantity on the paid branch only once Cognito shows payment complete.

Amplitude cares who submitted, and a Cognito form has no idea who the Amplitude user is. When the page with the embedded form loads, read the Amplitude device ID (and user ID, if the visitor is logged in) from the browser SDK and prefill it into a hidden field using Cognito's embed prefill option; check the current syntax for your embed. The server event you send when the entry arrives then carries that same ID, and the submission joins the visitor's earlier page views instead of creating a new device with one event on it.

Treat each branch as its own event type, or one event type with a branch property a chart can split on. The paid branch is where Amplitude's revenue fields matter: put the order amount in price, set quantity, and send it only once Cognito shows the payment complete. A registration that submitted but whose card failed should still appear as a form event without revenue, because that drop-off is exactly the funnel step Amplitude is good at showing.

Send from Cognito's submit webhook (the post-JSON-to-a-website option; confirm the name on your plan) and set insert_id to the Cognito entry ID, so a retried post does not double count. Cognito lets respondents and staff edit entries after submission, and an edit can post again. Decide whether an update fires a new event; usually it should not, unless the payment status changed.

Cognito Forms → Amplitude · what breaks

Why this join usually fails — Cognito Forms → Amplitude

  1. 01

    The user ID and device ID pair never reaches Cognito Forms

    Forms are embedded and payments may hand off to a processor, breaking the session twice.

  2. 02

    One form, several outcomes, one conversion action

    Conditional logic means the same form produces a free enquiry from one visitor and a paid registration from another. A single conversion action averages them into a value that describes neither.

  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.

Cognito Forms → Amplitude · the fix

What working looks like — Cognito Forms → Amplitude

  • The user ID and device ID pair on every submission

  • 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

Cognito Forms → Amplitude · architecture

How Cognito Forms and Amplitude actually connect

  1. 1

    Cognito Forms holds the truth

    A form that sometimes takes payment and sometimes does not produces two completely different conversions from one submission event.

  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 Cognito Forms entry.

  4. 4

    The event source decides reliability

    Send paid submissions at their amount and unpaid ones as a separate lower-value action.

  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.

Cognito Forms → Amplitude · normal or broken

Working vs. broken, side by side — Cognito Forms → Amplitude

Normal, not a fault

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

  • Sent from your CRM or payment record

  • 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

    Forms are embedded and payments may hand off to a processor, breaking the session twice.

  • Sent from the browser

    Conditional logic means the same form produces a free enquiry from one visitor and a paid registration from another. A single conversion action averages them into a value that describes neither.

  • 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

Cognito Forms → Amplitude · diagnose

Diagnostic order — Cognito Forms → Amplitude

  1. 01

    Count submissions carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    List the branches your form can produce and their values

    Usually the first time anyone has, and it is normally the whole fix.

  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.

Cognito Forms → Amplitude · prove

How it gets proven — Cognito Forms → Amplitude

Source of truth

Your CRM or payment record, with the form branch recorded.

  • The user ID and device ID pair confirmed present on a live submission.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Submissions reconciled by branch against imported conversions.

Cognito Forms → Amplitude · free audit

What we check in the free audit

  • Count submissions carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • List the branches your form can produce and their values
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Your CRM or payment record, with the form branch recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Cognito Forms → Amplitude · when not to buy

When you don't need this — Cognito Forms → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the user ID and device ID pair.
  • A single-path form with no payment needs one action and nothing else.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Cognito Forms → Amplitude · what we deliver

What gets built — Cognito Forms → Amplitude

  • Identifier capture into Cognito Forms

    Pass the identifier into a hidden field and carry it through to the payment where one occurs.

  • Event source: your CRM or payment record

    Send paid submissions at their amount and unpaid ones as a separate lower-value action.

  • Dispatch to Amplitude

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

  • Reversals where they exist

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM or payment record, with the form branch recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Cognito Forms → Amplitude questions, answered

Prefill the Amplitude device ID into a hidden field when the form renders, then send the server event with that ID so the submission lands on the same user as the earlier browsing.

Free · 30 min

Get Cognito Forms and Amplitude joined properly

Free30 minutesNo obligation