A field-level marketing data contract for aligning analytics, CRM, finance and product data before dashboards and models create conflicting answers.

Advanced Analytics & Measurement · CDM-043 · By CDM Editorial Team · Research checked 12 October 2026
How to Create a Marketing Data Contract Across Analytics, CRM, Finance and Product

Short answer: Start with one decision and one shared business object, such as an order, opportunity or subscription. For every required field, define its source, grain, type, allowed values, timing, owner and quality test. Then document how identifiers join across analytics, CRM, product and finance. Version changes with effective dates, and block downstream release when a breaking definition has no migration plan.

A data contract is the agreement that makes a metric reproducible across systems. It defines the grain, fields, timing, owners, tests and change rules before a dashboard turns ambiguity into apparent certainty.

16:9 licensed-photo briefRealistic 16:9 editorial photograph of four colleagues from marketing, finance, product and data reviewing one printed schema at a table; contemporary London workplace; no staged handshake.

A metric dictionary is not yet a data contract

A dictionary can explain that “qualified pipeline” means a certain value. A contract states where the records originate, which opportunity stages qualify, whether value is gross or weighted, how reopened opportunities behave, when exchange rates are applied and which system is authoritative for each field.

The difference matters because teams rarely disagree only about labels. They disagree about grain, timing and ownership. An analytics event may represent a submitted form; the CRM may create or merge a lead later; finance may recognise revenue months after an opportunity closes. One word can describe several legitimate records.

CDM position: build the contract around a decision and the smallest stable business object that supports it. Do not attempt to document the entire organisation before proving one cross-system path.

Choose the object and grain first

Write one sentence: “One row represents…” An order-line contract is different from an order, customer, session or campaign contract. Joining an order-level marketing cost to item-level revenue without allocation will multiply values even when every field is individually correct.

Use the source platform’s real schema as evidence. Google’s Analytics Data API schema separates metrics and dimensions under defined scopes, while Salesforce’s Opportunity object reference documents a CRM object with its own fields and relationships. Your contract must state which parts are copied, transformed or redefined.

Do not let a dashboard’s available dimensions determine the business object. Start from the decision, then select the fields needed to represent it.

The CDM field-level contract

The contract below is intentionally compact. It belongs in version control or another system with stable history, review and access—not in an untracked slide deck.

Minimum viable marketing data contract

FieldRequired definitionExample test
Object and grainWhat one record representsPrimary key is unique at that grain
Source authoritySystem and table/object of recordSource identifier is present
Business meaningInclusion, exclusion and edge-case rulesFixture cases produce expected classification
Type and valuesData type, unit, currency and valid setSchema and accepted-value checks pass
TimeEvent, processing and effective timestampsFreshness and late-arrival thresholds pass
IdentityJoin key, direction, cardinality and coverageJoin does not multiply records
OwnershipApprover, steward and consumerNamed owner acknowledges change
VersionEffective date and compatibilityBreaking change has migration plan

Map identity without pretending it is complete

Create an identifier map that distinguishes anonymous device or browser IDs, authenticated user IDs, CRM contact and account IDs, order IDs and finance customer IDs. For each join, state the coverage, direction, cardinality and legal basis. A match rate is not permission to expand collection.

Never silently treat an email address as a universal identifier. Addresses can be shared, changed, mistyped or subject to use restrictions. If hashing is used, document the normalisation, purpose and retention rather than describing hashed data as anonymous.

Maintain an unmatched category. Forcing every record into a customer or campaign creates false precision and can conceal consent or integration problems.

Make changes observable

Every field needs an owner who can approve a definition change and a steward who can implement it. A breaking change includes altered grain, type, allowed values, attribution window, currency basis or source authority. Add an effective date and preserve the earlier definition for historical reports.

Contract tests should run before data is accepted: uniqueness at the stated grain, required-field completeness, referential integrity, accepted-value checks, freshness and reconciliation to the source. A warning can permit processing for a low-risk field; a failed revenue or consent rule should normally block or quarantine the affected data.

Publish a change notice to dashboard, model and campaign owners. Versioning without dependency communication simply creates a precise surprise.

Implementation sequence

  1. 1. Name the decision. Choose the allocation, campaign, forecast or customer decision the contract must support.
  2. 2. Select the business object. State one-row grain and the authoritative source for that object.
  3. 3. Define the fields. Document meaning, type, unit, valid values, null treatment and time basis.
  4. 4. Design the joins. Record keys, cardinality, unmatched behaviour, consent and expected coverage.
  5. 5. Write executable tests. Turn material contract rules into automated checks with severity and owner.
  6. 6. Approve and version. Have marketing, data, product and finance sign the rules relevant to them.
  7. 7. Monitor consumers. Track dashboards, models, audiences and reports that depend on each version.

Worked application

A B2B company wants to compare campaign cost with qualified pipeline. The contract defines one row as one opportunity snapshot per day. CRM is authoritative for stage and amount; finance supplies the daily exchange-rate table; analytics contributes the first known anonymous acquisition record only where a permitted identifier bridge exists.

“Qualified pipeline value” is the unweighted opportunity amount for opportunities in two named stages, converted using the snapshot date. Reopened opportunities remain in history rather than overwriting the prior state. The contract test rejects duplicate opportunity-date rows and warns when campaign identity is unmatched. Leaders can now see exactly what the metric includes—and what it cannot claim.

Limitations and failure conditions

A contract cannot repair a vague business process or establish lawful data use. It can expose those questions and stop silent drift. Different domains may need different authoritative systems, and some records will remain unmatched. The goal is a controlled, reviewable definition, not a fictional single customer view.

Frequently asked questions

Who owns a marketing data contract?

Ownership is shared but not anonymous. A business owner approves the meaning and decision use; a data steward maintains implementation and tests; system owners confirm source behaviour; privacy and finance review fields with consequences in their domains.

Should the contract be a document or code?

Use both where useful. Human-readable text explains purpose and edge cases, while machine-readable schemas and tests enforce type, grain and values. They should share one version and change process so the prose cannot drift from the pipeline.

How detailed should the first contract be?

Begin with one decision, object and a small set of material fields. Include enough detail to reproduce the metric and detect harmful changes. Expand only when a real consumer or risk requires it; an exhaustive unused catalogue quickly becomes stale.

What happens when systems disagree?

The contract names the authoritative source for each field and the reconciliation rule. Preserve the disagreement in an exception log when it cannot be resolved. Do not choose the value that makes a campaign look best or average incompatible definitions.

Prepublication review: Analytics engineering, finance and marketing-operations review required. This draft uses contextual external citations beside the claims they support. It intentionally has no end-loaded external source list.
CDM Editorial

This article is editorial guidance. Apply the principles in proportion to your market, evidence, and responsibilities.