Skip to main content
AEM → Customer.ioIntegration guide

Connecting Adobe Experience Manager to Customer.io

AEM sits inside the wider Adobe stack, which usually means Adobe Analytics is already in place and answering a different question from your ad platforms. Customer.io triggers messages from behaviour, which means an event you send is not recorded — it is acted on, usually within seconds, by sending something to a real person. The join between them succeeds or fails on one thing: whether the person identifier you assign reaches the commerce order behind AEM before the conversion happens, because Customer.io can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Customer.io on AEM: one workspace per environment

Keep Customer.io site IDs and API keys in environment-specific AEM configuration, so stage writes to a test workspace. Send identify and form-submitted events from the server-side submit action of AEM Forms or Sites form components, keyed on email, with page path and form name. Purchases come from the commerce system; the browser snippet reads identity client-side only.

AEM projects run several environments: development, stage and production, each with author and publish tiers. Customer.io acts on events within seconds, so the most important decision is which workspace each environment writes to. Keep the Customer.io site ID and API key in environment-specific configuration so stage writes to a test workspace and only production writes to the live one. A form tested on stage against the live workspace sends real emails to real people.

AEM's forms, whether built with AEM Forms or form components on Sites pages, are where people first identify themselves. Send the identify call and a form-submitted event from the server-side submit action, keyed on the email, rather than from the browser, because the submit handler knows the form validated. Pass the page path and form name as attributes, since campaign conditions will want to know which form fired.

Purchases and account events come from the commerce or product system, keyed on the same identifier. Customer.io's JavaScript snippet on cached AEM pages can still track page views and identify signed-in visitors, as long as the identity is read client-side and never rendered into page markup.

AEM → Customer.io · what breaks

Why this join usually fails — AEM → Customer.io

  1. 01

    The person identifier you assign never reaches AEM

    Dispatcher caching in front of AEM serves stored output, the Adobe data layer has its own conventions that may not carry your identifier, and enterprise release cycles slow every iteration.

  2. 02

    Three systems that will never agree

    Adobe Analytics, your commerce system and your ad platforms each measure differently. The useful work is deciding which answers which question, not forcing them to match.

  3. 03

    A test event sending a real email

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  4. 04

    Nothing reconciles afterwards

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

AEM → Customer.io · the fix

What working looks like — AEM → Customer.io

  • The person identifier you assign on every order

  • Conversions arriving in Customer.io

    The event lands on the person, evaluates against every campaign trigger and segment condition, and may send immediately.

  • Reconciled against the source

    Adobe Experience Manager's own records are the reference, not either dashboard.

AEM → Customer.io · architecture

How AEM and Customer.io actually connect

  1. 1

    Adobe Experience Manager holds the truth

    In most AEM deployments the commerce engine is separate, and Adobe Analytics reports on its own model with its own attribution. None of those three will agree by default and that is expected rather than broken.

  2. 2

    Customer.io needs a click to match

    Customer.io needs the person identifier, the event name and any attributes the campaign conditions reference. An event whose attributes are missing will still trigger a campaign, which may then send a message with an empty placeholder in it.

  3. 3

    The identifier is the bridge

    The person identifier you assign, captured at the visit and carried into the commerce order behind AEM.

  4. 4

    The event source decides reliability

    Send from the commerce layer, server-side. Dispatcher caching makes any per-request template logic unreliable.

  5. 5

    Deduplication at the destination

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

AEM → Customer.io · normal or broken

Working vs. broken, side by side — AEM → Customer.io

Normal, not a fault

  • The person identifier you assign present on the order

    Visible on the record itself in Adobe Experience Manager, not merely captured somewhere on the site.

  • Sent from your commerce system's order event

  • Deduplicated correctly

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

  • Reconciles with the source

    Customer.io's count and Adobe Experience Manager's records agree within a few percent over a closed window.

Actually broken

  • The person identifier you assign missing on most records

    Dispatcher caching in front of AEM serves stored output, the Adobe data layer has its own conventions that may not carry your identifier, and enterprise release cycles slow every iteration.

  • Sent from the browser

    Adobe Analytics, your commerce system and your ad platforms each measure differently. The useful work is deciding which answers which question, not forcing them to match.

  • Counted twice, or not at all

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  • Nobody has reconciled it

    The dashboard shows a number and no one has compared it to Adobe Experience Manager.

AEM → Customer.io · diagnose

Diagnostic order — AEM → Customer.io

  1. 01

    Count orders carrying the person identifier you assign

  2. 02

    Follow one real conversion end to end

  3. 03

    Map which system answers which question before building

    In an Adobe stack this framing saves more time than any implementation detail.

  4. 04

    Confirm which workspace you are writing to before sending anything

    Environment separation is the whole safety mechanism in behaviour-triggered tools, and it is the thing most often skipped.

  5. 05

    Read the match rate, not the success message

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

AEM → Customer.io · prove

How it gets proven — AEM → Customer.io

Against Adobe Experience Manager's own records, not against either platform's dashboard.

Source of truth

Your commerce system — AEM manages experiences, not transactions.

  • The person identifier you assign confirmed present on a live order.
  • Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
  • Conversions confirmed sourced from the commerce system, with the Adobe Analytics difference explained rather than reconciled.

AEM → Customer.io · free audit

What we check in the free audit

  • Count orders carrying the person identifier you assign
  • Follow one real conversion end to end
  • Map which system answers which question before building
  • Confirm which workspace you are writing to before sending anything
  • Read the match rate, not the success message

Checked against

Your commerce system — AEM manages experiences, not transactions.

Get my free conversion tracking audit

Free30 minutesNo obligation

AEM → Customer.io · when not to buy

When you don't need this — AEM → Customer.io

  • If Customer.io already reports conversions that reconcile against Adobe Experience Manager's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the person identifier you assign.
  • If Adobe Analytics already answers your reporting needs, the remaining work is only feeding ad platforms — a much smaller scope.
  • If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

AEM → Customer.io · what we deliver

What gets built — AEM → Customer.io

  • Identifier capture into AEM

    Capture the identifier server-side and persist it to the commerce order, and if you use the Adobe client data layer, add the identifier explicitly rather than assuming it propagates.

  • Event source: your commerce system's order event

    Send from the commerce layer, server-side. Dispatcher caching makes any per-request template logic unreliable.

  • Dispatch to Customer.io

    The Customer.io Track API, posted server-side from your order or product system with the person identifier and event attributes.

  • Reversals where they exist

    Handled at the commerce layer.

Written guarantee

95%+ tracking accuracy

Measured against Your commerce system — AEM manages experiences, not transactions.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

AEM → Customer.io questions, answered

Store workspace credentials in environment-specific configuration so non-production environments write only to a test workspace.

Free · 30 min

Get AEM and Customer.io joined properly

Free30 minutesNo obligation