What is server-side tagging?
Server-side tagging is a way to collect tracking data through a server you control, instead of sending it straight from the visitor’s browser to each ad platform. Your site sends events to a server container in Google Tag Manager. That server then forwards the data to tools like Google Ads and GA4. It is a setup for data collection, not a Google Ads setting.
How it works in Google Ads for ecommerce
With normal client-side tagging, many scripts run in the browser, and each one sends data on its own. With server-side tagging, the browser sends one stream of events to your server container. The server decides what goes to which platform. You usually run the server on a cloud provider, often on your own subdomain, and you pay for that hosting.
For a webshop, the main point is purchase data. Shopping, Performance Max and Search campaigns using Smart Bidding learn from your conversions and conversion values. If tracking misses orders, bidding works with a weaker picture. Server-side tagging can make conversion tracking more resilient to browser limits and blockers. It can also help you send enhanced conversions data in a controlled way.
Common mistakes
- Thinking it fixes all tracking loss. It can help, but it does not recover every order.
- Thinking it replaces consent. You still need to respect user choices, and Consent Mode signals still need to be passed on correctly.
- Moving tracking to the server without testing. Duplicate purchases or missing values are common after a switch.
- Sending more personal data than you need because the server makes it easy.
- Ignoring running costs and upkeep. A server needs monitoring, like any other part of your stack.
- Setting it up before the basics are right, such as wrong conversion actions or a messy Tag Manager container.
What I would do
- Fix the basics first. Check that your purchase event fires once per order, with the correct value and currency.
- Start with purchase and add to cart, then add other events later.
- Use a custom subdomain of your own site for the server, so requests come from your domain.
- Run client-side and server-side side by side in testing. Compare order counts with your shop backend before you switch off anything.
- Set up consent handling and enhanced conversions as part of the same project, not as an afterthought.
- Check the numbers weekly for the first month. Compare Google Ads conversions to real orders, for example 100 orders in the shop against what the account reports.
- Decide if it is worth it. If your ad spend is small and your current tracking is clean, the gain may be small.
FAQ
Does server-side tagging make my tracking GDPR compliant?
No. It gives you more control over what data leaves your site, which helps. But you still need a valid legal basis and proper consent, and you must honor the choices visitors make.
Will server-side tagging improve my ROAS?
Not by itself. It can give Google Ads more complete conversion data, which can help bidding. Results depend on how much data you lose today, so measure before and after.