1. Home
  2. Analytics & BI
  3. CDP architecture

CDP architecture

CDP architecture: pick the model, then get the layers right.

A CDP comes down to a few layers: collection, identity resolution, unified profiles, audiences and activation, with consent enforced throughout. The architecture question is who runs them: a packaged vendor, your warehouse (composable) or your own code (custom). We help you choose, then build it.

  • Packaged vs composable
  • Identity resolution
  • Consent-aware activation

What you get

One customer, one definition.

Identity resolved first

Deterministic matching first, documented probabilistic rules where needed.

Profiles in your warehouse

Analytics and activation share one definition.

Opt-outs that propagate

Consent enforced at activation, on every sync.

Build or buy, modeled

A cost model before any commitment.

The problem

Bought a CDP, still cannot answer the question.

The common failure is buying a CDP before resolving identity. The tool arrives, the same customer still exists as four records across ecommerce, email, support and ads, and now that fragmentation is being synced outward to every channel at a cost per profile. Meanwhile the analytics team keeps working from the warehouse, so there are two competing definitions of a customer. The unification problem was never a tooling problem.

Decision framework

Packaged, composable or custom CDP architecture?

Each model is the right answer for someone. Start from where your data lives and who will own audiences.

Packaged CDP

One vendor runs collection, identity, profiles and activation in its own platform, with a UI for marketers.

  • Choose it when marketers must build audiences without SQL
  • Choose it when you need real-time personalization or event SDKs out of the box
  • Choose it when there is no warehouse or data team yet

Watch for: per-profile or per-event pricing, and a second definition of the customer next to your warehouse.

Composable CDP

Your warehouse holds profiles and audiences. Collection and reverse ETL tools plug in around it.

  • Choose it when your data already lives in Snowflake, BigQuery, Redshift or Databricks
  • Choose it when analysts can own audience logic as SQL
  • Choose it when audience refreshes every hour or so are fast enough

Watch for: you own identity resolution and data quality, so you need analytics engineering.

Custom CDP

Your own code for collection, identity and activation, usually inside a product or a multi-tenant platform.

  • Choose it when the CDP is part of a product you sell
  • Choose it when tools can't meet your regulatory or data residency rules
  • Choose it when an engineering team can run it long term

Watch for: the most build and maintenance work of the three.

How to choose

Questions that decide the architecture.

Which CDP architecture should you choose? Answer these before talking to vendors, and the answer usually points clearly to one model. We model the costs of each option in a build vs buy assessment.

  • Where does customer data live today, and is there a warehouse?
  • Who will build audiences: marketers in a UI, or analysts in SQL?
  • How fresh must audiences be: seconds, minutes or hours?
  • How many profiles and events, and how does each option price them?
  • Which destinations matter most: Meta, Google, Amazon, email or CRM?
  • Which consent, retention and data residency rules apply?

Reference architecture

CDP architecture diagram: the six layers.

Data moves from the sources through each layer in order. In a composable CDP, layers 2 to 5 live in your warehouse.

Sources

  • Ecommerce orders
  • WAWeb / app events
  • CRMCRM
  • SESupport / email
  1. 01Collection
  2. 02Identity resolution
  3. 03Unified profiles
  4. 04Consent and suppression
  5. 05Audiences as SQL
  6. 06Activation (reverse ETL)

Layer by layer

What each layer does.

  1. Collection

    Events from web and app SDKs or server-side tracking, plus batch loads from ecommerce, CRM and support systems. Events usually land in a queue or stream first, so traffic peaks are absorbed.

  2. Identity resolution

    Deterministic matching on email, phone and customer ID first. Probabilistic matching on device and behavior only where needed, with documented, tunable rules.

  3. Unified profiles

    One table per customer with attributes, events and computed traits, modeled in dbt so analytics and activation share one definition.

  4. Consent and suppression

    Consent and preference state on every profile, applied before any audience leaves, so opt-outs and deletions propagate.

  5. Audiences as SQL

    Audience definitions as version-controlled, tested SQL, reviewed like code rather than clicked together in a UI.

  6. Activation

    Reverse ETL or the CDP's own syncs send audiences to Meta, Google, Amazon, email and CRM, with hashed identifiers and exclusion lists.

Identity resolution

Deterministic and probabilistic identity, packaged or composable.

Deterministic resolution joins records that share a known identifier, such as an email, phone number or customer ID. It is accurate and explainable, and for brands with logged-in customers or order data it covers most matches.

Probabilistic resolution infers matches from signals such as device, IP address and behavior. It fills gaps, but it can merge two different people, so its rules should be documented and easy to tune.

Packaged CDPs typically resolve identity inside the vendor's platform, using the identifiers and merge rules you configure. Check how merges can be reviewed and undone. In a composable CDP the same logic is SQL in your warehouse, tested against known duplicates on every run.

PII and activation

PII masking when activating to Meta and Google from a shared warehouse.

A composable CDP sends audiences out of a warehouse that also holds raw personal data, often for several brands or clients. This pattern keeps it contained:

  • Raw PII sits in a restricted schema, masked for most roles with Snowflake masking policies or BigQuery column-level security
  • Identifiers are normalized first: emails trimmed and lowercased, phone numbers formatted with country codes as each platform specifies
  • Hashing with SHA-256 happens inside the warehouse. Meta Custom Audiences and Google Customer Match both accept SHA-256 hashed emails and phone numbers
  • Reverse ETL reads only views that expose hashed identifiers, consented profiles and the right brand's rows
  • Each brand or client has its own destination credentials and syncs, so audiences never cross accounts

Freshness and peak load

How the architecture shapes data freshness and peak traffic.

Freshness follows the slowest step. A packaged CDP that collects events itself can act on them within seconds to minutes. A composable CDP is as fresh as its load and sync schedules, typically minutes to hours, and every extra refresh costs warehouse compute.

Many teams split the work: streaming for the few triggers that need seconds, such as an abandoned cart, and the warehouse for everything else.

For peak traffic, such as Prime Day or Black Friday, the collection layer absorbs the spike. Events go into a queue or stream, the warehouse loads them in small batches, and activation stays within each destination's API rate limits. Clean warehouse profiles also improve clean room match rates, as in Amazon Marketing Cloud.

What we architect

What's included.

  • Identity resolution logic with deterministic matching first and documented probabilistic rules where needed
  • A unified customer profile model in the warehouse: attributes, events and computed traits
  • Audience definitions built as version-controlled, testable SQL rather than clicks in a UI
  • Reverse ETL activation into ad platforms, email and CRM, with suppression and exclusion handled
  • Consent and preference state carried through to every destination, so opt-outs actually propagate
  • A build-versus-buy assessment with real cost modeling before any commitment

How we work

How we run it.

  1. Step 1

    Profile your existing customer data and measure how badly identity is actually fragmented

  2. Step 2

    Resolve identity in the warehouse and validate against known duplicates

  3. Step 3

    Model profiles and traits in dbt, so analytics and activation share one definition

  4. Step 4

    Activate to one destination, prove the loop, then expand

What we use

Tools, platforms and methods.

  • Snowflake
  • BigQuery
  • Redshift
  • Databricks
  • dbt
  • Hightouch
  • Census
  • Segment
  • Python

FAQ

Common questions.

Which CDP architecture should we choose: packaged or composable?

If your data already lives in a warehouse and you have analytics engineering capability, composable is usually cheaper and far more flexible, because audience logic becomes reviewable SQL rather than UI state. Packaged CDPs earn their cost when you need event collection SDKs, real-time personalization, or a non-technical marketing team owning audiences directly. We model both against your actual volumes rather than arguing it in the abstract.

When is a packaged CDP the right choice?

When marketers need to build audiences without SQL, when you need real-time personalization or event collection SDKs out of the box, or when there is no warehouse or data team yet. In those cases the vendor's per-profile cost buys real capability.

What does identity resolution actually involve?

Deciding, with rules you can defend, when two records are the same person. Deterministic matching on email, phone and customer ID comes first and covers most cases. Probabilistic matching on device and behavior fills gaps but introduces false merges, so we document the rules and keep them tunable rather than hiding them in a black box.

How does consent work across activation?

Consent state lives on the profile and is enforced at the point of activation, not left to each destination. Suppression lists propagate on every sync, so an opt-out or deletion request removes the person from downstream audiences rather than lingering in a platform-side list.

Can this coexist with a CDP we already own?

Yes, and it often improves it. We resolve identity and model profiles in the warehouse, then feed clean, unified profiles into the CDP as a source. You keep the activation tooling your team knows and stop paying to sync fragmented records.

How do composable CDPs handle PII when activating audiences to Meta and Google?

Raw PII stays in a restricted, masked schema. Identifiers are normalized and SHA-256 hashed inside the warehouse, and reverse ETL reads only views with hashed, consented records for the right brand or client. Meta Custom Audiences and Google Customer Match both accept SHA-256 hashed emails and phone numbers.

How does CDP architecture affect data freshness?

A packaged CDP that collects events itself can act within seconds to minutes. A composable CDP is as fresh as its warehouse loads and syncs, typically minutes to hours. Many teams stream the few time-critical triggers and run everything else from the warehouse.

How should a CDP handle peak traffic?

Buffer at the collection layer. Events go into a queue or stream, load into the warehouse in small batches, and syncs stay within each destination's rate limits, so traffic spikes slow things down instead of dropping events.

Architect your customer data layer.

Tell us where customer data lives today and we will assess identity fragmentation before recommending build or buy.

Talk to an engineer