Skip to main content
MTA data lives in two tables in the sm_experimental dataset of your managed warehouse. A third table in sm_transformed_v2 helps when one order looks wrong. Full column lists are on each table’s schema page; this page covers how the tables are shaped and how to query them.

obt_purchase_journeys_with_mta_models

One row per touch point per purchase. The purchase event itself is also a row, with sm_event_name = 'purchase', and it carries the journey-level fields. Filter on it whenever you count purchases, so each order is counted once. Identifiers and timing: Per-touch structs, one field per dimension (marketing_channel, landing_page, ad, campaign, ad_group, email_sms): Journey-level structs, populated on the purchase row. Count fields are plural (marketing_channels, landing_pages, ads, campaigns, ad_groups, email_sms): Metadata structs: attribution_metadata (UTMs, referrer, click ids, page category), ad_platform_metadata, campaign_platform_metadata, ad_group_platform_metadata, and order_metadata (sales channel, order type, order sequence, discount codes).

obt_purchase_journeys_with_mta_models schema

Full column list and descriptions.

Revenue by marketing channel under all three models

Sum the credit on touch rows. Every model adds up to the same attributable revenue.

Attribution rate per dimension

Read the purchase rows only.

Journey length by journey type

rpt_ad_attribution_performance_daily

Daily ad platform performance with MTA credit joined on. One row per store, date, ad platform (source_system), sales channel (sm_channel), and waterfall_level entity. Use it for ROAS and for comparing platform-reported results with SourceMedium credit.

rpt_ad_attribution_performance_daily schema

Full column list and descriptions.

Campaign ROAS, platform-reported versus linear

fct_order_attribution_signals

When a single order looks wrong, start here. This table holds one row per piece of attribution evidence SourceMedium kept for an order: raw and canonical UTMs, click ids, referrer, zero-party survey answers, and discount codes. The row with sm_utm_final_source_priority = 1 is the traffic source the main dashboard credits. Filter on sm_store_id and order_id, then join to purchase_order_id in the purchase journey table for the MTA view of the same order.

fct_order_attribution_signals schema

Full column list and the workflow for tracing a single order.