Skip to main content
Craft → LiveRampIntegration guide

Connecting Craft CMS to LiveRamp

Craft is a developer-oriented CMS, usually built bespoke by an agency, which means the implementation is whatever that agency decided and nothing is standard. LiveRamp resolves identity between parties who are not allowed to share raw customer data, which makes it infrastructure for measurement rather than a place conversions are counted. The join between them succeeds or fails on one thing: whether the RampID, derived from hashed personal information reaches the Craft Commerce order before the conversion happens, because LiveRamp can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Craft Commerce to LiveRamp: normalizing Craft address data

Build LiveRamp uploads from completed Craft Commerce orders, using the email and billing address from Craft address elements, with date and value. Normalize before hashing: lowercase email, standard state codes, five-digit ZIPs, no placeholder addresses. Use billing rather than shipping addresses, and never include line items or order notes.

LiveRamp matches on hashed email and postal data, and a Craft Commerce store holds both on every order: the customer email and billing and shipping addresses stored as Craft address elements, with separate fields for street lines, locality, administrative area and postal code. That structure helps, because it is already split into the parts a postal match needs, provided the checkout form enforced it.

Build the upload from completed orders, not from user accounts, so each record carries a real transaction with its date and value. Normalize before hashing: lowercase and trim email, standardize state codes, cut ZIP+4 to five digits if the partner expects that, and drop placeholder addresses used for digital goods. Agencies sometimes add free-text address fields to a Craft checkout, and those are where match rates collapse.

Use the billing address to identify the buyer. For gift orders the shipping address belongs to the recipient, who never saw the ad. Never include line items or order notes in the file; LiveRamp needs identity and the conversion, nothing descriptive. This is worth doing for a brand with a clean-room partner or media partners asking for RampID-based measurement; otherwise direct uploads to the ad platforms are simpler.

Craft → LiveRamp · what breaks

Why this join usually fails — Craft → LiveRamp

  1. 01

    The RampID, derived from hashed personal information never reaches Craft

    Craft's template caching and static caching plugins both serve stored output, and because every build is custom, where the capture code lives differs per site. There is no standard place to look.

  2. 02

    Every install is bespoke

    There is no standard Craft setup, so an approach that worked on another Craft site may have nothing to attach to on this one. Read the build before quoting.

  3. 03

    Match rate treated as a platform failure

    A low match rate is almost always your data, not theirs: inconsistent formatting, stale addresses, or a customer base that simply is not resolvable. Teams spend weeks escalating to the vendor when the fix is normalising a column.

  4. 04

    Nothing reconciles afterwards

    LiveRamp reports match rates on every upload. Read it, and compare it against how many of your customers you would expect to be resolvable at all.

Craft → LiveRamp · the fix

What working looks like — Craft → LiveRamp

  • The RampID, derived from hashed personal information on every order

  • Conversions arriving in LiveRamp

    Records resolve to RampIDs and become matchable against a partner's data inside a clean room or an activation platform.

  • Reconciled against the source

    Craft CMS's own records are the reference, not either dashboard.

Craft → LiveRamp · architecture

How Craft and LiveRamp actually connect

  1. 1

    Craft CMS holds the truth

    Craft installs are bespoke by nature. Establish how this particular build models a completed order before assuming anything transfers from another Craft site.

  2. 2

    LiveRamp needs a click to match

    Hashed, correctly normalised customer identifiers. Normalisation is the whole job: lowercase, trimmed, consistently formatted before hashing, or the match rate collapses for reasons that look like a platform problem.

  3. 3

    The identifier is the bridge

    The RampID, derived from hashed personal information, captured at the visit and carried into the Craft Commerce order.

  4. 4

    The event source decides reliability

    Fire from the event listener in PHP rather than a Twig template, which may be cached.

  5. 5

    Deduplication at the destination

    Deduplication happens at the identity layer. The same person with two email addresses can resolve to two RampIDs, which inflates audience counts and depresses match rates simultaneously.

Craft → LiveRamp · normal or broken

Working vs. broken, side by side — Craft → LiveRamp

Normal, not a fault

  • The RampID, derived from hashed personal information present on the order

    Visible on the record itself in Craft CMS, not merely captured somewhere on the site.

  • Sent from the Craft Commerce order-complete event

  • Deduplicated correctly

    Deduplication happens at the identity layer. The same person with two email addresses can resolve to two RampIDs, which inflates audience counts and depresses match rates simultaneously.

  • Reconciles with the source

    LiveRamp's count and Craft CMS's records agree within a few percent over a closed window.

Actually broken

  • The RampID, derived from hashed personal information missing on most records

    Craft's template caching and static caching plugins both serve stored output, and because every build is custom, where the capture code lives differs per site. There is no standard place to look.

  • Sent from the browser

    There is no standard Craft setup, so an approach that worked on another Craft site may have nothing to attach to on this one. Read the build before quoting.

  • Counted twice, or not at all

    A low match rate is almost always your data, not theirs: inconsistent formatting, stale addresses, or a customer base that simply is not resolvable. Teams spend weeks escalating to the vendor when the fix is normalising a column.

  • Nobody has reconciled it

    The dashboard shows a number and no one has compared it to Craft CMS.

Craft → LiveRamp · diagnose

Diagnostic order — Craft → LiveRamp

  1. 01

    Count orders carrying the RampID, derived from hashed personal information

  2. 02

    Follow one real conversion end to end

  3. 03

    Read how this specific build handles order completion

    Assumptions carried from another Craft project are the main source of wasted time here.

  4. 04

    Audit identifier formatting before hashing

    Case, whitespace and formatting differences are the usual cause. Fix them once and the match rate moves more than any configuration change will.

  5. 05

    Read the match rate, not the success message

    LiveRamp reports match rates on every upload. Read it, and compare it against how many of your customers you would expect to be resolvable at all.

Craft → LiveRamp · prove

How it gets proven — Craft → LiveRamp

Against Craft CMS's own records, not against either platform's dashboard.

Source of truth

Craft Commerce's order records in your own database, filtered to completed.

  • The RampID, derived from hashed personal information confirmed present on a live order.
  • Match rate measured against the share of customers holding usable identifiers, with normalisation verified before hashing.
  • Order custom field confirmed populated on an order placed as an anonymous visitor through cache.

Craft → LiveRamp · free audit

What we check in the free audit

  • Count orders carrying the RampID, derived from hashed personal information
  • Follow one real conversion end to end
  • Read how this specific build handles order completion
  • Audit identifier formatting before hashing
  • Read the match rate, not the success message

Checked against

Craft Commerce's order records in your own database, filtered to completed.

Get my free conversion tracking audit

Free30 minutesNo obligation

Craft → LiveRamp · when not to buy

When you don't need this — Craft → LiveRamp

  • If LiveRamp already reports conversions that reconcile against Craft CMS'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 RampID, derived from hashed personal information.
  • If the original agency is still engaged, the fastest path is usually specifying the field and having them add the hook.
  • If you hold few customer identifiers, identity resolution has almost nothing to resolve. Collect the data first; this cannot manufacture it.

Craft → LiveRamp · what we deliver

What gets built — Craft → LiveRamp

  • Identifier capture into Craft

    Capture the identifier and store it as a custom field on the order through a Craft event listener, server-side.

  • Event source: the Craft Commerce order-complete event

    Fire from the event listener in PHP rather than a Twig template, which may be cached.

  • Dispatch to LiveRamp

    Hashed identifiers and conversion records uploaded server-side, never raw personal data.

  • Reversals where they exist

    Refunds and cancelled orders are recorded against the order.

Written guarantee

95%+ tracking accuracy

Measured against Craft Commerce's order records in your own database, filtered to completed.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Craft → LiveRamp questions, answered

Export completed orders with email and billing address, normalize the fields, hash them, and upload with the order date and value. Leave out products and notes.

Free · 30 min

Get Craft and LiveRamp joined properly

Free30 minutesNo obligation