Skip to content
EARNST.
Tracking & Compliance

The Hidden ROI: How Tracking Infrastructure Lifts Your Google Ads ROAS by 20–40%

Tracking infrastructure is not an IT expense — it is the most profitable investment in your ad performance. Four layers, one calculation.

EARNST · · 20 min read

Key Takeaways

  • Optimising on 60% of conversion data means wasting 40% of your ad budget on decisions based on gaps
  • Four layers determine your data quality: Consent, Server-Side Tracking, Enhanced Conversions, Engagement Scoring
  • Conservative estimate: 2 weeks setup + 50 EUR/month delivers 20–40% more ROAS at the same ad spend
  • The order matters: Consent rate first, then SST, then Enhanced Conversions, then Engagement Scoring

You have optimised your Google Ads campaigns. Keywords, bidding strategies, assets, landing pages. But the biggest lever is not in the campaign — it is underneath. In the data your campaign optimises on.

Optimising on 60% of conversion data means wasting 40% of your ad budget on decisions based on gaps. Smart Bidding can only work as well as the data it receives. And most shops deliver Google less than two thirds of their actual conversions.

This article shows how each layer of tracking infrastructure translates directly into ROAS points — and where the break-even lies.

The ROAS equation — What data quality has to do with ad returns

The chain is simple: Consent rate determines tracking coverage. Tracking coverage determines conversion attribution. Conversion attribution determines Smart Bidding quality. Smart Bidding quality determines ROAS. Every weak link in this chain costs real money.

Model calculation at three ad spend levels

The following numbers are conservative estimates and illustrative. Actual impact depends on industry, audience, and existing setup.

ScenarioAd SpendData LossEffective Data BasisEstimated ROAS Loss
Small5,000 EUR/month35%3,250 EUR15–25%
Medium10,000 EUR/month35%6,500 EUR20–35%
Large25,000 EUR/month35%16,250 EUR25–40%

The loss grows disproportionately with the budget. Why: Smart Bidding has more degrees of freedom at higher spend. More keywords, more audiences, more devices, more times of day. Each degree of freedom needs data for optimisation. The more degrees of freedom, the more quality suffers from data gaps.

The 4 data leak layers

  1. Consent gap — 30–45% opt-out with standard CMP. Every visitor who declines is invisible
  2. Ad blocker gap — 15–30% of users block tracking completely
  3. Cookie gap — Safari ITP shortens cookies to 7 days. Returning users become "new visitors"
  4. Signal gap — missing engagement data. Smart Bidding guesses instead of optimising

Each layer can be addressed. The following sections show how — with concrete checklists for marketers and technicians.

Layer 1: Consent — From 55% to 85%

The consent rate is the first multiplier in the chain. Everything that happens after the banner is based on the visitors who accepted. 55% consent means: 45% of your visitors do not exist in your data.

Consent Mode v2 catches part of this: with correct implementation, GA4 recovers approximately 70% of data from users who decline, through Behavioural Modelling. But this only works when consent defaults are set before the GTM script. Many implementations load the defaults afterwards — and lose the recovery entirely.

Quick-win checklist for marketers

  • [ ] Measure current consent rate: GA4 → Admin → Data Streams → Consent Mode Overview
  • [ ] Check banner wording: Replace "Accept" with "Continue to shop"
  • [ ] Check button hierarchy: Is Accept visually dominant?
  • [ ] Check timing: Does the banner appear too early? Optimal is 500–800ms delay
  • [ ] Reject option: Visible but not prominent? Text link instead of button
  • [ ] Consent Mode v2 active? GA4 → Admin → Data Streams → Web → Consent Mode

Technician checklist

  • [ ] Consent defaults load before the GTM script (very first script block in <head>)
  • [ ] wait_for_update: 500 set (GTM waits 500ms for consent update)
  • [ ] url_passthrough: true active (click IDs are passed through)
  • [ ] ads_data_redaction: true active (PII is redacted when denied)
  • [ ] Banner dispatches consent_update custom event for GTM trigger
  • [ ] Shopify Privacy API correctly connected (setTrackingConsent)

Why a custom banner pays off and how to go from 55% to 85% is detailed in the knowledge article on cookie consent banners.

Layer 2: Server-Side Tracking — Recovering 15–30% of users

Investment case

What SST costs: hosting from 20–50 EUR/month, setup one-time. What SST delivers: 15–30% more tracked users (ad blockers are bypassed), 13-month cookie lifetime instead of 7 days (Safari ITP is neutralised). Break-even: from approximately 3,000 EUR monthly ad spend, SST pays for itself in under 2 months.

Additionally: Meta Conversions API (CAPI) via the SST container delivers 10–15% more conversion attribution for Meta campaigns. Server-side events are not filtered by ad blockers or browser restrictions.

Architecture guide

The GTM server container runs on its own subdomain (e.g. analytics.yourdomain.com). DNS points via CNAME to the server. The data flow: GTM client-side sends to the SST container on your domain. The SST container validates, anonymises, and forwards to GA4, Google Ads, and Meta CAPI. To the browser, the request looks like a normal first-party call — no ad blocker filters it.

The fallback is critical: if SST is unreachable (maintenance, DDoS, configuration error), client-side tracking must automatically fall back to standard Google endpoints. An onerror handler in the GTM loader loads the standard script from Google CDN on failure.

SST readiness checklist

  • [ ] GTM client-side container present and correctly configured
  • [ ] Hosting environment ready (own infrastructure or cloud)
  • [ ] DNS access to a subdomain (e.g. tracking.yourshop.com)
  • [ ] SSL certificate for the subdomain
  • [ ] GA4 server-side tag configured
  • [ ] Google Ads Conversion Linker tag in SST
  • [ ] Meta Conversions API tag in SST (with Event Match Quality > 6)
  • [ ] Effective Client-ID variable in SST (fallback to own cookie)
  • [ ] Purchase event tested: SST receives and forwards correctly
  • [ ] Fallback tested: block SST domain → standard GTM still works

Details on the architecture and why own infrastructure is the better choice over shared hosting are in the knowledge article on e-commerce tracking.

Layer 3: Enhanced Conversions — Better signals for Smart Bidding

What Enhanced Conversions mean for the marketer

Smart Bidding receives hashed user data (email, phone, name, address) in addition to the click ID. Google can attribute conversions even when the cookie is missing or the user switches devices. Typical uplift: 5–15% more attributed conversions at the same traffic. Better attribution means better bid optimisation, and that means lower CPA.

The same principle applies to Meta: Advanced Matching with the same hashed fields improves Event Match Quality and thus campaign optimisation.

Implementation guide

  • [ ] On the thank-you page: make user data from the order object available
  • [ ] SHA256 hashing server-side (in the template, not in JavaScript) — no PII in the browser
  • [ ] Required fields: email, phone, first name, last name, city, postal code
  • [ ] Google Ads tag in GTM: Enhanced Conversions activated, user data variable linked
  • [ ] In SST: Enhanced Conversions tag with server-side hashed data
  • [ ] Test: Google Ads → Conversions → Diagnostics → Enhanced Conversions Status
  • [ ] Meta in parallel: Advanced Matching with the same hashed fields

Quality checklist

  • [ ] Email is lowercased and trimmed before hashing
  • [ ] Phone: digits only, with country code, no spaces
  • [ ] Name: lowercase, trimmed, no titles (Dr., Prof.)
  • [ ] Hashing: SHA256, not MD5 (outdated and insecure)
  • [ ] Purchase event and user data in the same dataLayer push (not separate)
  • [ ] first_time_accessed check: data is sent only once (no duplicate on reload)

Layer 4: Engagement Scoring — Feeding Smart Bidding with purchase intent

Why engagement data increases ROAS

97% of your visitors do not buy. Smart Bidding treats them all equally — it lacks the signal for who is "hot." The engagement score gives the algorithm an intermediate signal between "was there" and "bought."

A visitor with score > 60 who does not buy is a hot lead. Higher retargeting bids for this segment lead to higher conversion rate and lower CPA. Visitors with score < 20 are casual browsers — lower bids or exclusion saves budget for the right segments.

Audience strategy for marketers

AudienceScoreBehaviourStrategy
Hot Leads> 60High interaction, no purchaseRetargeting with increased bid
Warm Prospects30–60Moderate interactionStandard retargeting
Casual Browsers< 20Minimal interactionLower bid or exclusion
Product ComparersAny5+ products viewed, no purchaseDynamic retargeting with bestseller
Returning ViewersAnySame product 2+ timesUrgency messaging
Cart Abandoners (High)> 40Cart open, no checkoutHighest bid, time-limited

For each audience: create as a GA4 audience, adjust membership duration to the purchase cycle, import into Google Ads, and set bidding adjustment.

Implementation tutorial

  1. Scroll Depth with IntersectionObserver — four sentinels at 25%, 50%, 75%, 100%
  2. Active Time with visibilitychange API — five milestones (30s, 60s, 120s, 180s, 300s)
  3. Product Image Interaction — Swiper slideChange, unique count per session
  4. Accordion/Tab Opens — delegated click listener, counts unique opens
  5. Score Calculation — weighted sum of signals, debounced push to dataLayer
  6. GA4 Custom Dimension + Custom Metric registration
  7. Audiences in GA4 created with score ranges
  8. Audiences in Google Ads imported and bidding adjusted

Validation checklist

  • [ ] Score is pushed as custom event engagement_score to dataLayer
  • [ ] Custom dimension in GA4 created (event-scoped)
  • [ ] Custom metric in GA4 created (for average score)
  • [ ] Score distributes sensibly (not 90% on 0 or 100)
  • [ ] Scroll sentinels reposition on resize
  • [ ] Time pauses on tab switch (visibilitychange)
  • [ ] Score is debounced (maximum one push per 5 seconds)
  • [ ] Audiences in GA4 created and populating (wait 24–48 hours)

The total calculation — What each layer delivers individually and combined

All numbers are conservative estimates based on typical e-commerce scenarios. Actual impact varies by industry and starting position.

LayerInvestmentData GainROAS Impact
Custom CMP4–5 days one-time+25–30% consent+8–12%
Server-Side Trackingfrom 20 EUR/month + setup+15–30% coverage+5–10%
Enhanced Conversions1–2 days setup+5–15% attribution+3–8%
Engagement Scoring2–3 days setupQualitative improvement+5–10%
Totalapprox. 2 weeks + 50 EUR/month+45–75% data basis+20–40%

The effects partly multiply: more consent times more SST coverage times better attribution yields a disproportionate total effect.

Break-even calculation

At 10,000 EUR ad spend per month and 25% ROAS improvement, that is 2,500 EUR more measurable return — every month. Setup costs pay for themselves in 2–4 weeks. After that, every month is pure gain at the same ad budget.

The sequence — What you should do first

Prioritisation guide

  1. Immediately (day 1): Measure consent rate. If below 70%: banner optimisation has highest priority
  2. Week 1–2: Implement Consent Mode v2 correctly (possible even without custom CMP)
  3. Week 2–3: Activate Enhanced Conversions (quick win, low effort)
  4. Week 3–5: Set up SST (biggest technical effort, highest long-term impact)
  5. Week 5–7: Implement engagement scoring and build audiences
  6. From week 8: Monitoring, A/B testing of consent rate, audience performance optimisation

Dependencies

Enhanced Conversions works without SST — but better with it, because hashed data is processed more cleanly server-side. Engagement scoring works independently of everything else. SST needs a clean GTM setup as a foundation. Custom CMP is independent but should come before SST — more consent means more data for the SST container.

Conclusion

Tracking infrastructure is not an IT expense. It is the most profitable investment in your marketing stack. Two weeks of setup plus 50 EUR per month delivers 20–40% more ROAS at the same ad spend.

This is not a promise based on a single case — it is the logical consequence of more data, better attribution, and more precise optimisation. The chain is clear: consent rate up, tracking coverage up, attribution complete, Smart Bidding optimal. Each layer individually delivers measurably more. Together, the effects multiply.

You now know what to do and in what order. If you want to check the current state of your setup, start with our 15-point tracking audit. If you do not want to do it yourself — we do it for you.

Our service

Tracking & Data Architecture

20–40% of your conversion data is missing. Server-side tracking, Consent Mode v2, 18+ events, and engagement scoring bring it back.

Learn more