Server-side vs client-side tracking for Google Ads
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.
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, the purchase source determines which failures the setup can recover from.
What is it and who uses it?
- Server-side tracking processes measurement on a server. Server-side Google Tag Manager 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.
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 with each purchase to improve match and measurement; hashing happens before data is sent.
- 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 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
- A shopper clicks a Shopping ad and places an order.
- A browser event or the store’s payment confirmation supplies the purchase record.
- The browser sends the event straight to Google Ads or through a server-side Google Ads conversion tag. In an order-based setup, the backend sends the confirmed purchase.
- Google Ads applies eligible attribution and uses the selected purchase action’s value for bidding.
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.

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 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 (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 enabled.

Show the dataHide the data
| 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 |
How to get started
- Decide scope: start with purchases only, then extend to add-to-carts or lead steps if useful for PMax signals.
- Prepare consent. Set consent defaults before measurement and update them when the shopper makes a choice. With Basic Consent Mode, 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_dataandad_personalization. - Enable enhanced conversions: capture email or phone at checkout, hash before send, and pass with purchase conversions.
- Choose the purchase source. Forward the browser purchase to a server container or use confirmed payments from your store backend.
- For browser-fed GTM, set up a first-party domain for the server container. For backend delivery, verify the store’s payment trigger and the Google Ads destination.
- 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, test a partial refund with the original transaction ID and action. Check that RESTATE carries the full revised conversion value. 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, not just revenue.
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.
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 ProSources
Written by
Berend Vrakking, Founder of Product Metrics
1M+ products analysed · Nominated at the Dutch Search Awards for Best Measurement Campaign (2023) and Best Use of Data (2024)
Keep reading.
Product Metrics vs Elevar vs Littledata for Google Ads
Compare Elevar, Littledata and Product Metrics for Shopify Google Ads tracking. Check setup, pricing, cart data and what each sends for a paid order.
How to set up server-side tracking for Google Ads
Set up Google Ads server-side conversion tracking for ecommerce. Choose a purchase route, map click IDs and consent, then test one paid order.
How to recover Google Ads conversions on iOS and Safari
Diagnose missing Google Ads conversions on iOS and Safari. Trace one paid order through click identifiers, consent, delivery and attribution checks.
Frequently asked questions.
Do I still need enhanced conversions if I go server-side?
Does server-side tracking improve Shopping performance?
Is Consent Mode required?
What should be my primary conversion action?
Can I run this without developers?
What does “first-party domain” change?
See which of your products to push, fix or pause. Start with your own products, or a 30-second estimate.
See what a blocker stops with the ad blocker tracking test. Then see how your products perform once every conversion is counted.
Questions, or want to spar about your products? Book a demo: a video call with Berend, then a demo account.