Every marketing team eventually hits the same wall: Google Ads says one number, Meta says another, GA4 says a third, and finance trusts none of them. Attribution is the attempt to answer a deceptively simple question, “what caused this sale?”, using imperfect data. This guide explains how attribution works in GA4 today, why the platforms disagree, how to make your tracking more complete with consent mode and server-side tagging, and when to move beyond attribution to incrementality testing and marketing mix modeling.
Key takeaways
- Attribution assigns credit to observed touchpoints; it does not prove causation.
- GA4 now offers data-driven attribution and last-click variants. First-click, linear, time-decay and position-based models were retired in 2023.
- Platforms and analytics tools will never match exactly. Understand why they differ, then pick a source of truth for each decision.
- Clean UTMs, Consent Mode v2, server-side tagging and enhanced or offline conversions improve the data every model depends on.
- Use incrementality tests and marketing mix modeling to validate what attribution suggests, especially for upper-funnel spend.
What marketing attribution is, and what it is not
Marketing attribution is the process of assigning credit for a conversion to the marketing touchpoints that preceded it. A customer might see a TikTok video, click a Google search ad a week later, open a newsletter and finally buy after typing your URL directly. An attribution model decides how much of that sale each touchpoint “earns.”
Attribution is useful for comparing campaigns, keywords and creatives within a consistent framework, and for spotting which channels tend to start journeys versus close them. But it has hard limits:
- It only sees touchpoints that were tracked. Word of mouth, podcasts, offline conversations and many ad impressions are invisible.
- It measures correlation along a path, not causation. A retargeting ad shown to someone who was going to buy anyway will still receive credit.
- Privacy controls, consent choices and browser restrictions mean some journeys are broken or missing entirely.
Keep those limits in mind, and attribution becomes a helpful tool rather than a source of false certainty.
Attribution models in GA4: data-driven vs. last click
In 2023 Google removed the rules-based first-click, linear, time-decay and position-based models from both GA4 and Google Ads. What remains in GA4:
- Data-driven attribution (default). Uses your account’s conversion data and machine learning to estimate how much each touchpoint contributed, by comparing paths that converted with paths that did not. Credit is distributed fractionally across channels.
- Paid and organic last click. Gives all credit to the last channel the user clicked through from before converting, ignoring direct traffic unless there is no other touchpoint.
- Google paid channels last click. Gives all credit to the last Google Ads click in the path, if there is one.
You can change the reporting model and lookback windows in the GA4 admin attribution settings. Changes apply to reports retroactively, so document them so colleagues do not see numbers shift unexpectedly. See Google’s GA4 attribution settings documentation for current options.
Which model should you use?
| Model | Strengths | Weaknesses | Best used for |
|---|---|---|---|
| Data-driven | Credits assisting channels, adapts to your data, aligns with how Google Ads Smart Bidding learns | Opaque, can shift as data changes, still limited to observed touchpoints | Default reporting and bid optimization for most accounts |
| Paid and organic last click | Simple, stable and easy to explain | Undervalues awareness and consideration channels | Sanity checks and comparing with historical reports |
| Google paid channels last click | Isolates Google Ads’ closing role | Ignores all non-Google touchpoints | Narrow Google Ads analysis only |
The “Advertising” section of GA4 also includes conversion path reports, which show the sequence of channels before conversion. These are useful for seeing which channels typically appear early, mid and late in journeys.
Why ad platforms and analytics never agree
Discrepancies are not necessarily errors. They come from structural differences in how each system counts.
- Scope. Each ad platform sees only its own ads. Meta and Google can both claim the same purchase. GA4 de-duplicates across channels but cannot see impressions on other platforms.
- View-through conversions. Ad platforms may count conversions after someone saw but did not click an ad. GA4 reports are built on sessions and clicks.
- Attribution windows. Meta, TikTok, LinkedIn and Google Ads each have their own default click and view windows, which you can often adjust. GA4 has its own lookback settings.
- Reporting dates. Some platforms record conversions against the date of the ad interaction; GA4 records them on the date the event occurred. A campaign’s numbers can look different simply because of timing.
- Modeling. Platforms and GA4 use statistical modeling to fill gaps from consent choices and browser restrictions, each in their own way.
- Identity. Logged-in platforms can connect activity across devices in ways a website tag cannot.
Pro tip: Decide which source answers which question. A common approach: use your back-end order or CRM data as the source of truth for total revenue and leads, GA4 for cross-channel comparison, and each platform’s own reporting for in-platform optimization. Then use incrementality tests to settle the arguments the numbers cannot.
UTM governance: the unglamorous foundation
Inconsistent campaign tagging quietly breaks attribution. If one person tags traffic as “Facebook,” another as “facebook” and a third as “fb,” GA4 treats them as three sources, and some may land in “Unassigned” rather than the correct channel.
A UTM governance checklist
- Write a naming convention for utm_source, utm_medium, utm_campaign, utm_content and utm_term, all lowercase, with no spaces.
- Align mediums with GA4’s default channel groups. For example, use values such as “cpc” or “paid_social” consistently so traffic falls into Paid Search or Paid Social correctly. Check Google’s channel group definitions.
- Use a shared builder or template rather than hand-typing URLs.
- Keep Google Ads auto-tagging on. The click identifier (gclid) gives GA4 richer campaign data than manual UTMs, and is required for some integrations.
- Use dynamic parameters on Meta, TikTok and LinkedIn so campaign and ad names populate automatically.
- Never tag internal links with UTMs; doing so overwrites the original source and starts a new session attribution.
- Audit monthly. Review the source/medium report for new, misspelled or unassigned values and fix them at the source.
Consent Mode v2 and privacy compliance
Google’s consent mode lets your tags adjust their behavior based on a visitor’s consent choices. Version 2 added two parameters, ad_user_data and ad_personalization, alongside the existing ad_storage and analytics_storage. Since March 2024, Google has required advertisers who serve users in the European Economic Area to send these consent signals to keep using audience and measurement features for that traffic.
There are two implementation approaches:
- Basic mode: Google tags do not load until the user consents. No data is sent for users who decline.
- Advanced mode: tags load with default denied states and send cookieless pings when consent is declined, which lets Google model conversions and behavior more fully.
For US businesses, consent mode is also a practical way to respect opt-outs under state privacy laws such as the California Consumer Privacy Act. Use a certified consent management platform, test that signals update correctly when users change choices, and get legal advice on what your business requires. The California Attorney General’s CCPA resource and Google’s consent mode developer guide are good starting points.
Watch out: Server-side tracking is not a way around consent. Data sent from your server must respect the same consent choices and privacy obligations as data sent from the browser.
Server-side tagging, Conversions API and enhanced conversions
Browser-based tags lose data to ad blockers, browser tracking protections, short cookie lifetimes and network issues. Server-side approaches send conversion data from your infrastructure directly to analytics and ad platforms.
The main options
- Server-side Google Tag Manager. A tagging server you host receives events from your site and forwards them to GA4, Google Ads, Meta and others. It gives you control over what data leaves your domain and can improve page performance by moving scripts off the browser.
- Google tag gateway. Introduced in 2025, it lets you serve Google tags through your own domain using a CDN or load balancer, a lighter-weight option than a full tagging server.
- Meta Conversions API. Sends web, app and offline events from your server to Meta. Run it alongside the Meta Pixel and use a shared event ID so Meta can deduplicate events reported by both.
- TikTok Events API and LinkedIn Conversions API. The equivalents for those platforms.
- Enhanced conversions (Google Ads). Sends hashed first-party data, such as an email address captured at checkout or in a lead form, with the conversion tag so Google can match conversions to signed-in users more accurately.
Offline conversions
For lead generation, the most valuable event is usually not the form submit but what happens later: a qualified lead, a booked appointment, a closed deal. Importing these back into ad platforms lets their algorithms optimize for real revenue.
- Capture click identifiers (such as gclid) and consented contact details with each lead.
- Store them in your CRM against the lead record.
- When the lead progresses, send the stage and value back through Google Ads offline conversion import or enhanced conversions for leads, and through Meta’s Conversions API.
- Optimize bidding toward qualified or closed stages once volume is sufficient.
Our Analytics & Tracking Setup service implements GA4, server-side tagging, consent mode and offline conversion pipelines end to end.
Beyond attribution: incrementality testing and MMM
Attribution tells you where conversions were observed. To learn what your marketing actually caused, you need methods built for causation.
Incrementality tests
- Platform lift studies. Meta and Google offer conversion lift studies that randomly hold out part of an audience from seeing ads and compare outcomes.
- Geo experiments. Turn spend on, off or up in matched regions and compare sales against control regions. These work across platforms and for offline sales.
- Holdout groups. Exclude a random share of customers from email or remarketing to measure the true lift those programs deliver.
Marketing mix modeling (MMM)
MMM uses statistical models on aggregated historical data, such as weekly spend by channel, sales, seasonality, pricing and promotions, to estimate each channel’s contribution and diminishing returns. Because it does not rely on user-level tracking, it is resilient to privacy changes and can include offline channels. Two widely used open-source tools are:
- Google Meridian, a Bayesian MMM framework Google released as open source, which can incorporate prior knowledge from experiments.
- Meta Robyn, an open-source MMM package from Meta that automates much of the modeling and budget allocation work.
MMM needs enough history and spend variation to produce reliable estimates, and its outputs should be calibrated with lift tests where possible.
Choosing the right method
| Method | Answers | Speed | Main limitation |
|---|---|---|---|
| Platform attribution | Which ads and audiences convert within this platform | Real time | Self-credited, overlaps with other platforms |
| GA4 attribution | How channels compare on observed paths | Daily | Misses impressions and untracked journeys |
| Incrementality tests | How many conversions a channel truly caused | Weeks per test | Requires planning and enough volume |
| Marketing mix modeling | How to allocate budget across all channels | Periodic, often quarterly | Needs history and expertise, less granular |
A practical measurement roadmap
- Audit the basics. Confirm GA4 key events, Google Ads conversions and platform pixels fire once, with correct values, and reconcile them with back-end data.
- Clean up UTMs and channel groupings.
- Implement Consent Mode v2 with a proper consent platform.
- Add server-side signals: Conversions API, enhanced conversions and offline conversion imports.
- Set your reporting rules: which source answers which question, and which attribution model each team uses.
- Run your first incrementality test on the channel where you are least sure of the value, often branded search, retargeting or upper-funnel video.
- Consider MMM once you have sustained multi-channel spend and enough history.
Better measurement changes budget decisions. Our guides to ROAS, ROI and CAC and full-funnel strategy show how to put the numbers to work.
Get numbers you can actually trust
Alluka LLC audits your tracking, implements GA4, consent mode and server-side conversions, and designs incrementality tests that show what your marketing really drives. Let’s talk about your measurement setup.
No attribution model will ever be perfectly right. The goal is a measurement system that is consistent, privacy-respecting and honest about its blind spots, and that combines attribution with experiments so your budget follows real impact rather than whoever claims the most credit.