Connectors move fields, not definitions
Ad platforms, analytics tools, CRMs, commerce systems, and payment processors each expose their own naming and reporting assumptions. A semantic layer maps those fields into canonical business concepts.
A marketing semantic layer defines the business meaning of connector data before it reaches dashboards, exports, or analysis. It names the canonical entities, grain, dimensions, metrics, currency rules, date semantics, and guardrails that keep marketing reporting consistent across teams.
Connector data is necessary, but raw tables rarely contain the business contract a team needs. The same field name can carry different attribution windows, currencies, date bases, entity IDs, and aggregation behavior.
Ad platforms, analytics tools, CRMs, commerce systems, and payment processors each expose their own naming and reporting assumptions. A semantic layer maps those fields into canonical business concepts.
A dashboard can show a clean number while hiding whether revenue is gross or net, whether spend includes fees, or whether ROAS came from platform attribution or blended business totals.
BI tools, spreadsheets, warehouse tables, and AI-assisted analysis should receive governed datasets, not direct access to arbitrary source tables and unsafe joins.
The semantic layer should say what each row represents, which entity owns it, and which dimensions can safely filter or group it.
Stable business objects that reporting can reference across sources.
The exact level at which each row is true.
Attributes used to filter, group, segment, or label metrics.
Rules for which date a metric uses and what reporting period means.
Rules for source currency, reporting currency, exchange rates, and mixed-currency aggregation.
Rules for tenant, subscription, account, store, and workspace boundaries.
A formula is only one part of a metric definition. The semantic layer should also declare whether a metric is additive, derived, unique, attributed, modeled, or safe only at a specific grain.
Metrics that can be summed across compatible rows.
Metrics calculated from a numerator and denominator.
Metrics that count distinct people, customers, sessions, or reached users.
Metrics assigned to channels, campaigns, or touchpoints by an attribution rule.
Metrics that subtract selected costs from revenue.
Metrics that require assumptions, forecasts, or statistical methods.
Guardrails make governed data useful outside the app. They prevent unsafe field combinations, ambiguous metrics, incorrect aggregation, and source-specific assumptions from leaking into exports.
Only allow dimensions and metrics together when the source grain supports the combination. Campaign spend can be grouped by campaign and date; order-line profit needs order-line or product-compatible dimensions.
Store numerators and denominators so ROAS, MER, CTR, CAC, AOV, and margin can be recomputed at the requested grain instead of averaged from precomputed rows.
Expose attribution window, currency behavior, date basis, modeled status, and cost inclusion rules near the metric so downstream users know what the number can and cannot answer.
Most semantic-layer problems come from letting raw source fields behave like governed business metrics.
It is a governed business layer that defines marketing entities, grains, dimensions, metrics, aggregation rules, currency behavior, date semantics, and query guardrails across connector data.
ETL moves and transforms data. A semantic layer defines what that data means, which fields can be combined, and how metrics should aggregate in dashboards and exports.
Grain determines what a row represents. If campaign-day spend is joined to order-line revenue without a governed bridge, spend can be duplicated and profitability can be distorted.
They can be included when the attribution source, conversion definition, lookback window, and limitations are explicit. They should not be mixed with observed revenue without labeling.
Yes. The safest exports are governed datasets with approved dimensions, metrics, filters, date ranges, and aggregation rules, not arbitrary raw source tables.
Start with ratios, unique counts, attributed revenue, CAC, LTV, margin, and profit metrics because they are the easiest to misaggregate or compare incorrectly.
Read the ROAS vs. MER guide for marketing efficiency denominators, or the contribution margin guide for ecommerce cost rules and profit grain.