Skip to main content
Ecwid → MarketoIntegration guide

Connecting Ecwid to Marketo

Ecwid is a store that embeds into someone else's website, which makes it the only ecommerce platform here where the checkout runs inside a widget on a page you do not fully control. 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 Ecwid order 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

Ecwid purchases on Marketo leads without inflating lead scores

Marketo suits an Ecwid store on a B2B company's site, where an order is a fact on the lead, not a counted conversion. Send it server-side from the order webhook once paid, matched to the lead by email, as a custom activity or object with total and products. Check for an existing lead first, and keep scores in check.

Marketo only makes sense for an Ecwid store that sits on a B2B company's site: a manufacturer selling spare parts, samples or training kits through an embedded widget while the real deals close through sales. In that setup an Ecwid order is useful as a fact on the lead, not as a conversion to count. Send it server-side from the order webhook once the order is paid, matched to the lead by the order email, and record it as a custom activity or custom object that carries the order total and the products bought.

The match is where this breaks. The person who buys a sample in the widget often uses a different address from the one on your gated content form, and Marketo will create a second lead rather than update the first. The Munchkin cookie on the host page helps only if the visitor was already known before they reached the widget. Check for an existing lead by email before creating one, and route unmatched buyers to a review list instead of creating fresh leads automatically.

Be deliberate about scoring. A small purchase of a spare part should not push a lead over the sales-ready threshold. Most stores here want a scoring rule that reacts to specific product categories, and a refund sent as its own activity so a rule can subtract what the purchase added.

Ecwid → Marketo · what breaks

Why this join usually fails — Ecwid → Marketo

  1. 01

    The lead record, keyed on email never reaches Ecwid

    The store runs inside an embedded widget, so the host page's scripts and the widget's own context are not the same environment. An identifier captured by the host page does not automatically reach the order, and a purchase inside the widget does not automatically fire the host page's tags.

  2. 02

    A checkout inside somebody else's page

    The host site and the store widget are two contexts. Tags installed on the host page routinely miss purchases entirely, and nobody notices because the site looks like it is working.

  3. 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.

  4. 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.

Ecwid → Marketo · the fix

What working looks like — Ecwid → Marketo

  • The lead record, keyed on email on every order

  • 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

Ecwid → Marketo · architecture

How Ecwid and Marketo actually connect

  1. 1

    Ecwid holds the truth

    Ecwid is authoritative for the order. Because it embeds into WordPress, Wix, Squarespace and plain HTML sites alike, the surrounding page's own analytics frequently has no idea a purchase happened.

  2. 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. 3

    The identifier is the bridge

    The lead record, keyed on email, captured at the visit and carried into the Ecwid order.

  4. 4

    The event source decides reliability

    Send from your server when Ecwid reports the order paid. The widget's own client-side events depend on the host page still being open and the embed having initialized correctly, neither of which is guaranteed.

  5. 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.

Ecwid → Marketo · normal or broken

Working vs. broken, side by side — Ecwid → Marketo

Normal, not a fault

  • The lead record, keyed on email present on the order

  • Sent from the Ecwid order webhook

  • 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

    The store runs inside an embedded widget, so the host page's scripts and the widget's own context are not the same environment. An identifier captured by the host page does not automatically reach the order, and a purchase inside the widget does not automatically fire the host page's tags.

  • Sent from the browser

    The host site and the store widget are two contexts. Tags installed on the host page routinely miss purchases entirely, and nobody notices because the site looks like it is working.

  • 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

Ecwid → Marketo · diagnose

Diagnostic order — Ecwid → Marketo

  1. 01

    Count orders carrying the lead record, keyed on email

  2. 02

    Follow one real conversion end to end

  3. 03

    Open a recent Ecwid order and check its extra fields

    If the identifier is not on the order, the host page captured it and never passed it across the embed boundary.

  4. 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.

  5. 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.

Ecwid → Marketo · prove

How it gets proven — Ecwid → Marketo

Source of truth

Ecwid's order list for the same window, in the store's currency and timezone.

  • The lead record, keyed on email confirmed present on a live order.
  • Activities confirmed on single lead records with score changes matching the configured rules, and no duplicate leads created.
  • A purchase completed through the embedded widget, confirmed to report with the identifier attached.

Ecwid → Marketo · free audit

What we check in the free audit

  • Count orders carrying the lead record, keyed on email
  • Follow one real conversion end to end
  • Open a recent Ecwid order and check its extra fields
  • Check the lead's activity log after a test conversion
  • Read the match rate, not the success message

Checked against

Ecwid's order list for the same window, in the store's currency and timezone.

Get my free conversion tracking audit

Free30 minutesNo obligation

Ecwid → Marketo · when not to buy

When you don't need this — Ecwid → Marketo

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the lead record, keyed on email.
  • If your Ecwid store is a small add-on to a content site with modest volume, the native integrations may be adequate — measure the order volume before commissioning anything.
  • If your sales team does not act on lead scores, pushing conversions into Marketo produces a tidier database and changes nothing about revenue.

Ecwid → Marketo · what we deliver

What gets built — Ecwid → Marketo

  • Identifier capture into Ecwid

    Capture the click identifier on the host page and pass it into the Ecwid order through its order-extra-fields or the storefront API, so it lands on the order record rather than staying on the page.

  • Event source: the Ecwid order webhook

    Send from your server when Ecwid reports the order paid. The widget's own client-side events depend on the host page still being open and the embed having initialized correctly, neither of which is guaranteed.

  • Dispatch to Marketo

    The Marketo REST API, posted server-side to create or update the lead and record the activity.

  • Reversals where they exist

    Ecwid records refunds and cancellations against the original order, so reversals can be wired properly.

Written guarantee

95%+ tracking accuracy

Measured against Ecwid's order list for the same window, in the store's currency and timezone.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Ecwid → Marketo questions, answered

Only for products that indicate buying intent for your main offer, such as samples or evaluation kits. Routine accessory purchases should be recorded on the lead without moving the score.

Free · 30 min

Get Ecwid and Marketo joined properly

Free30 minutesNo obligation