Skip to main content
Drupal Commerce → LiveRampIntegration guide

Connecting Drupal Commerce to LiveRamp

Drupal Commerce is self-hosted commerce inside a CMS built for complex content, which means the store is one part of a much larger site you fully control. 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 Drupal 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

Drupal Commerce to LiveRamp: normalize the address field first

Export Drupal Commerce orders in counted revenue states with order time, value and currency, plus hashed identifiers: lowercased trimmed order email and address-field components, never raw data. Upload on a fixed schedule for RampID-based partner measurement. Deduplicate buyers on normalized email first, and note which Drupal sites the file covers.

LiveRamp resolves identity from hashed email and postal data, and Drupal Commerce stores both in predictable places: the email on the order and the billing address on the customer profile. Guest checkout is fine here, because the email lives on the order regardless of account. The work is normalization before hashing: lowercase and trim the email, and use the address field's separate components for name, street, postal code and two-letter country code rather than a formatted address string.

This pair makes sense when a measurement partner, such as a CTV or retail media seller you buy from, matches on RampID and wants your orders as the outcome. Export placed orders from commerce_order in the states your team counts as revenue, with order time, value and currency, and upload hashed identifiers through your LiveRamp connection on a fixed schedule. Never send raw names or addresses.

The Drupal-specific trap is duplicates in your own data. Guests who later register, customers with two emails, and multi-site installs with separate user tables can turn one buyer into several records, which inflates audience counts and drags the match rate down. Deduplicate on normalized email before export, and note which Drupal sites the file covers so nobody compares it with the wrong store.

Drupal Commerce → LiveRamp · what breaks

Why this join usually fails — Drupal Commerce → LiveRamp

  1. 01

    The RampID, derived from hashed personal information never reaches Drupal Commerce

    Drupal's internal page cache and any reverse proxy in front of it serve stored renders, so anything relying on dynamically rendered values fails intermittently. Multilingual and multi-site installs add further paths where the capture code may simply not run.

  2. 02

    Configurable workflow states nobody agreed on

    Drupal Commerce lets each install define its own order states. Two people reporting on the same store routinely count different states and never reconcile.

  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.

Drupal Commerce → LiveRamp · the fix

What working looks like — Drupal Commerce → 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

Drupal Commerce → LiveRamp · architecture

How Drupal Commerce and LiveRamp actually connect

  1. 1

    Drupal Commerce holds the truth

    You own the database, so the truth is exactly as good as the query. Pin down which order states count as revenue before comparing anything — Drupal's workflow states are configurable per install, so no two sites agree by default.

  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 Drupal Commerce order.

  4. 4

    The event source decides reliability

    Fire server-side from the hook rather than the checkout completion template, which is cacheable and may not execute anything.

  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.

Drupal Commerce → LiveRamp · normal or broken

Working vs. broken, side by side — Drupal Commerce → LiveRamp

Normal, not a fault

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

  • Sent from the Drupal Commerce order placement hook

  • 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

Actually broken

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

    Drupal's internal page cache and any reverse proxy in front of it serve stored renders, so anything relying on dynamically rendered values fails intermittently. Multilingual and multi-site installs add further paths where the capture code may simply not run.

  • Sent from the browser

    Drupal Commerce lets each install define its own order states. Two people reporting on the same store routinely count different states and never reconcile.

  • 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

Drupal Commerce → LiveRamp · diagnose

Diagnostic order — Drupal Commerce → LiveRamp

  1. 01

    Count orders carrying the RampID, derived from hashed personal information

  2. 02

    Follow one real conversion end to end

  3. 03

    List the order states in use and agree which count as revenue

    Do this before any technical work — it resolves more Drupal Commerce disputes than any code change.

  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.

Drupal Commerce → LiveRamp · prove

How it gets proven — Drupal Commerce → LiveRamp

Source of truth

Drupal's commerce_order records in your own database, filtered to completed states.

  • 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 field data confirmed populated on an order placed through a fully warmed cache as an anonymous visitor.

Drupal Commerce → 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
  • List the order states in use and agree which count as revenue
  • Audit identifier formatting before hashing
  • Read the match rate, not the success message

Checked against

Drupal's commerce_order records in your own database, filtered to completed states.

Get my free conversion tracking audit

Free30 minutesNo obligation

Drupal Commerce → LiveRamp · when not to buy

When you don't need this — Drupal Commerce → LiveRamp

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the RampID, derived from hashed personal information.
  • If your Drupal site is content-only with commerce elsewhere, work at the commerce system instead — this is the wrong layer.
  • If you hold few customer identifiers, identity resolution has almost nothing to resolve. Collect the data first; this cannot manufacture it.

Drupal Commerce → LiveRamp · what we deliver

What gets built — Drupal Commerce → LiveRamp

  • Identifier capture into Drupal Commerce

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

  • Event source: the Drupal Commerce order placement hook

    Fire server-side from the hook rather than the checkout completion template, which is cacheable and may not execute anything.

  • Dispatch to LiveRamp

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

  • Reversals where they exist

    Order state transitions to refunded or cancelled are recorded and can drive reversals.

Written guarantee

95%+ tracking accuracy

Measured against Drupal's commerce_order records in your own database, filtered to completed states.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Drupal Commerce → LiveRamp questions, answered

Hashed, normalized email from the order and postal fields from the billing profile, with order time, value and currency. Never raw personal data.

Free · 30 min

Get Drupal Commerce and LiveRamp joined properly

Free30 minutesNo obligation