Skip to main content
Magento → IterableIntegration guide

Connecting Magento to Iterable

Magento is self-hosted and endlessly customisable, which means every installation is different and full-page caching is always in the way. Iterable orchestrates journeys across email, push, SMS and in-app from one user profile, which means a single mis-shaped event can trigger four channels at once. The join between them succeeds or fails on one thing: whether the user ID or email on the profile reaches the Magento order before the conversion happens, because Iterable can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Magento to Iterable: one user, one currency per store view

Lowercase emails in the Magento observer and decide whether Iterable's userId is the customer ID, with a guest rule, before sending. Send purchases from the placement observer with increment ID, line items, subtotal, currency and store view, using Iterable's commerce calls if journeys expect them, and carts from the quote. Avoid duplicate confirmation emails, and send credit memo refunds.

Iterable resolves users on email or userId, and Magento lets the same email exist as a guest on one order and a registered customer on another, typed with different capitalization. Send purchases keyed on raw email and you create users that differ only in case, each in its own journey. Lowercase the email in the observer, and decide whether userId is the Magento customer ID, with a rule for guests, before the first event goes out.

Iterable has dedicated commerce calls for cart updates and purchases besides custom events; check which your journeys expect before mapping. Feed the purchase from the order placement observer with increment ID, line items, subtotal and currency, and the cart from the quote once an email is known. Multi-store Magento often shares one Iterable project across store views, so include store view and currency on every purchase or a journey will quote a euro order in dollars.

Cross-channel duplication is the cost to avoid. If Magento sends its own transactional order email and Iterable also sends a confirmation from the purchase event, the customer gets two, and SMS or push may add more. Turn one off. Credit memos should send a refund event that ends review-request and cross-sell journeys. Test against a separate Iterable project, since staging Magento databases often contain real customers.

Magento → Iterable · what breaks

Why this join usually fails — Magento → Iterable

  1. 01

    The user ID or email on the profile never reaches Magento

    Magento's full-page cache serves a stored render to the visitor, which means anything relying on dynamically rendered values can silently fail — and in Magento this has historically included serving one customer's cached block to another, which is a data problem as well as a tracking one.

  2. 02

    Full-page cache between the visitor and your code

    The page the customer saw is not the page your code assumed. This is the defining Magento tracking failure and it produces intermittent, hard-to-reproduce loss.

  3. 03

    One duplicate, four channels

    Cross-channel orchestration multiplies the cost of a bad event. Where a duplicate in an ad platform is a reporting error, here it reaches the customer on their phone, in their inbox and inside the app, about a single purchase.

  4. 04

    Nothing reconciles afterwards

    Iterable shows the user profile with its event history and journey membership. Read the profile, and check whether a duplicate profile was created by the same email arriving in a different case.

Magento → Iterable · the fix

What working looks like — Magento → Iterable

  • The user ID or email on the profile on every order

  • Conversions arriving in Iterable

    The event lands on the user profile, evaluates against every running journey, and may trigger sends across several channels immediately.

  • Reconciled against the source

Magento → Iterable · architecture

How Magento and Iterable actually connect

  1. 1

    Magento holds the truth

    You own the database, so the truth is as good as the query. Pin down which order statuses count as revenue — processing, complete, or both — because that choice moves the number substantially.

  2. 2

    Iterable needs a click to match

    The user identifier, the event name and the data fields the journey conditions reference. A journey branching on a field that arrives empty will take the wrong path silently.

  3. 3

    The identifier is the bridge

    The user ID or email on the profile, captured at the visit and carried into the Magento order.

  4. 4

    The event source decides reliability

    Fire server-side from the observer rather than from the success page template, which is cached and may not execute anything.

  5. 5

    Deduplication at the destination

    Iterable does not deduplicate events. A purchase sent twice can advance a journey twice, and because journeys span channels the duplicate can produce an email, a push and an SMS about one order.

Magento → Iterable · normal or broken

Working vs. broken, side by side — Magento → Iterable

Normal, not a fault

  • The user ID or email on the profile present on the order

  • Sent from the Magento order placement observer

  • Deduplicated correctly

    Iterable does not deduplicate events. A purchase sent twice can advance a journey twice, and because journeys span channels the duplicate can produce an email, a push and an SMS about one order.

  • Reconciles with the source

Actually broken

  • The user ID or email on the profile missing on most records

    Magento's full-page cache serves a stored render to the visitor, which means anything relying on dynamically rendered values can silently fail — and in Magento this has historically included serving one customer's cached block to another, which is a data problem as well as a tracking one.

  • Sent from the browser

    The page the customer saw is not the page your code assumed. This is the defining Magento tracking failure and it produces intermittent, hard-to-reproduce loss.

  • Counted twice, or not at all

    Cross-channel orchestration multiplies the cost of a bad event. Where a duplicate in an ad platform is a reporting error, here it reaches the customer on their phone, in their inbox and inside the app, about a single purchase.

  • Nobody has reconciled it

Magento → Iterable · diagnose

Diagnostic order — Magento → Iterable

  1. 01

    Count orders carrying the user ID or email on the profile

  2. 02

    Follow one real conversion end to end

  3. 03

    Place a test order as an anonymous visitor through cache

    Not as an admin, which bypasses it. If the order data is missing on the cached path, caching is your cause.

  4. 04

    Send a test event and read every journey it entered

    Not just whether the event arrived — which journeys it triggered and what each one sent. That is the blast radius.

  5. 05

    Read the match rate, not the success message

    Iterable shows the user profile with its event history and journey membership. Read the profile, and check whether a duplicate profile was created by the same email arriving in a different case.

Magento → Iterable · prove

How it gets proven — Magento → Iterable

Source of truth

Magento's sales order records in your own database, for the same window and order status set.

  • The user ID or email on the profile confirmed present on a live order.
  • Purchases confirmed on single user profiles with the triggered journeys verified, tested in a non-production project first.
  • Order data confirmed populated on an order placed through a fully warmed cache.

Magento → Iterable · free audit

What we check in the free audit

  • Count orders carrying the user ID or email on the profile
  • Follow one real conversion end to end
  • Place a test order as an anonymous visitor through cache
  • Send a test event and read every journey it entered
  • Read the match rate, not the success message

Checked against

Magento's sales order records in your own database, for the same window and order status set.

Get my free conversion tracking audit

Free30 minutesNo obligation

Magento → Iterable · when not to buy

When you don't need this — Magento → Iterable

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the user ID or email on the profile.
  • If your Magento build has heavy customisation by another team, scope their availability first — the build is usually blocked there.
  • If you send on a schedule rather than on behaviour, a simpler email platform does the job without the cross-channel blast radius.

Magento → Iterable · what we deliver

What gets built — Magento → Iterable

  • Identifier capture into Magento

    Capture the identifier and persist it as order data through an observer on order placement, server-side, so it never depends on what the cache served.

  • Event source: the Magento order placement observer

    Fire server-side from the observer rather than from the success page template, which is cached and may not execute anything.

  • Dispatch to Iterable

    The Iterable events API, posted server-side with the user identifier and event fields.

  • Reversals where they exist

    Credit memos are recorded against the original order and should reduce the reported figure.

Written guarantee

95%+ tracking accuracy

Measured against Magento's sales order records in your own database, for the same window and order status set.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Magento → Iterable questions, answered

Usually the same email arriving in different cases, or guests and registered customers sent with different identifiers. Lowercase emails and fix the userId rule.

Free · 30 min

Get Magento and Iterable joined properly

Free30 minutesNo obligation