Connecting Optimizely to Marketo
Optimizely deliberately shows different people different experiences, which means every conversion figure your ad platform reports is an average across variants it knows nothing about. Marketo scores leads rather than counting conversions, which means what you send it does not report a number — it changes who your sales team calls tomorrow. The join between them succeeds or fails on one thing: whether the lead record, keyed on email reaches the Optimizely variant assignment before the conversion happens, because Marketo can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Writing the Optimizely variant onto the Marketo lead
The Optimizely variant reaches the Marketo lead only inside the form submission, as a hidden field populated from Optimizely's state on the page. Store it in a field per experiment so later tests do not overwrite it, keep it out of scoring, read MQL rate per variant, and count leads with blank variant fields.
The record that matters here is the Marketo lead created by a form fill, not an order. Optimizely assigns the variant while the visitor is still anonymous, and Munchkin only ties that browsing to a lead once the form submits. So the variant has to travel inside the form submission itself, as a hidden field populated from Optimizely's state on the page, or it never reaches the lead.
Store it in a field that names the experiment, not a generic "variant" field. Leads come back, and a second visit during a different test will overwrite a shared field, so a lead that converted under experiment A ends up labelled with experiment B. A custom object or one field per experiment avoids that. Do not let a scoring rule reference the variant; the point is to read MQL rate per variant, not to score people for which page they saw.
The common break is a test on the form page itself. If one variant renders the form later because of flicker or a redesigned layout, its Munchkin cookie and hidden fields may not be set before a fast submitter clicks, and that variant's leads arrive with blanks. Count leads with an empty variant field by experiment week before reading any result.
Optimizely → Marketo · what breaks
Why this join usually fails — Optimizely → Marketo
- 01
The lead record, keyed on email never reaches Optimizely
Client-side experiments can flicker and can delay rendering, which loses landing-page identifier capture on slow connections — a bias that falls unevenly across variants.
- 02
An experiment silently confounding every campaign result
A test that moves conversion rate by fifteen percent will move every campaign's measured performance by some fraction of that, and the media team will attribute it to bidding, creative or seasonality. Anything but the test.
- 03
A scoring threshold crossed by a duplicate
Unlike an ad platform, a duplicate here has an operational consequence: a lead is marked sales-ready, routed, and called by a person. Doing that on the strength of an event counted twice wastes the most expensive resource in the funnel.
- 04
Nothing reconciles afterwards
Marketo shows the activity log on the lead record with the resulting score change. Read the lead, not the API response, and verify no duplicate lead was created.
Optimizely → Marketo · the fix
What working looks like — Optimizely → Marketo
The lead record, keyed on email on every assignment
Conversions arriving in Marketo
The activity lands on the lead, scoring rules evaluate, and the lead may move into a nurture programme or into the sales queue.
Reconciled against the source
Optimizely → Marketo · architecture
How Optimizely and Marketo actually connect
- 1
Optimizely holds the truth
The variant is the missing dimension. Without it, a campaign's performance is confounded by an experiment nobody told the media team about, and both teams will draw confident, wrong conclusions.
- 2
Marketo needs a click to match
Marketo needs the lead's email and the activity or custom object you are recording, with the fields the scoring rules actually reference. An activity that no scoring rule looks at changes nothing.
- 3
The identifier is the bridge
The lead record, keyed on email, captured at the visit and carried into the Optimizely variant assignment.
- 4
The event source decides reliability
Send purchases with the variant as a custom dimension, so campaign performance can be read per variant rather than blended.
- 5
Deduplication at the destination
Marketo deduplicates leads on email by default, but activities are not deduplicated. A purchase pushed twice can trigger a scoring rule twice and push a lead over a threshold it should not have crossed.
Optimizely → Marketo · normal or broken
Working vs. broken, side by side — Optimizely → Marketo
Normal, not a fault
The lead record, keyed on email present on the assignment
Sent from your order system with variant attached
Deduplicated correctly
Marketo deduplicates leads on email by default, but activities are not deduplicated. A purchase pushed twice can trigger a scoring rule twice and push a lead over a threshold it should not have crossed.
Reconciles with the source
Actually broken
The lead record, keyed on email missing on most records
Client-side experiments can flicker and can delay rendering, which loses landing-page identifier capture on slow connections — a bias that falls unevenly across variants.
Sent from the browser
A test that moves conversion rate by fifteen percent will move every campaign's measured performance by some fraction of that, and the media team will attribute it to bidding, creative or seasonality. Anything but the test.
Counted twice, or not at all
Unlike an ad platform, a duplicate here has an operational consequence: a lead is marked sales-ready, routed, and called by a person. Doing that on the strength of an event counted twice wastes the most expensive resource in the funnel.
Nobody has reconciled it
Optimizely → Marketo · diagnose
Diagnostic order — Optimizely → Marketo
- 01
Count assignments carrying the lead record, keyed on email
- 02
Follow one real conversion end to end
- 03
Check for running experiments before diagnosing a performance change
First question, not last. It costs one minute and explains a surprising share of unexplained movements.
- 04
Check the lead's activity log after a test conversion
One activity or two, and did the score move by the amount the rule specifies? That is the whole test.
- 05
Read the match rate, not the success message
Marketo shows the activity log on the lead record with the resulting score change. Read the lead, not the API response, and verify no duplicate lead was created.
Optimizely → Marketo · prove
How it gets proven — Optimizely → Marketo
Source of truth
Your order system, joined to the variant each customer was assigned.
- The lead record, keyed on email confirmed present on a live assignment.
- Activities confirmed on single lead records with score changes matching the configured rules, and no duplicate leads created.
- Orders reconciled per variant against imported conversions over the full experiment window.
Optimizely → Marketo · free audit
What we check in the free audit
- Count assignments carrying the lead record, keyed on email
- Follow one real conversion end to end
- Check for running experiments before diagnosing a performance change
- Check the lead's activity log after a test conversion
- Read the match rate, not the success message
Checked against
Your order system, joined to the variant each customer was assigned.
Free30 minutesNo obligation
Optimizely → Marketo · when not to buy
When you don't need this — Optimizely → Marketo
- Measure identifier coverage yourself first — pull your last hundred assignments and count how many carry the lead record, keyed on email.
- If you are not running experiments on pages in the paid funnel, there is no confound and nothing to integrate.
- If your sales team does not act on lead scores, pushing conversions into Marketo produces a tidier database and changes nothing about revenue.
Optimizely → Marketo · what we deliver
What gets built — Optimizely → Marketo
Identifier capture into Optimizely
Capture the identifier before the experiment framework initializes, and pass the variant assignment as a dimension alongside it.
Event source: your order system with variant attached
Send purchases with the variant as a custom dimension, so campaign performance can be read per variant rather than blended.
Dispatch to Marketo
The Marketo REST API, posted server-side to create or update the lead and record the activity.
Reversals where they exist
Refunds reverse and should retain the variant dimension.
Written guarantee
95%+ tracking accuracy
Measured against Your order system, joined to the variant each customer was assigned.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Optimizely → Marketo questions, answered
Read the active experiment and variation from Optimizely's client-side state after it activates and write them into hidden form fields before submission. Confirm the fields are populated on a real test submission from each variation.
No. Keep the variant as a reporting field so you can compare MQL and opportunity rates per variation; scoring on it would bias the very comparison you are trying to make.
Almost always because the lead record, keyed on email never reached the Optimizely variant assignment. Client-side experiments can flicker and can delay rendering, which loses landing-page identifier capture on slow connections — a bias that falls unevenly across variants. Measure coverage before debugging the dispatch.
Marketo resolves to a lead by email address, with a Munchkin cookie tying anonymous web activity to that lead once known. Send an activity with a new email and you create a duplicate lead rather than updating one — and duplicate leads in a scoring system produce two half-scored people instead of one qualified one.
Your order system with variant attached. Send purchases with the variant as a custom dimension, so campaign performance can be read per variant rather than blended.
Marketo shows the activity log on the lead record with the resulting score change. Read the lead, not the API response, and verify no duplicate lead was created.
More on Optimizely → Marketo
- Optimizely → Google AdsConnecting Optimizely to Google Ads
- Optimizely → MetaConnecting Optimizely to Meta Conversions API
- Optimizely → GA4Connecting Optimizely to GA4
RELATED GUIDES
Where Optimizely → Marketo fits in the rest of your tracking
- VWO → MarketoConnecting VWO to Marketo
- Tealium → MarketoConnecting Tealium to Marketo
- RudderStack → MarketoConnecting RudderStack to Marketo
- Optimizely → HubSpotConnecting Optimizely to HubSpot
- Optimizely → 6senseConnecting Optimizely to 6sense
- EcommerceConversion tracking for ecommerce brands, measured against your orders
- Dynamic Yield → MarketoConnecting Dynamic Yield to Marketo
- mParticle → MarketoConnecting mParticle to Marketo
Free · 30 min
Get Optimizely and Marketo joined properly
Free30 minutesNo obligation
