Source Medium MTA Models Reference
Understanding the core data models that power Source Medium Multi-Touch Attribution
Multi-Touch Attribution Data Models
Source Medium’s Multi-Touch Attribution system is built on several powerful data models that track customer journeys, calculate attribution, and provide insights into marketing performance. This guide explains the core models you can use for analysis and reporting.
Core Attribution Models
Purchase Journeys with MTA Models (obt_purchase_journeys_with_mta_models
)
This is the central model for multi-touch attribution, containing complete customer journey data with attribution calculations across multiple models and dimensions.
Key Columns
-
Identifiers
smcid
: SourceMedium customer IDsource_system
: Original tracking source (Elevar, Blotout, etc.)sm_touch_id
: Unique identifier for each touch pointpurchase_order_id
: Associated order ID for purchase events
-
Event Data
sm_event_name
: Standardized event nameevent_local_datetime
: Timestamp in customer’s local timezonesm_event_marketing_channel
: Marketing channel classificationsm_event_ad_id
: Ad identifiersm_event_page_category
: Page category classificationsm_event_page_path
: Page path from the event
-
Attribution Metadata
attribution_metadata
: Contains UTM parameters and referrer informationhas_non_email_sms_touch
: Indicates if journey has non-email/SMS touchesdays_to_conversion
: Days between touch and conversionpurchase_journey_type
: Classification of the journey (single session, multi-session, etc.)
-
Revenue Impact Metrics
first_touch_revenue_impact
: Revenue attributed by first touch model for each dimensionlast_touch_revenue_impact
: Revenue attributed by last touch model for each dimensionlinear_revenue_impact
: Revenue attributed by linear model for each dimension
-
Conversion Impact Metrics
first_touch_conversion_impact
: Conversions attributed by first touch modellast_touch_conversion_impact
: Conversions attributed by last touch modellinear_conversion_impact
: Conversions attributed by linear model
Special Features
-
Email/SMS Handling: The model implements special rules for Email/SMS channels
- Email/SMS touches are excluded from first touch and linear attribution
- Email/SMS can receive last touch attribution for specific customers
- A dedicated email_sms dimension tracks these touches separately
-
Brand Campaign Handling: Brand campaigns appear in data but receive zero attribution
Example Queries
Ad Attribution Performance Daily (rpt_ad_attribution_performance_daily
)
This report model combines ad performance data with attribution metrics at both ad and channel levels, providing a comprehensive view of marketing performance.
Key Columns
-
Identifiers & Dimensions
smcid
: SourceMedium customer IDsource_system
: Ad platform sourcedate
: Performance datesm_marketing_channel
: Marketing channel (only for channel-level rows)ad_id
: Ad identifier (only for ad-level rows)
-
Ad Metadata
ad_name
: Name of the adad_campaign_id
: Campaign identifierad_campaign_name
: Campaign namead_campaign_type
: Campaign typead_campaign_tactic
: Campaign tactic (e.g., “brand”, “prospecting”)
-
Performance Metrics
ad_spend
: Amount spent on the adad_clicks
: Number of clicksad_impressions
: Number of impressionsad_platform_reported_conversions
: Conversions reported by the platformad_platform_reported_revenue
: Revenue reported by the platform
-
Attribution Metrics
sm_first_touch_revenue
: Revenue attributed via first touch modelsm_last_touch_revenue
: Revenue attributed via last touch modelsm_linear_revenue
: Revenue attributed via linear modelsm_first_touch_conversions
: Conversions attributed via first touch modelsm_last_touch_conversions
: Conversions attributed via last touch modelsm_linear_conversions
: Conversions attributed via linear model
Special Features
-
Channel-Level Unattributed Metrics
- Channel-level rows (where
ad_id
is NULL) only include unattributed metrics not counted at the ad level - This prevents double-counting while providing complete marketing spend visibility
- Channel-level rows (where
-
Brand Campaign Handling
- Brand campaigns appear in the data with spend, impressions, and clicks
- Attribution metrics for brand campaigns are set to zero
- This allows full visibility into brand campaign performance while preventing attribution
Example Queries
Supporting Models
Outbound Message Performance Daily (rpt_outbound_message_performance_daily
)
This model provides daily performance metrics for email and SMS campaigns, which can be connected to the Email/SMS dimension in the attribution models.
Key Columns
-
Identifiers
smcid
: SourceMedium customer IDdate
: Performance datesm_message_channel
: Channel (email or SMS)message_id
: Unique identifier for the messagecampaign_id
: Campaign identifier
-
Message Metadata
message_name
: Name of the messagemessage_subject
: Subject line of the messagecampaign_name
: Name of the campaign
-
Performance Metrics
message_unique_sends
: Number of unique sendsmessage_unique_receives
: Number of unique receivesmessage_unique_opens
: Number of unique opensmessage_unique_clicks
: Number of unique clicksmessage_unique_bounces
: Number of unique bouncesplatform_reported_orders
: Number of orders reported by the platformplatform_reported_order_revenue
: Revenue reported by the platform
Usage with Attribution
This model is particularly useful when analyzing the Email/SMS dimension in the MTA system, as it provides engagement metrics for the messages that appear in attribution reports.
Funnel Event History (obt_funnel_event_history
)
This model contains the raw event data that forms the basis of the attribution system, collecting and standardizing events from various sources.
Key Features
- Comprehensive collection of customer events across the purchase funnel
- Standardized event schema following GA4 conventions
- Deduplication of events across multiple sources
- Extraction and normalization of UTM parameters and other identifiers
While most users will interact with the attribution models rather than this raw event data, understanding its existence helps provide context for how the attribution system works. This model captures the individual interactions that make up customer journeys.
BigQuery Access and Customization
All these models are available in your managed BigQuery instance, allowing you to:
- Build custom reports and visualizations
- Join attribution data with other business data
- Create advanced segmentation analyses
- Develop customer-specific attribution rules
If you need assistance accessing these models or building custom queries, contact your SourceMedium account manager.
Was this page helpful?