Laptop showing a GA4 reports snapshot, the reporting end of a server-side tracking setup
Server-side GTM and Google Tag Gateway

Server-side tracking for GA4, Google Ads and Meta, built in your own accounts

Server-side tracking keeps more conversions out of reach of ad blockers and Safari's cookie limits, so more CRM leads keep their source. We build server-side GTM or Google Tag Gateway; consent still decides what fires.

Free GA4 audit42 checks · report by email
Or book a 30-minute call

No login and no account access. We email you the report and may follow up about fixing what we find. Privacy policy.

Server-side GTM or Tag Gateway runs as an Advanced Tracking Build of 5 to 8 weeks. Plan your server-side setup

01Estimate

Estimate how many form leads reach your CRM without a GA4 client ID

A lead with no GA4 client ID cannot be joined to its session, and Google Ads has no click to credit. Across Waftr client audits, 28% to 41% of CRM form leads arrived that way. Pick your volume to see what that means.

Signal loss estimatorBenchmark: CRM client ID reconciliation across Waftr client audits

1Form leads reaching your CRM each month

2Show the result

How the range was measured

Each form submit carried the visitor's GA4 client ID into the CRM in a hidden field. We counted the CRM records where that field was empty. The delivery pipeline was tested first, which means an empty field marks a browser that never wrote the ID.

Leads arriving with no GA4 client ID

280 to 410of 1,000 form leads a month

All causes28-41%280 to 410
Ad blockersabout 25-30%250 to 300
Reject Allup to about 40%up to 400
A server can reach this part

Ad blocker share: 250 to 300

Blockers stop requests to Google and Meta domains. First-party serving through Tag Gateway or server-side GTM can reach them; read this number as its ceiling.

No server should touch this part

Reject All share: up to 400

These visitors refused tracking, and no setup overrides that. Advanced Consent Mode v2 sends cookieless pings that make GA4 and Google Ads modeling eligible.

Your own share can fall outside the range. Audience, browser mix and banner design all move it.

What the estimate assumes

  • The two causes overlap. One visitor can run an ad blocker and click Reject All, which is why the parts do not add up to the total.
  • It shows exposure only; no recovery figure for Google Tag Gateway has been confirmed.

Measure your own share in four steps

  1. 1

    Read the client ID. In Google Tag Manager, a first-party cookie variable reads _ga. The client ID is the last two number blocks of its value.

  2. 2

    Write it into each lead form. Add a hidden field filled from that variable and map it to a property in your CRM.

  3. 3

    Prove the pipe. Submit test leads with consent accepted and confirm the ID lands in the CRM every time.

  4. 4

    Count after a few weeks. Divide the leads with an empty field by all leads from those forms. That is your share.

The Advanced Tracking Audit runs this reconciliation for you, then splits the result by cause.

02Decide

Google Tag Gateway, server-side GTM or no server yet: a decision tree

Three questions settle Google Tag Gateway vs server-side GTM, and sometimes the answer is to stay client-side.

  1. Q1

    Do your GA4 and Google Ads conversion tags fire correctly today?

    Check in GTM Preview: submit your own form with consent accepted. The conversion tag should fire once, on success. The free GA4 audit tool shows whether tags load from your domain, and a GTM audit tests the container itself.

    No Stay client-side and fix the web containerYes Go to Q2

  2. Q2

    Are returning Safari visitors landing in Direct?

    In GA4, compare the Direct share of returning users on Safari with the same share on Chrome. A clearly higher Safari figure points to Intelligent Tracking Prevention cutting cookies short.

    Yes Server-side GTM with server-set cookiesNo Go to Q3

  3. Q3

    Do you need conversions outside Google: Meta, LinkedIn or a raw copy in BigQuery?

    Google Tag Gateway forwards Google's own tags and nothing else. Any other destination needs a tagging server.

    Yes Server-side GTMNo Google Tag Gateway

Your pathQ1 yes, Q2 no, Q3 no: Google Tag Gateway

Your route Core Tracking Build · 3 to 4 weeks

Stay client-side: fix the web container first

A tagging server forwards whatever the browser hands it, broken triggers included. Rebuild the web container from a data layer spec with Consent Mode v2 and Enhanced Conversions first.

You run Nothing new to host

See the rebuilt web container
Your route Advanced Tracking Build · 5 to 8 weeks

Server-side GTM

A server container on your own subdomain or path. It sets cookies server-side and feeds GA4, Google Ads, the Meta Conversions API and BigQuery after each consent check.

You run Cloud Run in a Google Cloud project, or Stape, billed to you

Your route Advanced Tracking Build · 5 to 8 weeks

Google Tag Gateway

Google's tag and its measurement requests route through your domain on a CDN or load balancer you already run: Cloudflare, Akamai, Fastly or Google Cloud.

You run A routing rule on your CDN, with no server to host

03Explain

What is server-side tracking?

Server-side tracking sends your site's measurement data to a tagging server you control, on your own subdomain or a path of your domain, instead of letting the browser call each vendor. The server container reads the consent state, then forwards events to GA4, Google Ads, the Meta Conversions API and BigQuery.

Server-side tagging vs client-side tagging

Client-sideTags run in the browser
Your pageGTM web container
GA4Often blocked
Google Ads
Meta PixelOften blocked
LinkedIn Insight
  • A third-party request to every vendor
  • Cookies set by JavaScript: Safari caps them at 7 days
  • Every vendor script adds page weight
Server-sideTags run on your server
Your pageGTM web container
1 first-party request
to collect.yoursite.com
Server containerCloud Run or Stape
GA4
Google Ads
Meta Conversions API
BigQuery copy
  • Requests go to your own subdomain
  • Server-set cookies, under your control
  • Strip or enrich data before it leaves
  • Consent travels with the event

    Consent state travels with each event, and server tags check it before sending. Banner side: Consent Mode v2 setup.

  • Safari checks the server too

    Safari also caps a server-set cookie at 7 days when the server's IP address does not share the first half of your site's address, as a separate cloud subdomain usually does. A path on your main domain keeps the full cookie life.

04Route

Where server-side Google Tag Manager can send your data

The server container turns one stream of site events into a separate request per platform, carrying only the fields that platform needs.

  • GA4

    Events from the GA4 client, forwarded after the consent check. A server-set cookie can keep the client ID stable across visits.

    Yes
  • Server-side tracking for Google Ads

    Conversion tags and Enhanced Conversions, with hashed first-party data from the form attached for matching.

    Yes
  • Server-side tracking for Meta

    Events to the Meta Conversions API, deduplicated against the browser pixel by a shared event ID.

    No
  • A raw event copy in BigQuery

    Every event written before any platform filters it, which gives you a record to reconcile against CRM leads line by line.

    No
  • Server-side tracking on Shopify

    Delivered by Waftr. Store events reach the server container like any site's, then pass the consent check.

    Checked per store
05Ask

Before you move tags off the browser

Eight questions to settle before a server-side GTM or Google Tag Gateway build is scoped.

Does every site need server-side tracking?
No. Plenty of single-site setups lose more data to broken triggers than to blockers, and a rebuilt web container fixes that with less to run. A tagging server earns its place when paid budgets depend on conversions that ad blockers or Safari remove. The Tracking Audit shows which of those applies before anyone scopes a server.
What is Google Tag Gateway?
Google Tag Gateway serves Google's tag and its measurement requests through your own domain, using a CDN or load balancer you already run, such as Cloudflare, Akamai, Fastly or Google Cloud. There is no server container to host or maintain. It covers Google tags only, which leaves Meta and LinkedIn to server-side GTM.
Does server-side tracking get around cookie consent?
No, and a correct setup never tries. The Consent Mode v2 state travels from the web container to the server container with each event, and server tags check it before sending. Server-side tracking reaches data lost to blockers and browser limits. Visitors who click Reject All stay untracked, and the Consent Mode v2 setup handles them.
Where is server-side GTM hosted, and who pays for hosting?
Google Cloud Run in a Google Cloud project on your billing account, or Stape when managed hosting suits the team better. Either vendor bills you directly, and the bill grows with request volume. Waftr deploys and configures the hosting through access you grant and can revoke at any time.
Does server-side tracking improve Google Ads conversion tracking?
It can, and no uplift is promised. Requests to your own domain survive more ad blockers, server-set cookies outlast Safari's 7-day cap on script cookies, and Enhanced Conversions adds hashed first-party data for matching. After a US retailer's server-side setup with Consent Mode v2, cost per lead fell 20%.
Can server-side tracking send events to the Meta Conversions API?
Yes. The server container sends events to the Meta Conversions API from your tagging server once consent allows it. If the browser pixel also runs, give both copies the same event ID and Meta counts the conversion once. Google Tag Gateway cannot do this, because it only forwards Google's own tags.
Do you need a server-side tracking agency, or can your developers set it up?
Deploying a server container is the easy part, and your developers can do it. Results depend on the work around it: tag mapping for each platform, consent state passed to the server, a first-party subdomain or path, and tests in every consent state. Waftr scopes that from an audit and builds it alongside your developers.
Does Waftr set up server-side tracking on Shopify?
Yes, Waftr has delivered server-side tracking on Shopify. The work starts with an audit of how the store sends events today, then runs as an Advanced Tracking Build of 5 to 8 weeks. Consent is tested for visitors who accept, refuse or ignore the banner before the live store changes.
06Proof

Results from two server-side tracking builds

Different failures on the same layer: blocked requests in one build, Safari's cookie limits in the other. Each result is quoted as its case study publishes it.

  • Enterprise SaaS: leads counted as direct fell from 53% to 38%, 2 months before vs 2 after, with server-side tagging and Google Tag Gateway.

    Read the enterprise SaaS case
  • US retail: cost per lead fell 20% after server-set cookies and Consent Mode v2 fixed Safari attribution.

    Read the US retail case

Neither number is a forecast for your site.

07Build

How does an sGTM setup run?

An sGTM setup runs 5 to 8 weeks inside an Advanced Tracking Build: consent, data layer, cloud project and server tags, then tests in each consent state.

  1. 1

    Audit and scope

    The Advanced Tracking Audit includes a server-side review. If GA4 itself is in doubt, a Google Analytics audit comes first.

  2. 2

    Consent before tags

    Consent goes in before any tag moves.

  3. 3

    Data layer spec

    We write the spec, your developers push it, and we verify each value in GTM Preview.

  4. 4

    Cloud, subdomain, server tags

    A Google Cloud project or Stape account in your name, the first-party subdomain or path, and a client and tags per destination.

  5. 5

    Test and publish

    Server Preview in accept, reject and no-choice states, then both containers publish with version notes and a handover call.

08Quote

How much does server-side tracking cost?

Server-side tracking is quoted inside an Advanced Tracking Build, as one fee agreed in writing before work starts. Four things move that quote, listed below. Hosting never passes through Waftr: Google Cloud or Stape bills you for it directly.

  • Sites and propertiesHow many domains, GA4 properties and GTM containers
  • DestinationsGoogle only, or Meta, LinkedIn and BigQuery as well
  • Consent regionsWhere opt-in, opt-out or both apply
  • Data beyond the tagsBigQuery export, CRM and offline conversion import

Several sites, brands or regions under one plan become an Enterprise Build, scoped per project.

Certified in Google Analytics, Google Tag Manager and OneTrust · 13 years in digital analytics

Plan your server-side setup

Send your monthly lead volume, your ad platforms and where the site is hosted. That is enough to place you on the decision tree.

Please enter your name.
We need a work email to send the route.

Next: a reply within one business day naming the route, sGTM or Tag Gateway, and what the quote would cover.