Connecting CookieYes to Amplitude
CookieYes serves smaller sites that adopted a consent banner because a plugin suggested it, which frequently means the banner is stricter than the business's legal position requires. 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 CookieYes 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
CookieYes and Amplitude: consent before the device ID exists
Keep Amplitude's browser SDK in CookieYes's analytics category, separate from advertisement, so analytics-only visitors are still measured, and send the consent choice as a user property on identify. Post purchases from your order system with the same device ID or user ID the browser used, checking stored consent first, because Amplitude's HTTP API accepts events for decliners without complaint.
Amplitude's browser SDK creates a device ID on first load, and a default-deny CookieYes banner decides whether that load happens at all. If the SDK waits for the visitor to accept, the pages viewed before consent never reach Amplitude, and the device ID starts mid-session. The purchase sent later from your order system then joins a user whose history begins halfway through the visit, so the funnel step that brought them to the product page is simply missing.
Amplitude is product analytics, which most setups place in CookieYes's analytics category rather than advertisement. Keep that split: a visitor who rejects advertising but accepts analytics can still be measured in Amplitude, and folding both under one switch throws that away for nothing. Send the consent choice itself as a user property on identify, so cohorts can be filtered by consent state instead of quietly mixing the two populations.
For server-side events from your order system, use the same device ID or user ID the browser used and check stored consent before posting. A purchase sent for a visitor who declined analytics is the specific leak to test for, because the HTTP API accepts it without complaint. Also check whether the Amplitude SDK can defer writing its cookie or storage until consent, and confirm the option name in Amplitude's current documentation rather than a blog post.
CookieYes → Amplitude · what breaks
Why this join usually fails — CookieYes → Amplitude
- 01
The user ID and device ID pair never reaches CookieYes
Default configurations frequently block before consent, so identifier capture is lost on the first page for every visitor.
- 02
A banner stricter than the law requires
Plugins default to the strictest setting because that is safest for the plugin vendor. For a business whose customers are all in a market with different rules, that default costs a large share of measurable conversions and buys no protection that was needed.
- 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.
- 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.
CookieYes → Amplitude · the fix
What working looks like — CookieYes → 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
CookieYes → Amplitude · architecture
How CookieYes and Amplitude actually connect
- 1
CookieYes holds the truth
For a small business the practical question is often whether the banner configuration matches the obligation. A default-deny banner in a market with no such requirement is data thrown away for nothing.
- 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
The identifier is the bridge
The user ID and device ID pair, captured at the visit and carried into the CookieYes consent record.
- 4
The event source decides reliability
Send consented conversions with the consent rate stated.
- 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.
CookieYes → Amplitude · normal or broken
Working vs. broken, side by side — CookieYes → 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
Default configurations frequently block before consent, so identifier capture is lost on the first page for every visitor.
Sent from the browser
Plugins default to the strictest setting because that is safest for the plugin vendor. For a business whose customers are all in a market with different rules, that default costs a large share of measurable conversions and buys no protection that was needed.
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
CookieYes → Amplitude · diagnose
Diagnostic order — CookieYes → Amplitude
- 01
Count consent records carrying the user ID and device ID pair
- 02
Follow one real conversion end to end
- 03
Confirm which regulations actually apply to your customer base
A legal question, not a technical one, and worth answering before accepting a default that costs you a third of your data.
- 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.
- 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.
CookieYes → Amplitude · prove
How it gets proven — CookieYes → 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 against imported figures, with the configuration checked against the obligation.
CookieYes → 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
- Confirm which regulations actually apply to your customer base
- 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.
Free30 minutesNo obligation
CookieYes → Amplitude · when not to buy
When you don't need this — CookieYes → Amplitude
- Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the user ID and device ID pair.
- This is the common case for small sites: get the legal position confirmed first. The right banner may be considerably lighter than the one installed.
- If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.
CookieYes → Amplitude · what we deliver
What gets built — CookieYes → Amplitude
Identifier capture into CookieYes
Check the default blocking behaviour against your actual legal obligation, then capture accordingly.
Event source: your order system, gated on consent
Send consented conversions with the consent rate stated.
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.
From $400 · See packages
FAQ
CookieYes → Amplitude questions, answered
Under an opt-in banner, yes: put Amplitude in the analytics category and initialize the SDK only after that category is granted. Under a US opt-out model, confirm with counsel whether your product analytics counts as selling or sharing before blocking it.
The SDK started only when consent was given, so the device ID begins mid-visit. The earlier activity was never collected, and nothing downstream can restore it.
Almost always because the user ID and device ID pair never reached the CookieYes consent record. Default configurations frequently block before consent, so identifier capture is lost on the first page for every visitor. Measure coverage before debugging the dispatch.
Amplitude tracks both a device ID and a user ID and merges them when a user identifies. The merge rules decide who counts as one person, so a mistake here does not produce a small error — it changes every retention curve and cohort size in the account.
Your order system, gated on consent. Send consented conversions with the consent rate stated.
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.
More on CookieYes → Amplitude
- Stripe → AmplitudeConnecting Stripe to Amplitude
- PayPal → AmplitudeConnecting PayPal to Amplitude
- Shopify → AmplitudeConnecting Shopify to Amplitude
RELATED GUIDES
Where CookieYes → Amplitude fits in the rest of your tracking
- OneTrust → AmplitudeConnecting OneTrust to Amplitude
- iubenda → AmplitudeConnecting iubenda to Amplitude
- Cookiebot → AmplitudeConnecting Cookiebot to Amplitude
- CookieYes → GA4Connecting CookieYes to GA4
- CookieYes → PostHogConnecting CookieYes to PostHog
- SaaSConversion tracking for SaaS, from signup through to the payment that matters
- Complianz → AmplitudeConnecting Complianz to Amplitude
- Osano → AmplitudeConnecting Osano to Amplitude
Free · 30 min
Get CookieYes and Amplitude joined properly
Free30 minutesNo obligation
