---
title: "Client-Side vs Server-Side Tracking for Google Ads Purchases"
description: "Compare client-side and server-side Google Ads tracking. See where purchase events start, what can fail at checkout and when an order-based setup fits."
canonical: "https://www.productmetrics.io/blog/server-side-vs-client-side-tracking"
pageType: article
language: en
publisher: "Product Metrics"
author: "Berend Vrakking"
datePublished: 2026-11-30
dateModified: 2026-12-01
image: "https://www.productmetrics.io/og/blog/server-side-vs-client-side-tracking.png"
---

> Content index: https://www.productmetrics.io/llms.txt

# Server-side vs client-side tracking for Google Ads

## Key takeaways

- A server container can forward browser purchase events, while a confirmed-order backend can send purchases after payment.
- Choose the setup that delivers the expected purchase value and preserves the shopper’s consent choices.
- Put purchase values, consent and enhanced conversions in place first, then phase in more events.

Client-side tracking sends a purchase from the browser directly to Google Ads. A server route can forward a browser event through a tagging server or deliver a confirmed purchase from the store backend. For Shopping and [Performance Max](https://www.productmetrics.io/glossary/performance-max), the purchase source determines which failures the setup can recover from.

**Set up server-side tracking.** Today: Ad blockers hide your sales. With Product Metrics: Track every sale and improve your campaign performance. Connect the Product Metrics MCP server (https://www.productmetrics.io/mcp) to Claude, ChatGPT, Cursor or VS Code, or run `claude mcp add --transport http product-metrics https://www.productmetrics.io/mcp` in Claude Code ([how the connection works](https://www.productmetrics.io/docs/mcp/connect)). Then ask it: "Set up server-side conversion tracking for my store with Product Metrics, so Google Ads, Meta and ChatGPT Ads get every paid order. Check my setup status first, walk me through each open step, and give me the link when I need to click something." About 60 seconds in Claude, ChatGPT or Cursor.

## What is it and who uses it?

- Server-side tracking processes measurement on a server. [Server-side Google Tag Manager](https://www.productmetrics.io/blog/google-tag-gateway-vs-server-side-tagging) receives events and forwards them. A store backend can generate purchase events from confirmed payment. Google Shopping and Performance Max campaigns use these conversions and values to bid and budget.

> **Related:** New to the concept? [What is server-side tracking?](https://www.productmetrics.io/blog/what-is-server-side-tracking) follows one purchase through a server container and covers its limits.

## Key facts you will look up

- Server-side tagging runs on your first-party subdomain and processes events in a server container you control, not in the user’s browser. This preserves control, reduces dependency on fragile in-page scripts and supports stricter privacy setups.
- [Enhanced conversions send hashed first-party data](https://support.google.com/google-ads/answer/15712870) with each purchase to improve match and measurement; hashing happens before data is sent.
- [Consent Mode](https://www.productmetrics.io/glossary/consent-mode) carries the shopper’s choices to Google and can support modelling for eligible accounts.
- Costs vary by hosting: Google Cloud Run is usage based with a generous free tier; managed hosting is flat-rate by request volume. Real examples for November 30, 2026 are in the Costs section below.

## Why this matters for Shopping performance

- [Smart Bidding](https://www.productmetrics.io/glossary/smart-bidding) uses the purchase actions and values you select for bidding in Shopping and Performance Max. Test delivery and attribution before evaluating a tracking change.

## How it works in plain steps

1. A shopper clicks a Shopping ad and places an order.
2. A browser event or the store’s payment confirmation supplies the purchase record.
3. The browser sends the event straight to Google Ads or through a [server-side Google Ads conversion tag](https://developers.google.com/tag-platform/tag-manager/server-side/ads-setup). In an order-based setup, the backend sends the confirmed purchase.
4. Google Ads applies eligible attribution and uses the selected purchase action’s value for bidding.

> **Google's guide:** Google's [introduction to server-side tagging](https://developers.google.com/tag-platform/tag-manager/server-side/intro) explains step 3: clients in the server container receive the browser's request, turn it into an event and let tags forward it. Full Signal Tracking from Product Metrics does that forwarding without a container: it sends every order server-side, through ad blockers, to Google Ads and Meta.

## Server-side vs client-side for Google Shopping

- **Direct browser tag.** The checkout event and Google Ads request both depend on the browser.
- **Browser-fed server-side Tag Manager.** The browser sends the purchase event to the server container. The server runs the Google Ads tag and forwards the event.
- **Confirmed-order backend delivery.** The store confirms payment and the backend sends the order. The purchase send can proceed without a checkout browser event. Earlier click identifiers and consent signals still depend on what the store captured.

![Diagram comparing two routes: client-side tracking sends a separate request from the browser to GA4, Google Ads and Meta; server-side tracking sends one event to an endpoint on your own domain, where your server checks it before forwarding it to all three](https://www.productmetrics.io/images/blog/what-is-server-side-tracking/client-side-vs-server-side-tracking-route.webp)

_In this browser-fed server setup, the browser sends one request to your own domain and the server decides what each platform receives._

> **Sidenote:** Ad blockers can stop a server-side GTM endpoint too, not only browser tags. Test what a blocker stops on your own store with the [ad blocker check](https://www.productmetrics.io/ad-blocker-conversion-tracking) and decode any tracking request with the [SDK debugger](https://www.productmetrics.io/sdk-debugger).

### Does the server still need a browser purchase event?

A server-side Tag Manager container needs an incoming purchase event. If the browser supplies the event, a missing browser request leaves nothing for the container to forward. An order-based setup starts after the store confirms payment. Compare the two routes by tracing one paid order from checkout to the Google Ads conversion action.

## Comparison of your options

| Route | Purchase event source | Delivery dependency | Setup |
| --- | --- | --- | --- |
| Direct browser tag | Checkout browser | Browser event and vendor request. On 7 October 2026, three of six blocker setups in our lab blocked both tested Google conversion endpoints. | Tag and consent configuration |
| Browser-fed server-side GTM | Checkout browser | The browser must send the event to the tagging endpoint. | Web container, server container and hosting |
| Confirmed-order backend | Store payment record | Backend sends independently of the checkout page. Captured click IDs and consent still affect attribution. | Store integration or custom backend |

The [ad blocker test](https://www.productmetrics.io/ad-blocker-conversion-tracking) shows the Google routes tested and the outcomes by blocker.

## Costs and requirements (with real ranges)

- Do-it-yourself on Google Cloud Run (usage based). Pricing is per vCPU-second, GiB-second and requests, with a free tier of 2M requests, 180,000 vCPU‑seconds and 360,000 GiB‑seconds each month. Google’s example shows a public API handling 10M requests per month with 1 vCPU and 512 MiB RAM at about $13.69 in europe‑west1 with request-based billing, excluding network egress. Figures current as of November 30, 2026.
- These are generic Cloud Run compute and published plan examples. Estimate production minimum instances, load balancing, traffic and request mix before comparing total monthly costs.
- [Managed server-side GTM hosting](https://www.productmetrics.io/blog/server-side-tracking-tools) (flat plans). Example: Stape lists a Free plan at $0 for up to 10K requests and an Enterprise plan shown at $167 per month billed annually for up to 20M requests, as of November 30, 2026.
- For server-side GTM you need a tagging server (Cloud Run or a managed host), a first-party subdomain (for example, track.yourstore.com) pointing to that server, a Tag Manager server container, purchase event payloads with value and currency, Consent Mode, and [enhanced conversions](https://www.productmetrics.io/glossary/enhanced-conversions "Enhanced conversions are a Google Ads feature that adds hashed first-party customer data, such as an email address, to your conversion tracking to improve measurement accuracy.") enabled.

**Figure: What does server-side tagging hosting cost per month?.** Google’s Cloud Run example handles 10M requests for about $13.69 a month; Stape’s plans run from $0 for 10K requests to $167 a month for 20M.

![Bar chart of monthly server-side tagging hosting costs: Stape Free $0 for 10K requests, Google’s Cloud Run example $13.69 for 10M requests, Stape Enterprise $167 for 20M requests.](https://www.productmetrics.io/images/blog/server-side-vs-client-side-tracking/server-side-hosting-cost-examples.webp)

| Hosting example | Monthly cost (USD) |
| --- | --- |
| Stape Free, up to 10K requests | $0.00 |
| Cloud Run, 10M requests (Google’s example) | $13.69 |
| Stape Enterprise, up to 20M requests (billed annually) | $167.00 |

_Source: Google Cloud Run pricing example (europe-west1, request-based billing, excl. network egress) and Stape pricing, both as of 30 November 2026_

[Cloud Run pricing](https://cloud.google.com/run/pricing), [Stape pricing](https://stape.io/price?pt=bpsuisjx)

> **Related:** Setup and upkeep cost more than hosting. [How much server-side tracking costs for Google Ads](https://www.productmetrics.io/blog/google-ads-server-side-tracking-cost) adds them up for server-side GTM and a hosted app.

## How to get started

1. Decide scope: start with purchases only, then extend to add-to-carts or lead steps if useful for PMax signals.
2. Prepare consent. Set consent defaults before measurement and update them when the shopper makes a choice. With [Basic Consent Mode](https://support.google.com/google-ads/answer/10000067), Google tags are blocked until the shopper grants consent. With Advanced Consent Mode, tags load with defaults and can send cookieless pings when consent is denied, subject to your policy and applicable requirements. Carry the consent state to the server and verify it for both choices. Check `ad_storage`, `analytics_storage`, `ad_user_data` and `ad_personalization`.
3. Enable enhanced conversions: capture email or phone at checkout, [hash before send](https://support.google.com/google-ads/answer/13258081), and pass with purchase conversions.
4. Choose the purchase source. Forward the browser purchase to a server container or use confirmed payments from your store backend.
5. For browser-fed GTM, [set up a first-party domain](https://developers.google.com/tag-platform/tag-manager/server-side/custom-domain) for the server container. For backend delivery, verify the store’s payment trigger and the Google Ads destination.
6. Test the purchase route. Place a paid test order. Compare its order ID, action, value and currency with the tag request or supported delivery log, then check Google Ads diagnostics. Use Tag Assistant for tag routes and upload diagnostics for API routes. Delivery and attribution are different checks: compare Google Ads and store totals in aggregate after allowing for reporting lag, using the same conversion-time basis, time zone and value definition.

For adjustments supported by your route and within [Google Ads’ adjustment window](https://support.google.com/google-ads/answer/7686280), test a partial refund with the original [transaction ID](https://www.productmetrics.io/glossary/transaction-id "A transaction ID in Google Ads is the unique order number sent with a purchase conversion, so Google Ads counts a repeated order only once.") and action. Check that RESTATE carries the full revised [conversion value](https://www.productmetrics.io/glossary/conversion-value "Conversion value is the amount you tell Google Ads a conversion is worth, such as sales revenue or profit margin."). Use RETRACT for an eligible fully cancelled conversion. Check the adjustment result before switching bidding.
7. Run the replacement in parallel as a secondary action to compare delivery, value and consent for the same orders while preserving the original bidding goal. An A/B test compares different treatments on a traffic split. An A/A test uses equivalent treatments to check the experiment setup.
8. Tie to product decisions: ensure purchase events carry product IDs and values so you can [bid by SKU profit and stock](https://www.productmetrics.io/blog/sku-level-tracking-google-ads), not just revenue.

> **Google's guide:** Google’s [server-side Tag Manager guide for Google Ads](https://developers.google.com/tag-platform/tag-manager/server-side/ads-setup) covers the Conversion Linker, the Ads conversion tag and enhanced conversions in a server container. [Full Signal Tracking](https://www.productmetrics.io/server-side-tracking) does this step without a container: it sends every order server-side, through ad blockers, to Google Ads and Meta.
>
> Profit, new or returning status and LTV go with each order to Google Ads, Meta and ChatGPT Ads.

> **Related:** Step-by-step instructions for the purchase event are in [how to set up server-side tracking for Google Ads](https://www.productmetrics.io/blog/google-ads-server-side-tracking).

## Common mistakes to avoid

- Double counting purchases. Google Ads uses the same transaction ID to deduplicate repeat purchases within a single conversion action. A browser tag and a server route can still record the same order separately if they send to different actions, including a Google Analytics 4 import. Keep one primary purchase action in the campaign’s bidding goals. During migration, validate the replacement as secondary and check campaign custom goals, which can still use a secondary action for bidding. Segment Google Ads reports by conversion action before comparing volumes or values.
- Missing consent defaults so tags load before consent is set. Fix: set defaults to denied, update on consent change, then verify tag and server behaviour with both granting and denying consent.
- No enhanced conversions or bad hashing. Fix: capture the field the user provided (email or phone), normalize and hash before send.
- Server endpoint not on a first-party subdomain. Fix: map a subdomain you control to the server container before going live.
- Deploying server-side but leaving heavy scripts in the browser. Fix: move vendor tags to the server container where possible and keep the client light.

> **Get every conversion back into Google Ads, Meta and ChatGPT Ads.** Full Signal Tracking gets through every adblocker, so bidding works on your full revenue. Sends revenue, profit and new customers to Google Ads, Meta and ChatGPT Ads. [Book a demo](https://www.productmetrics.io/demo)

## Key takeaways

- A browser-fed server container forwards the checkout event. A confirmed-order backend can deliver the purchase after payment even if the checkout event never arrives.
- Choose the setup that delivers the expected purchase value and preserves the shopper’s consent choices.
- The 30 November 2026 pricing examples cover Cloud Run compute and published hosting plans. Use your production configuration and traffic to estimate full cost.
- Put purchase values, consent and enhanced conversions in place first, then phase in more events.

## Next step

If your browser tag misses paid orders, trace a confirmed payment through your proposed server route before moving the purchase action used for bidding.

> **Grow revenue and profit from every order and every product.** Product Metrics is a profit optimisation platform for ecommerce advertising: one app for server-side tracking, profit bidding, product segmentation and campaign planning across Google Ads, Meta and ChatGPT Ads. It sends each order’s profit, new or returning status and lifetime value to the ad platforms, so merchants can bid on POAS, new customers and LTV. Machine learning segments every product into custom labels for Shopping and Performance Max, and the campaign plan sets out the ideal campaign structure for those segments. A dashboard shows profit, customers, stock and returns. [Compare the free analysis and Pro](https://www.productmetrics.io/pricing#included)

## Sources

- [An introduction to server-side tagging](https://developers.google.com/tag-platform/tag-manager/server-side/intro)
- [About enhanced conversions](https://support.google.com/google-ads/answer/9888656?hl=en_US_US)
- [How to improve your modeling](https://support.google.com/google-ads/answer/12445060?hl=en)
- [Cloud Run pricing](https://cloud.google.com/run/pricing)
- [Stape pricing](https://stape.io/price?pt=bpsuisjx)

## Frequently asked questions

### Do I still need enhanced conversions if I go server-side?

On a supported Google Ads action, [enhanced conversions improve match](https://www.productmetrics.io/blog/enhanced-conversions-vs-server-side-tracking) by adding hashed first-party data to each conversion.

### Does server-side tracking improve Shopping performance?

A server route can give Smart Bidding more reliable purchase values when the current browser event misses paid orders. Validate delivery before measuring campaign performance.

### Is Consent Mode required?

Google Consent Mode adjusts tag behaviour based on shopper choices. Basic blocks Google tags before consent. Advanced can send cookieless pings in a denied state. Modelling depends on eligibility.

### What should be my primary conversion action?

Use one purchase action with value that best reflects your source of truth and [make others secondary](https://www.productmetrics.io/blog/multiple-conversion-actions-google-ads) for observation only.

### Can I run this without developers?

Managed hosting plus Tag Manager templates reduce heavy lifting. You still need to map the right fields, consent signals and values.

### What does “first-party domain” change?

Your server container runs on a subdomain you control, which can reduce breakage, improve governance and performance, and keep more logic out of the browser.

## Keep reading.

- [Product Metrics vs Elevar vs Littledata for Google Ads](https://www.productmetrics.io/blog/elevar-vs-littledata-vs-product-metrics)
- [How to set up server-side tracking for Google Ads](https://www.productmetrics.io/blog/google-ads-server-side-tracking)
- [How to recover Google Ads conversions on iOS and Safari](https://www.productmetrics.io/blog/recover-google-ads-conversions-ios-safari)

---

Written by Berend Vrakking, founder of Product Metrics. Last updated 2026-12-01.

1M+ products analysed · Nominated at the Dutch Search Awards for Best Measurement Campaign (2023) and Best Use of Data (2024)

HTML version: https://www.productmetrics.io/blog/server-side-vs-client-side-tracking
