UTM Tracking for Revenue Attribution
Set up UTM parameters to attribute e-commerce revenue to specific marketing channels and campaigns in MerchantFlow. Includes recommended UTM structures.
UTM Tracking for Revenue Attribution
UTM tracking in MerchantFlow uses UTM parameters from your order URLs to attribute revenue to specific marketing channels, campaigns, and traffic sources. By adding UTM tags to your marketing links, you can see exactly which campaigns drive sales and calculate true channel-level return on ad spend.
How UTM Attribution Works
When a customer clicks a link with UTM parameters and makes a purchase, MerchantFlow captures those parameters from the order data and uses them for revenue attribution.
UTM parameters tracked:
utm_source-- the traffic source (e.g., google, facebook, newsletter)utm_medium-- the marketing medium (e.g., cpc, social, email)utm_campaign-- the specific campaign name (e.g., spring_sale, holiday2025)
Attribution Confidence Levels
MerchantFlow assigns confidence levels to different attribution methods:
| Method | Confidence | Example |
|---|---|---|
| UTM parameters | Medium | utm_source=google&utm_medium=cpc |
| Referrer source mapping | Medium | Referrer domain = facebook.com |
| Primary source fallback | Low | Order source field from platform |
UTM parameters and referrer data carry equal confidence. When both are present, UTM parameters take priority.
Referrer Fallback
When UTM parameters are not present, MerchantFlow falls back to the order's referrer URL to determine the traffic source:
- Search engines (google.com, bing.com) -- mapped to Organic
- Social platforms (facebook.com, instagram.com, tiktok.com) -- mapped to Social
- AI referrals (chatgpt.com) -- mapped to Referral
- Direct -- no referrer data available
How to Set Up UTM Tracking
URL Format
Add UTM parameters to your marketing links:
https://yourstore.com/product?utm_source=facebook&utm_medium=paid_social
Recommended UTM Structure
| Channel | utm_source | utm_medium |
|---|---|---|
| Google Shopping | cpc | |
| Google Search Ads | cpc | |
| Facebook Ads | paid_social | |
| Instagram Ads | paid_social | |
| TikTok Ads | tiktok | paid_social |
| Email Marketing | newsletter | |
| SMS Campaigns | sms | sms |
Platform-Specific Setup
Google Ads -- Enable auto-tagging in Google Ads settings. MerchantFlow also reads Google's gclid parameter when available.
Meta Ads -- Use URL parameters in your ad creative. Set utm_source=facebook and utm_medium=paid_social in the URL parameters field.
Email/SMS -- Add UTM parameters to all links in your campaigns. Most email platforms (Klaviyo, Mailchimp) support automatic UTM tagging.
Where to View Attribution Data
Attribution data is available in several places:
- Dashboard > Attribution -- revenue breakdown by traffic source
- Products Table -- per-product traffic source analysis
- Orders -- individual order attribution details
Traffic Source Categories
- Shopping -- Google Ads/Shopping traffic
- Organic -- search engine organic traffic
- Social -- Facebook, Instagram, TikTok, Pinterest, Reddit, YouTube, LinkedIn
- Paid Other -- email, SMS, and other paid channels
- Direct -- no attribution data available
- AI Referral -- ChatGPT and other AI-powered referrals
How to Troubleshoot UTM Attribution Issues
Orders showing "Direct" when they should not
- Check UTM parameters -- verify your marketing links include UTM parameters
- Check referrer data -- some browsers and privacy tools strip referrer information
- Cross-domain tracking -- ensure UTM parameters persist across redirects
- Platform setup -- verify your e-commerce platform passes UTM data to the order
Attribution differs from ad platform reports
- Attribution windows -- ad platforms use their own attribution windows; MerchantFlow uses last-touch by default
- Cross-device -- ad platforms may track cross-device conversions that UTM tracking cannot
- Click vs. view -- UTM only tracks click-through conversions, not view-through
Frequently Asked Questions
Do I need UTM parameters if I already have Google Ads auto-tagging?
UTM parameters provide an additional attribution signal. While MerchantFlow can read Google's gclid, adding explicit UTM parameters ensures attribution works even if auto-tagging data is not passed through to the order.
How do I reduce the amount of "Direct" traffic in my attribution?
Add UTM parameters to every marketing link you control: paid ads, email campaigns, SMS messages, social media posts, and influencer links. The most common cause of excessive Direct attribution is missing UTM tags.
Does MerchantFlow support multi-touch attribution?
Not currently. MerchantFlow uses last-touch attribution based on the UTM parameters or referrer data present at the time of purchase. See the Attribution FAQ for more details.
What happens if UTM parameters are partially present?
If only utm_source is present but utm_medium is missing, MerchantFlow uses whatever is available. The attribution is still assigned Medium confidence based on the available data.
How do I set up UTM tracking for Shopify stores?
Shopify automatically captures UTM parameters from the landing page URL and associates them with the order. Ensure your marketing links include UTM parameters and that your Shopify theme does not strip URL parameters during navigation.
Related Pages
- Attribution Dashboard -- Revenue attribution analysis
- Attribution FAQ -- Common attribution questions
- Shopify Integration -- Shopify order attribution
- WooCommerce Integration -- WooCommerce order attribution
- Order Tracking -- Order-level attribution data
Last updated: March 14, 2026
Connect Speedfulfill 3PL — MerchantFlow
How to connect Speedfulfill to MerchantFlow for warehouse fulfillment data, shipping costs, and tracking numbers in your profitability reports.
Troubleshooting Integrations — MerchantFlow
Fix common MerchantFlow integration issues for Shopify, WooCommerce, Google services, Meta Ads, TikTok Ads, and Snapchat Ads connections.