Skip to main content
Dynamic Yield → AmplitudeIntegration guide

Connecting Dynamic Yield to Amplitude

Dynamic Yield personalizes continuously rather than in discrete tests, so there is no stable control group and no clean before-and-after to compare a campaign against. 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 Dynamic Yield experience 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

Dynamic Yield variants in Amplitude: cohorts by experience served

Send the Dynamic Yield campaign and variation as properties on a single Experience Viewed event in Amplitude, and send purchases server-side from the order system with device_id or user_id stored on the order. Keep variation data event-level rather than in user properties, and label cohort comparisons observational unless a Dynamic Yield holdout exists.

Amplitude is a reasonable home for Dynamic Yield data because its strength is exactly what personalization reporting lacks: what people did after the session, weeks later. The join is to attach the Dynamic Yield campaign and variation served to the Amplitude user, so a cohort can be built from everyone who saw a variation and followed into repeat purchase and retention. Check how your Dynamic Yield setup exposes the decision client-side; most teams read it in the browser and send it as an event property on a single Experience Viewed event.

Purchases should come from the order system, server-side, with price and quantity populated and the device_id or user_id stored on the order so it lands on the same person. Do not stamp the latest variation onto the purchase as if it caused the sale; a visitor sees many personalized slots across a session, and Amplitude user properties will hold only the last one. Event-level variation data is what lets you ask the question honestly.

The trap here is mistaking Amplitude cohorts for an experiment. Two cohorts split by variation are not randomized if Dynamic Yield's targeting chose who saw what. Unless a real holdout exists in Dynamic Yield, label every comparison as observational, and keep any Amplitude Experiment flags from competing with Dynamic Yield on the same page element.

Dynamic Yield → Amplitude · what breaks

Why this join usually fails — Dynamic Yield → Amplitude

  1. 01

    The user ID and device ID pair never reaches Dynamic Yield

    Personalization decisions are made per session and can rewrite page content and links, including the parameters on outbound and internal links.

  2. 02

    No control group, therefore no baseline

    Continuous personalization with no holdout makes it impossible to say whether performance changed because of media, because of merchandising, or because the algorithm learned something. Most implementations have no holdout.

  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.

Dynamic Yield → Amplitude · the fix

What working looks like — Dynamic Yield → Amplitude

  • The user ID and device ID pair on every experience

  • 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

Dynamic Yield → Amplitude · architecture

How Dynamic Yield and Amplitude actually connect

  1. 1

    Dynamic Yield holds the truth

    Always-on personalization means the page a visitor saw in March is not the page a visitor sees today. Year-on-year campaign comparisons quietly stop being comparisons.

  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 Dynamic Yield experience.

  4. 4

    The event source decides reliability

    Send purchases with variant metadata. Hold back a genuine control audience if you want to say anything causal at all.

  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.

Dynamic Yield → Amplitude · normal or broken

Working vs. broken, side by side — Dynamic Yield → Amplitude

Normal, not a fault

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

  • Sent from your order system with the served variant attached

  • 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

    Personalization decisions are made per session and can rewrite page content and links, including the parameters on outbound and internal links.

  • Sent from the browser

    Continuous personalization with no holdout makes it impossible to say whether performance changed because of media, because of merchandising, or because the algorithm learned something. Most implementations have no holdout.

  • 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

Dynamic Yield → Amplitude · diagnose

Diagnostic order — Dynamic Yield → Amplitude

  1. 01

    Count experiences carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm whether a holdout exists at all

    If it does not, the honest reporting position is that campaign performance cannot be cleanly separated from personalization effects.

  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.

Dynamic Yield → Amplitude · prove

How it gets proven — Dynamic Yield → Amplitude

Source of truth

Your order system, joined to the personalization variant served.

  • The user ID and device ID pair confirmed present on a live experience.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Orders reconciled against imported conversions, with holdout performance reported alongside.

Dynamic Yield → Amplitude · free audit

What we check in the free audit

  • Count experiences carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Confirm whether a holdout exists at all
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Your order system, joined to the personalization variant served.

Get my free conversion tracking audit

Free30 minutesNo obligation

Dynamic Yield → Amplitude · when not to buy

When you don't need this — Dynamic Yield → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred experiences and count how many carry the user ID and device ID pair.
  • Without a holdout group, adding conversion tracking will not make the results interpretable. Build the holdout first.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Dynamic Yield → Amplitude · what we deliver

What gets built — Dynamic Yield → Amplitude

  • Identifier capture into Dynamic Yield

    Capture and persist the identifier before personalization renders, and verify that no personalized link template strips the parameters.

  • Event source: your order system with the served variant attached

    Send purchases with variant metadata. Hold back a genuine control audience if you want to say anything causal at all.

  • 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 order system, joined to the personalization variant served.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Dynamic Yield → Amplitude questions, answered

Read the campaign and variation from Dynamic Yield in the browser and send them as properties on an Amplitude event tied to the same device_id or user_id that your purchase events use.

Free · 30 min

Get Dynamic Yield and Amplitude joined properly

Free30 minutesNo obligation