[{"data":1,"prerenderedAt":660},["ShallowReactive",2],{"learn-/en/learn/marketing-attribution-en":3},{"id":4,"title":5,"body":6,"description":607,"extension":608,"meta":609,"navigation":653,"path":654,"seo":655,"stem":658,"__hash__":659},"content_en/5.learn/marketing-attribution.md","Marketing Attribution: The Complete Guide for E-Commerce Brands",{"type":7,"value":8,"toc":577},"minimark",[9,17,22,25,28,31,34,38,41,46,62,65,71,75,78,81,85,88,92,95,99,105,111,116,122,126,131,136,140,145,150,154,159,164,168,173,178,182,187,193,199,203,329,333,336,339,343,349,355,361,367,371,374,486,489,493,496,500,503,509,513,516,520,523,526,530,533,539,545,551,557,563],[10,11,12,16],"p",{},[13,14,15],"strong",{},"TL;DR"," — Marketing attribution is the process of determining which marketing touchpoints deserve credit for a conversion. It answers the most expensive question in digital marketing: \"Which ads are actually driving revenue, and which ones are just taking credit?\" Every euro you spend on advertising is allocated based on attribution data — if that data is wrong, your budget allocation is wrong. This guide explains every major attribution model, why platforms lie to you, and what you can do about it.",[18,19,21],"h2",{"id":20},"what-is-marketing-attribution","What Is Marketing Attribution?",[10,23,24],{},"Marketing attribution is the practice of assigning credit for a conversion — a purchase, a signup, a lead — to the marketing touchpoints that influenced it.",[10,26,27],{},"A customer rarely sees one ad and immediately buys. A typical e-commerce purchase involves 5–12 touchpoints over days or weeks: a TikTok video, a Google search, a retargeting ad on Instagram, an email reminder, then a direct visit to your site. Attribution answers the question: which of these touchpoints actually mattered?",[10,29,30],{},"The answer determines where you spend money. If your attribution model says Google Search drives 60% of your revenue, you invest heavily in search. If it says TikTok is just an assist channel, you might cut TikTok spend. Get the attribution wrong, and you systematically over-invest in some channels and under-invest in others — sometimes by tens of thousands of euros per month.",[10,32,33],{},"Attribution is not a reporting feature. It is the mechanism that controls your entire marketing budget.",[18,35,37],{"id":36},"how-marketing-attribution-works","How Marketing Attribution Works",[10,39,40],{},"At its core, attribution works by tracking a customer's journey from first touchpoint to final conversion, then applying a set of rules (or a model) to distribute credit across those touchpoints.",[42,43,45],"h3",{"id":44},"step-1-data-collection","Step 1: Data Collection",[10,47,48,49,53,54,57,58,61],{},"Every attribution system starts with data collection. When a visitor clicks an ad, a unique identifier is attached: Google adds a ",[50,51,52],"code",{},"gclid"," parameter, Meta adds an ",[50,55,56],{},"fbclid",", TikTok adds a ",[50,59,60],{},"ttclid",". These identifiers link the click to a specific campaign, ad set, and creative.",[10,63,64],{},"Cookies store these identifiers in the visitor's browser, along with timestamps and referral information. When the visitor eventually converts, the attribution system looks back at all stored touchpoints to reconstruct the journey.",[10,66,67,70],{},[13,68,69],{},"The problem:"," This data collection is increasingly incomplete. Ad blockers prevent tracking scripts from loading. Safari's ITP caps cookie lifetimes at 7 days. GDPR requires consent before tracking. The result: 30–40% of customer journeys are partially or fully invisible to your attribution system.",[42,72,74],{"id":73},"step-2-journey-reconstruction","Step 2: Journey Reconstruction",[10,76,77],{},"The attribution system stitches together all touchpoints for each converting customer: paid clicks (with click IDs), organic visits (with referral data), email clicks (with UTM parameters), and direct visits. This creates a timeline of the customer's journey from first interaction to purchase.",[10,79,80],{},"The completeness of this journey depends entirely on how much data your tracking captured. If a visitor's first click was on a TikTok ad but your TikTok pixel was blocked, that touchpoint is missing. The model will attribute the conversion as if TikTok never existed.",[42,82,84],{"id":83},"step-3-credit-assignment","Step 3: Credit Assignment",[10,86,87],{},"Once the journey is reconstructed, the attribution model applies its rules to assign credit. This is where different models diverge dramatically, and where the real money is made or lost.",[18,89,91],{"id":90},"the-six-major-attribution-models","The Six Major Attribution Models",[10,93,94],{},"Every attribution model makes a philosophical choice about what \"deserves credit.\" Understanding these choices is essential because each model produces radically different results from the same data.",[42,96,98],{"id":97},"_1-last-click-attribution","1. Last-Click Attribution",[10,100,101,104],{},[13,102,103],{},"How it works:"," 100% of the credit goes to the last touchpoint before the conversion.",[10,106,107,110],{},[13,108,109],{},"Example:"," A customer sees a TikTok ad (Day 1), clicks a Meta retargeting ad (Day 4), then Googles your brand name and clicks a branded search ad (Day 7) to purchase. Last-click gives 100% credit to Google Branded Search.",[10,112,113,115],{},[13,114,69],{}," Last-click systematically over-credits branded search and email while under-crediting awareness channels like TikTok, YouTube, and Meta prospecting. It's like crediting the door for selling the house because it's the last thing the buyer touched before entering.",[10,117,118,121],{},[13,119,120],{},"Who still uses it:"," Google Analytics 4 (as default), Shopify native reports, most ad platforms as a secondary model.",[42,123,125],{"id":124},"_2-first-click-attribution","2. First-Click Attribution",[10,127,128,130],{},[13,129,103],{}," 100% of the credit goes to the first touchpoint in the customer's journey.",[10,132,133,135],{},[13,134,69],{}," Ignores everything that happened between discovery and purchase. Useful for understanding acquisition sources but terrible for optimizing a multi-channel funnel.",[42,137,139],{"id":138},"_3-linear-attribution","3. Linear Attribution",[10,141,142,144],{},[13,143,103],{}," Credit is divided equally across all touchpoints. If there were 4 touchpoints, each gets 25%.",[10,146,147,149],{},[13,148,69],{}," Treats every touchpoint as equally important. A casual impression and a high-intent product page visit get the same credit. Simple but inaccurate.",[42,151,153],{"id":152},"_4-time-decay-attribution","4. Time-Decay Attribution",[10,155,156,158],{},[13,157,103],{}," Touchpoints closer to the conversion get more credit, with credit decreasing as you go further back in time.",[10,160,161,163],{},[13,162,69],{}," Still penalizes awareness channels. A TikTok video that sparked the entire journey gets minimal credit because it happened 2 weeks ago, even though without it, the customer would never have discovered your brand.",[42,165,167],{"id":166},"_5-data-driven-attribution-dda","5. Data-Driven Attribution (DDA)",[10,169,170,172],{},[13,171,103],{}," Uses machine learning to analyze converting vs. non-converting paths and assigns credit based on each touchpoint's statistical impact on conversion probability.",[10,174,175,177],{},[13,176,69],{}," A black box. Google's DDA (used in GA4 and Google Ads) only sees Google's own data. Meta's DDA only sees Meta's data. Each platform's DDA optimizes to make that platform look good. You cannot audit the model, verify the math, or understand why credit was assigned the way it was.",[42,179,181],{"id":180},"_6-shapley-value-attribution","6. Shapley Value Attribution",[10,183,184,186],{},[13,185,103],{}," Borrowed from cooperative game theory, Shapley Value calculates each channel's marginal contribution by examining every possible combination of channels. It asks: \"If we removed this channel from the mix, how much would total conversions decrease?\"",[10,188,189,192],{},[13,190,191],{},"Why it's different:"," It is the only attribution model that satisfies all four mathematical fairness axioms: efficiency (all credit is distributed), symmetry (equal contributors get equal credit), null player (channels that add nothing get nothing), and additivity (results are consistent across sub-games).",[10,194,195,198],{},[13,196,197],{},"The limitation:"," Computationally intensive with many channels. Requires clean, complete data to produce accurate results. If 35% of your data is missing due to ad blockers, Shapley Value will produce fair results on the incomplete data — which is still better than other models but not as good as fair results on complete data.",[42,200,202],{"id":201},"attribution-models-compared","Attribution Models Compared",[204,205,206,228],"table",{},[207,208,209],"thead",{},[210,211,212,216,219,222,225],"tr",{},[213,214,215],"th",{},"Model",[213,217,218],{},"Complexity",[213,220,221],{},"Fairness",[213,223,224],{},"Transparency",[213,226,227],{},"Best Use Case",[229,230,231,249,265,280,296,313],"tbody",{},[210,232,233,237,240,243,246],{},[234,235,236],"td",{},"Last-Click",[234,238,239],{},"Simple",[234,241,242],{},"Low — over-credits closing channels",[234,244,245],{},"Full — easy to understand",[234,247,248],{},"Quick reporting; baseline reference",[210,250,251,254,256,259,262],{},[234,252,253],{},"First-Click",[234,255,239],{},[234,257,258],{},"Low — over-credits discovery",[234,260,261],{},"Full",[234,263,264],{},"Understanding acquisition sources",[210,266,267,270,272,275,277],{},[234,268,269],{},"Linear",[234,271,239],{},[234,273,274],{},"Medium — equal but not accurate",[234,276,261],{},[234,278,279],{},"When you have no better option",[210,281,282,285,288,291,293],{},[234,283,284],{},"Time-Decay",[234,286,287],{},"Medium",[234,289,290],{},"Medium — recency bias",[234,292,261],{},[234,294,295],{},"Short purchase cycles (\u003C7 days)",[210,297,298,301,304,307,310],{},[234,299,300],{},"Data-Driven (platform)",[234,302,303],{},"High",[234,305,306],{},"Unknown — black box, platform-biased",[234,308,309],{},"None — not auditable",[234,311,312],{},"Within a single platform's ecosystem",[210,314,315,318,320,323,326],{},[234,316,317],{},"Shapley Value",[234,319,303],{},[234,321,322],{},"Highest — mathematically proven",[234,324,325],{},"Full — every calculation visible",[234,327,328],{},"Cross-platform budget decisions",[18,330,332],{"id":331},"why-every-ad-platform-lies-about-attribution","Why Every Ad Platform Lies About Attribution",[10,334,335],{},"This is the most important section in this article. Understanding this dynamic will save you more money than any other single insight in marketing.",[10,337,338],{},"Every ad platform is incentivized to over-count conversions. Google, Meta, TikTok, Pinterest, Snapchat — all of them. Their business model depends on you believing that your ad spend is generating returns. The more conversions they claim, the higher your apparent ROAS, and the more you spend.",[42,340,342],{"id":341},"how-platforms-over-count","How Platforms Over-Count",[10,344,345,348],{},[13,346,347],{},"Broad attribution windows."," Meta counts a conversion if someone clicked an ad within 7 days OR viewed an ad within 1 day, even if they never clicked. Google Ads uses up to 90-day click windows depending on your settings. These windows overlap massively across platforms.",[10,350,351,354],{},[13,352,353],{},"View-through attribution."," Meta's default includes 1-day view-through: if someone saw your ad (even for 1 second in a feed scroll) and bought within 24 hours, Meta claims the conversion. This inflates Meta's numbers significantly.",[10,356,357,360],{},[13,358,359],{},"Cross-device over-counting."," A customer sees a Meta ad on mobile, then purchases on desktop. Meta claims the conversion on mobile. Google also claims it because the customer searched on desktop. The same purchase is now counted twice.",[10,362,363,366],{},[13,364,365],{},"Self-attribution bias."," Each platform only sees its own touchpoints. Google doesn't know about the Meta ad that started the journey. Meta doesn't know about the Google search that closed it. Both claim full credit.",[42,368,370],{"id":369},"the-math-of-over-counting","The Math of Over-Counting",[10,372,373],{},"Here's what this looks like for a real store:",[204,375,376,389],{},[207,377,378],{},[210,379,380,383,386],{},[213,381,382],{},"Source",[213,384,385],{},"Reported Conversions",[213,387,388],{},"Revenue Claimed",[229,390,391,402,413,424,435,452,469],{},[210,392,393,396,399],{},[234,394,395],{},"Google Ads",[234,397,398],{},"420",[234,400,401],{},"€42,000",[210,403,404,407,410],{},[234,405,406],{},"Meta Ads",[234,408,409],{},"380",[234,411,412],{},"€38,000",[210,414,415,418,421],{},[234,416,417],{},"TikTok Ads",[234,419,420],{},"85",[234,422,423],{},"€8,500",[210,425,426,429,432],{},[234,427,428],{},"Klaviyo (email)",[234,430,431],{},"210",[234,433,434],{},"€21,000",[210,436,437,442,447],{},[234,438,439],{},[13,440,441],{},"Platform Total",[234,443,444],{},[13,445,446],{},"1,095",[234,448,449],{},[13,450,451],{},"€109,500",[210,453,454,459,464],{},[234,455,456],{},[13,457,458],{},"Actual Shopify Orders",[234,460,461],{},[13,462,463],{},"680",[234,465,466],{},[13,467,468],{},"€68,000",[210,470,471,476,481],{},[234,472,473],{},[13,474,475],{},"Over-count ratio",[234,477,478],{},[13,479,480],{},"1.61x",[234,482,483],{},[13,484,485],{},"€41,500 phantom revenue",[10,487,488],{},"The platforms collectively claim 61% more conversions than actually occurred. If you make budget decisions based on these numbers, you are allocating spend based on a fantasy. The channels that over-count the most aggressively get rewarded with more budget, creating a vicious cycle.",[18,490,492],{"id":491},"three-things-that-break-your-attribution-before-the-model-even-runs","Three Things That Break Your Attribution (Before the Model Even Runs)",[10,494,495],{},"Most attribution discussions focus on which model to use. But the model is only as good as the data it receives. Three structural problems corrupt your data before any model can process it.",[42,497,499],{"id":498},"_1-data-loss-from-ad-blockers-and-privacy-restrictions","1. Data Loss From Ad Blockers and Privacy Restrictions",[10,501,502],{},"Ad blockers prevent tracking scripts from loading for 25–40% of visitors. Safari's ITP caps cookie lifetimes at 7 days, meaning any customer journey longer than a week loses its earlier touchpoints. GDPR consent requirements in Europe add another layer of data loss for visitors who decline tracking.",[10,504,505,508],{},[13,506,507],{},"Impact on attribution:"," The model attributes conversions based only on the touchpoints it can see. If the first three touchpoints are invisible, the model credits the fourth touchpoint (which happened to be on a non-blocked browser) with all the credit. This systematically biases attribution toward channels that reach non-ad-blocking audiences.",[42,510,512],{"id":511},"_2-cross-device-journey-fragmentation","2. Cross-Device Journey Fragmentation",[10,514,515],{},"A customer discovers your brand on their phone (Meta ad), researches on their tablet (organic search), and purchases on their laptop (direct visit). Without cross-device identity resolution, this looks like three separate visitors, not one customer journey. The purchase is attributed to \"direct\" (the laptop visit) and the Meta ad that started it all gets zero credit.",[42,517,519],{"id":518},"_3-missing-conversion-feedback","3. Missing Conversion Feedback",[10,521,522],{},"Even when you track a conversion perfectly, that data often doesn't reach your ad platforms. If a customer used an ad blocker when they first clicked your Google ad but later returned directly (without the blocker) to purchase, Google Ads never receives the conversion signal. Google's algorithm thinks the original ad didn't work, and deprioritizes similar audiences and placements.",[10,524,525],{},"This creates a negative feedback loop: missing data → algorithm thinks ads don't work → algorithm reduces reach → fewer conversions → even less data. The algorithm optimizes itself into a corner based on incomplete information.",[18,527,529],{"id":528},"how-to-fix-attribution-the-modern-stack","How to Fix Attribution: The Modern Stack",[10,531,532],{},"Fixing attribution requires solving two problems simultaneously: (1) capturing more complete data, and (2) applying a fair model to that data. Here is the architecture that works in 2026.",[10,534,535,538],{},[13,536,537],{},"1. Deploy server-side first-party tracking."," Route all data collection through your own domain to recover the 30–40% of visitors lost to ad blockers and browser restrictions. This is the single highest-impact step.",[10,540,541,544],{},[13,542,543],{},"2. Reconcile against your source of truth."," Use Shopify orders (or your CRM) as the definitive record. One order = one conversion. Deduplicate all platform claims against this ground truth.",[10,546,547,550],{},[13,548,549],{},"3. Apply Shapley Value attribution."," Distribute credit across the full, deduplicated customer journey using a model that is mathematically fair and transparent.",[10,552,553,556],{},[13,554,555],{},"4. Feed recovered conversions back to ad platforms."," Send complete conversion data to Google (Enhanced Conversions), Meta (CAPI), and TikTok (Events API) so their algorithms optimize on reality.",[10,558,559,562],{},[13,560,561],{},"5. Monitor continuously."," Set up pixel health monitoring and consent impact measurement to ensure your data remains complete over time.",[10,564,565,566,571,572,576],{},"This is the exact architecture TrustData provides: ",[567,568,570],"a",{"href":569},"/learn/first-party-tracking","server-side first-party tracking",", Shapley Value attribution, platform signal recovery, and continuous ",[567,573,575],{"href":574},"/learn/marketing-observability","observability"," — in a single platform.",{"title":578,"searchDepth":579,"depth":579,"links":580},"",2,[581,582,588,597,601,606],{"id":20,"depth":579,"text":21},{"id":36,"depth":579,"text":37,"children":583},[584,586,587],{"id":44,"depth":585,"text":45},3,{"id":73,"depth":585,"text":74},{"id":83,"depth":585,"text":84},{"id":90,"depth":579,"text":91,"children":589},[590,591,592,593,594,595,596],{"id":97,"depth":585,"text":98},{"id":124,"depth":585,"text":125},{"id":138,"depth":585,"text":139},{"id":152,"depth":585,"text":153},{"id":166,"depth":585,"text":167},{"id":180,"depth":585,"text":181},{"id":201,"depth":585,"text":202},{"id":331,"depth":579,"text":332,"children":598},[599,600],{"id":341,"depth":585,"text":342},{"id":369,"depth":585,"text":370},{"id":491,"depth":579,"text":492,"children":602},[603,604,605],{"id":498,"depth":585,"text":499},{"id":511,"depth":585,"text":512},{"id":518,"depth":585,"text":519},{"id":528,"depth":579,"text":529},"Marketing attribution determines which ads actually drive revenue — and which ones just take credit. This guide covers every major attribution model, why ad platforms systematically over-count conversions, and how to fix it.","md",{"publishedAt":610,"updatedAt":610,"badge":611,"type":613,"cta":614,"faq":619,"related":638},"2026-02-25",{"label":612},"Attribution","cornerstone",{"title":615,"description":616,"label":617,"url":618},"See Accurate Attribution on Your Own Data","TrustData combines server-side first-party tracking with Shapley Value attribution to give you a single, deduplicated view of which channels actually drive revenue.","Get a free demo","/demo",[620,623,626,629,632,635],{"question":621,"answer":622},"What is the best attribution model for e-commerce?","Shapley Value is the most accurate model available today because it is the only one that is mathematically proven to be fair. It distributes credit based on each channel's measured marginal contribution across all possible combinations. For most e-commerce brands, it provides the most reliable basis for budget allocation decisions.",{"question":624,"answer":625},"Is Google Analytics 4's attribution reliable?","GA4's data-driven attribution model is better than last-click, but it has two fundamental limitations: (1) it only sees data from visitors who aren't blocked by ad blockers (missing 25–40%), and (2) it is a Google product optimizing within Google's ecosystem, which creates inherent bias toward Google channels. Use GA4 as one input, not as your source of truth.",{"question":627,"answer":628},"How is attribution different from media mix modeling (MMM)?","Attribution is bottom-up — it tracks individual customer journeys and assigns credit at the click level. MMM is top-down — it uses statistical regression on aggregate spend and revenue data to estimate each channel's impact. Attribution is more granular and real-time; MMM captures offline channels and long-term effects. The most sophisticated teams use both — attribution for day-to-day optimization and MMM for quarterly budget planning.",{"question":630,"answer":631},"Why does my GA4 data not match my Shopify data?","Because GA4 only records visitors whose browsers successfully loaded the GA4 script and set cookies. Ad blockers, Safari ITP, consent refusals, and JavaScript errors all prevent this. Shopify records every order regardless of tracking. The gap between the two is your invisible traffic — typically 25–40% of total activity.",{"question":633,"answer":634},"Can I run attribution without server-side tracking?","You can, but your results will be based on incomplete data. Any model — even Shapley Value — can only distribute credit among the touchpoints it knows about. If 35% of touchpoints are invisible, the model will produce fair results on a distorted picture. Server-side tracking closes this gap and gives every model better data to work with.",{"question":636,"answer":637},"How much does bad attribution actually cost?","For a brand spending €50K/month on ads: if attribution is 30% wrong, you are misallocating approximately €15K/month. Over a year, that is €180K in suboptimal spend — not lost, but directed at the wrong channels. Fixing attribution typically improves effective CPA by 15–30%, which at €50K/month represents €7,500–€15,000/month in real savings.",[639,643,646,649],{"title":640,"url":641,"description":642},"Why Is GA4 Missing So Much Traffic?","/learn/ga4-missing-traffic","The four causes of missing traffic in GA4 and how to recover your invisible 30–40%.",{"title":644,"url":569,"description":645},"What Is First-Party Tracking?","How first-party data collection works and why cookies alone don't solve the problem.",{"title":647,"url":574,"description":648},"What Is Marketing Observability?","How to build full visibility into your marketing data pipeline.",{"title":650,"url":651,"description":652},"How to Build a Unified Marketing Data Asset","/guides/unified-marketing-data","Step-by-step guide to recovering missing conversions and closing the loop with your ad platforms.",true,"/learn/marketing-attribution",{"title":656,"description":657},"Marketing Attribution Guide for E-Commerce (2026) — Models, Pitfalls, Fixes","Last-click, Shapley Value, data-driven — which attribution model is actually accurate? Learn why Google and Meta over-count conversions by 60%+ and how to fix your data.","5.learn/marketing-attribution","7eLrIpQ-I5oK5dPNcB_dWHf0A7ECVfU7QcWiw0m4Tcs",1773825055509]