Skip to main content
iubenda → AmplitudeIntegration guide

Connecting iubenda to Amplitude

iubenda bundles consent management with generated privacy policies and cookie declarations, which means the published document and the actual behaviour can drift apart silently. 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 iubenda consent record 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

iubenda and Amplitude: measurement consent on device and server

Gate Amplitude on iubenda's measurement purpose by keeping the SDK opted out until consent, treating ad-platform cohort syncs as advertising. Server revenue events bypass iubenda, so store the preference with the device ID and either drop non-consented events or send revenue unlinked to any user. Stop both SDK and server sends on withdrawal, and declare Amplitude manually if needed.

Amplitude usually falls under iubenda's measurement purpose, not advertising, and the distinction matters: a visitor can refuse ads and still allow analytics, and your setup should honor both answers separately. In the browser, keep the Amplitude SDK opted out until iubenda reports measurement consent; the SDK's own opt-out setting is a cleaner switch than letting it load and hoping iubenda's blocking caught it. One exception: if you sync Amplitude cohorts to ad platforms, that use leans toward advertising and should be gated as such.

The gap is server-side. Revenue events posted to Amplitude's HTTP API from your backend never pass through iubenda, so a visitor who refused measurement can still appear in Amplitude as a paying user with full properties. Store the iubenda preference with the device ID when it is expressed, pass it to your order system, and decide in writing what happens without consent: drop the event, or send revenue with no user or device link so totals stay honest while per-user analysis does not include them.

Withdrawal is the other half. When someone later withdraws through iubenda's preference widget, stop sends from both the SDK and the server. Deleting history already in Amplitude is a separate request through Amplitude's own deletion tooling, and iubenda does not trigger it. Add Amplitude to the cookie declaration by hand if the scan misses it, which happens when the SDK only loads after consent.

iubenda → Amplitude · what breaks

Why this join usually fails — iubenda → Amplitude

  1. 01

    The user ID and device ID pair never reaches iubenda

    Blocking runs before scripts execute, and the declaration is generated from a scan that may be months old.

  2. 02

    A cookie declaration that no longer matches the site

    Every new conversion destination is a new data-sharing relationship. If the declaration was generated before it was added, the site is disclosing to a partner its own published document does not name.

  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.

iubenda → Amplitude · the fix

What working looks like — iubenda → Amplitude

  • The user ID and device ID pair on every consent record

  • 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

iubenda → Amplitude · architecture

How iubenda and Amplitude actually connect

  1. 1

    iubenda holds the truth

    The cookie declaration lists what the site sets. Adding a new conversion destination adds cookies and data sharing the declaration does not mention until somebody updates it.

  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 iubenda consent record.

  4. 4

    The event source decides reliability

    Send consented conversions, with the destination list matching the published declaration.

  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.

iubenda → Amplitude · normal or broken

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

Normal, not a fault

  • The user ID and device ID pair present on the consent record

  • Sent from your order system, gated on consent

  • 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

    Blocking runs before scripts execute, and the declaration is generated from a scan that may be months old.

  • Sent from the browser

    Every new conversion destination is a new data-sharing relationship. If the declaration was generated before it was added, the site is disclosing to a partner its own published document does not name.

  • 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

iubenda → Amplitude · diagnose

Diagnostic order — iubenda → Amplitude

  1. 01

    Count consent records carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare your destination list against the published declaration

    Five minutes, and it is almost never done after a new integration goes live.

  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.

iubenda → Amplitude · prove

How it gets proven — iubenda → Amplitude

Source of truth

Your order system, with consent state attached to the event.

  • The user ID and device ID pair confirmed present on a live consent record.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Consented conversions reconciled, with the declaration verified against the live destination list.

iubenda → Amplitude · free audit

What we check in the free audit

  • Count consent records carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Compare your destination list against the published declaration
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Your order system, with consent state attached to the event.

Get my free conversion tracking audit

Free30 minutesNo obligation

iubenda → Amplitude · when not to buy

When you don't need this — iubenda → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the user ID and device ID pair.
  • Update the declaration before adding a destination, not after. That order is cheaper than the alternative.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

iubenda → Amplitude · what we deliver

What gets built — iubenda → Amplitude

  • Identifier capture into iubenda

    Capture after consent, and re-run the scan whenever a destination is added.

  • Event source: your order system, gated on consent

    Send consented conversions, with the destination list matching the published declaration.

  • Dispatch to Amplitude

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

  • Reversals where they exist

    Withdrawal stops future sends.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, with consent state attached to the event.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

iubenda → Amplitude questions, answered

Usually measurement, since Amplitude is used for product analysis. If you sync Amplitude cohorts to ad platforms, that use moves toward advertising and should be gated on advertising consent.

Free · 30 min

Get iubenda and Amplitude joined properly

Free30 minutesNo obligation