· · Blog  · 6 min read

Server-side GTM: is it worth it for your website?

If you pay for Google Ads or Meta campaigns, someone has probably told you about server-side tracking. Here is a straight answer, including the cases where it is not worth it.

The short answer

Server-side GTM is worth it if you spend on Google Ads or Meta Ads, if your campaigns optimise on your conversions, and if your traffic is large enough that a few better-measured conversions change your decisions. That covers most e-commerce and lead generation sites that advertise.

It is not worth it for a showcase site with no advertising, or for a site with little traffic. A well-configured regular Google Tag Manager is enough.

Either way, it does not replace your cookie banner. More on that below.

Regular GTM vs server-side GTM: what changes

With regular Google Tag Manager, each visitor’s browser loads every tool’s scripts and sends data to each of them directly: one request to Google Analytics, one to Google Ads, one to Meta, and so on.

With server-side tagging, the browser sends a single stream to a tagging server on a subdomain you own (for example metrics.yoursite.com). That server then passes the data on to each tool.

Regular GTM
Visitor's browser → Google Analytics
                  → Google Ads
                  → Meta

Server-side GTM
Visitor's browser → metrics.yoursite.com (your server) → Google Analytics
                                                       → Google Ads
                                                       → Meta

Your website does not change. We add a DNS record, host the server container, and adjust your web GTM container so it sends its data to that server.

What server-side tracking gives you

More reliable conversions for visitors who accepted cookies

Safari caps cookies set by JavaScript, such as those of GA4 or the Meta pixel, at 7 days. A customer who clicks your ad and buys ten days later is no longer linked to that click. Cookies set by your own server, on your domain, avoid that cap if the server is set up properly: when the response comes from a third-party IP address or through a CNAME to a third-party domain, Safari caps those cookies at 7 days too.

Ad blockers also cut some of the requests sent straight to Google and Meta, including for visitors who accepted your banner. Going through your own subdomain makes measurement steadier for those visitors. A visitor who refuses tracking must stay untracked.

Google Ads enhanced conversions and Meta Conversions API

The server can send conversions straight to Google Ads (enhanced conversions) and Meta (Conversions API), with hashed first-party data such as the customer’s email, when the customer has agreed to it. Bidding algorithms then work on more complete data.

The platforms publish their own figures. Google reports a 17% higher median conversion rate on YouTube and 5% on Search for advertisers who turned on enhanced conversions. Meta reports a 13% lower cost per action on average for advertisers who add the Conversions API to their pixel. These are averages measured by the platforms on their own advertisers, not a promise for your account.

To be fair: enhanced conversions can also be set up without a server, and some e-commerce platforms already offer a Meta Conversions API connection. Server-side puts everything in one place and makes these feeds sturdier, but it is not the only way in.

A lighter website

Fewer third-party scripts load in your visitors’ browsers, since the server does the distribution work. The gain depends on what your site loaded before: on a site stacked with pixels, it shows. We explain why it matters in our article on website speed.

Control over what each tool receives

Before passing data on, the server can strip the IP address, filter URL parameters that contain personal information, or send an event to some tools only. You know exactly what leaves, and where it goes.

What server-side does not do: remove the need for consent

Moving tracking to a server does not change the rules. For the CNIL, France’s data protection authority, delegating a subdomain to a tool is not unlawful in itself, but informing visitors and collecting consent still apply. The consent exemption for audience measurement is limited to tools that produce anonymous statistics, restricted to your own site, with no cross-referencing or sharing with third parties. Google Ads, Meta and a GA4 property linked to advertising fall outside it.

So your cookie banner still decides, and the server enforces the visitor’s choice. That is the job of Google’s Consent Mode v2, which passes that choice to Google tags. In basic mode, tags only load after the visitor interacts with the banner. In advanced mode, they load on arrival and, when consent is denied, send cookieless pings used to model some of the conversions. The choice between the two belongs with your DPO or legal counsel.

If someone sells you server-side as a way to « recover » visitors who refused cookies, be wary. Those refusals are lost to measurement, and that is how it should be.

How much server-side tracking costs

At Fenxi, setup starts at €1,500 excl. VAT for a website with GA4, Google Ads and a Meta pixel. The price depends on the number of tools and events to track. It covers an audit of your current tracking, the tracking plan, the web and server containers, and a before-and-after comparison of the numbers.

On top of that comes hosting for the tagging server, paid monthly. Its cost depends mostly on your traffic, and we quote it before we start.

When server-side GTM is worth it: the checklist

  • You spend on Google Ads or Meta Ads every month.
  • Your campaigns optimise on conversions: target CPA or ROAS bidding, Performance Max, Advantage+ campaigns.
  • Your site sells online or generates leads, and you know what a conversion is worth.
  • Your traffic is large enough that lost conversions affect your budget decisions.
  • Your GA4, Google Ads and back-office numbers don’t match, and you have already ruled out setup mistakes.

If you tick the first three, server-side is worth getting a quote for.

When it isn’t worth it

  • A showcase site with no paid advertising: there is no bidding algorithm to feed, and a standard GA4 setup is enough to follow your audience.
  • A site with very little traffic: a few better-measured conversions change no decision, while hosting costs money every month.
  • Basic tracking that is already wrong: if your events are badly defined or counted twice, the server will carry the same mistakes. Fix those first.

For that last case, we go through the causes of the gap between GA4 and your real sales in Ad blockers, Safari, cookie refusals: why GA4 undercounts your conversions.

Setting up server-side GTM with Fenxi

We always start with an audit: what is measured today, what goes missing, and what your cookie banner says. Then come the tracking plan, the server setup on your subdomain, and a before-and-after comparison of the numbers. Ping Pang Paris and Legalstart are among the projects where we worked on measurement.

The full offer is on our server-side tracking and server-side GTM page.

Work with the Fenxi Studio team

A website to build or redesign? Fenxi Studio designs and builds websites and online stores, from design to launch. Tell us about your project.

Back to Blog