---
title: "Google Ads Enhanced Conversions With Server-Side Tag Manager"
description: "Set up and test Google Ads enhanced conversions with server-side Tag Manager. Trace consent and customer data from web checkout to the server tag."
canonical: "https://www.productmetrics.io/blog/enhanced-conversions-server-side-gtm"
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/enhanced-conversions-server-side-gtm.png"
---

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

# How to set up enhanced conversions with server‑side tagging

## Key takeaways

- A server container sends the purchase. Enhanced conversions add permitted first-party customer data to improve matching.
- Enhanced conversions can enhance a recorded conversion, not create one from nothing.
- `ad_user_data` controls whether you can send customer data for ads measurement. `ad_personalization` controls its use for personalised ads.

[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.") for web add permitted customer data to a purchase event so Google Ads can better match it to an ad interaction. In server-side Google Tag Manager (GTM), verify `user_data` reaches the server container and the Google Ads tag fires with the right conversion ID and label.

**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.

## Quick steps

First check that the store sends a purchase event to the server container. Then add permitted customer data and verify the tag sends it to the correct conversion action. Run the test once with consent granted and once with it denied.

![The web Google tag sends the purchase to the first-party server container, where the Conversion Linker and Google Ads tag run.](https://www.productmetrics.io/images/blog/recover-google-ads-conversions-ios-safari/ios-first-party-subdomain.webp)

_Check the request to your own subdomain in the browser, then check delivery to Google Ads in the server container’s preview._

## What you need

- Admin access to Google Ads and Google Tag Manager (web and server containers)
- An existing Purchase conversion action in Google Ads with Conversion ID and Label
- [GTM server container running](https://www.productmetrics.io/blog/google-ads-server-side-tracking-cost) and reachable at your subdomain (for example: sgtm.yourdomain.com)
- GA4 client in sGTM and a GA4 event or Google tag on the web container for the purchase
- Ability to surface customer fields on the order confirmation page or via dataLayer (email preferred; name and postal address optional; phone optional)
- A consent banner that supports [Consent Mode](https://www.productmetrics.io/glossary/consent-mode "Consent mode is a Google tag and Google Ads feature that passes each visitor’s cookie and data consent choices to Google, so tags adjust what they collect.") v2 if you serve EEA/UK users

## Step by step

### 1. Enable enhanced conversions in Google Ads

- Action: In Google Ads, open **Goals › Conversions › Settings › Enhanced conversions** and accept the customer data terms if prompted. The [unified account setting](https://support.google.com/google-ads/answer/16884284) accepts website tag, Data Manager and API data together.
- Result: Enhanced conversions are enabled for the account. Configure customer data on the intended native Purchase tag separately. GA4 imports do not support enhanced conversions for web.

### 2. Capture user‑provided data in GTM web

- Action: In GTM web, [create a User‑Provided Data variable](https://support.google.com/google-ads/answer/13262500). In Manual configuration, map email or phone from the confirmed purchase and optionally the supported name and address fields. Gate access to these fields on `ad_user_data` consent.
- Result: In GTM Preview on a test order, the User‑Provided Data variable resolves with values for the fields you mapped.

### 3. Pass user_data to the tagging server

- Action: Route the web Google tag to your tagging server. In the web GA4 Event tag, set the event parameter `user_data` to your consent-gated User‑Provided Data variable. The [server tagging instructions](https://developers.google.com/tag-platform/tag-manager/server-side/ads-setup) also document supported pre-hashed keys.
- In a standard setup, the tag handles hashing for unhashed inputs. When scripts are served through the server container or Google tag gateway, [Google documents that the browser sends the data to the container and the server Ads tag encrypts it before sending it to Google](https://support.google.com/google-ads/answer/13258081). Use hex-encoded SHA‑256 only in the fields that accept pre-hashed values.
- Result: In Preview with test data, the server client claims the purchase event. Permit the Google Ads tag to receive `user_data` and remove it from any general analytics forwarding path.

### 4. Configure Google Ads Conversion Tracking in sGTM

- Action: In sGTM, add a Conversion Linker tag (All events). Then [add a Google Ads Conversion Tracking tag](https://developers.google.com/tag-platform/tag-manager/server-side/ads-setup). Enter your Conversion ID and Label, and trigger it from the server event that represents a completed order. Ensure value, currency and transaction_id flow from ecommerce fields. During a separate-action pilot, keep the current Purchase Primary and the test action Secondary outside bidding custom goals. Remove the overlapping web sender after validation if the server tag replaces it.
- Result: In sGTM Preview, your Google Ads Conversion Tracking tag fires once per successful order with value, currency and transaction_id.

> **Google's guide:** Google's [server-side setup for Google Ads conversions](https://developers.google.com/tag-platform/tag-manager/server-side/ads-setup) covers this tag and enhanced conversions in the server container. [Full Signal Tracking](https://www.productmetrics.io/server-side-tracking) from Product Metrics does this step without a container: it sends every order server-side, through ad blockers, to Google Ads and Meta, hashing customer data before it leaves the server, with profit, new or returning status and LTV for Google Ads, Meta and ChatGPT Ads.

> **Related:** For the whole server-side route, from the click ID to refunds, see how to set up server-side tracking for Google Ads.

### 5. Configure Consent Mode v2 for EEA/UK

- Action: In GTM web, [set default consent](https://developers.google.com/tag-platform/security/guides/consent) on the Consent Initialization trigger so ad_user_data and ad_personalization are denied by default for EEA/UK users. On consent granted by your CMP, update consent state to granted. Keep ad_storage consistent with your cookie policy.
- Result: Basic Consent Mode blocks tags before consent. Advanced Consent Mode can send cookieless pings under denied storage defaults. Only send customer data when `ad_user_data` is granted.

### 6. Validate end‑to‑end

- In GTM web Preview, place a test order and verify the purchase event, consent state and permitted `user_data`. Use the [browser’s request trace](https://www.productmetrics.io/sdk-debugger) to check that the web tag reaches your first-party server endpoint.
- In server Preview, select the same purchase. Verify the event reached the container, the Google Ads tag fired with the intended ID and label, and the server sent the outgoing request. Check value, currency and `transaction_id`. The browser request trace only sees the browser-to-server hop in this setup.
- Once Google Ads processes eligible conversions, check **Goals › Conversions › Summary › your action › Diagnostics**. Allow time for data to accumulate and avoid copying customer identifiers into QA logs.

### Where did enhanced conversion data stop?

Trace the same test purchase in the web and server previews. If the web event has no permitted customer data, check the variable and the consent state at purchase. If the server receives the event but the Google Ads tag does not fire, check its trigger and conversion label before changing the checkout. Use Google’s [server-side setup guide](https://developers.google.com/tag-platform/tag-manager/server-side/ads-setup) to check the tag mapping.

## How to check that it worked

Test both consent outcomes. With customer-data permission granted, the test should reach the intended Google Ads tag with the permitted fields. When `ad_user_data` is denied, verify the integration withholds those fields. Inspect the conversion action’s diagnostics once the reports have processed.

## Troubleshooting

- [Enhanced conversions not working](https://www.productmetrics.io/blog/google-ads-conversion-tracking-not-working) at all: In Diagnostics, look for user‑provided data missing. Fix by ensuring the User‑Provided Data variable resolves on real orders and that user_data is attached to the purchase event.
- Consent issues in EEA/UK: Check that the consent management platform passes each choice to the correct consent signal. Test decline as well as accept.
- Duplicates or inflated conversions: If both web and server Ads tags fire, you can double count. Use a stable [transaction ID](https://www.productmetrics.io/glossary/transaction-id) for retries within an action. If testing separate web and server actions, keep one Primary and segment reports by action.
- Wrong hashing mode: Check whether the field expects raw or pre-hashed data and follow the format specified for the chosen delivery method. Avoid hashing twice.
- Missing `transaction_id` or value: Check those fields in the incoming purchase event, then map them to the Google Ads tag.

> **Ad blockers:** Ad blockers also block server-side GTM endpoints, so a server container on a subdomain can still lose purchases. Full Signal Tracking's endpoint rotates automatically if it is ever blocked; the [ad blocker test](https://www.productmetrics.io/ad-blocker-conversion-tracking) shows what your own browser stops.

> **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)

## Tips and alternatives

- Start fast: If you cannot surface user data on the page yet, enable automatic collection in the Google tag, then graduate to Manual once your dataLayer is ready.
- Keep user-provided data out of analytics destinations and operational logs. Limit it to the configured ads measurement path.
- For a direct Google Ads API web implementation, use [Google’s normalisation and hashing example](https://developers.google.com/google-ads/api/samples/upload-enhanced-conversions-for-web). Google’s sample removes dots and the plus suffix in the local part for Gmail and Googlemail addresses before hashing. Follow the documented format for the specific route.
- Consent Mode basics vs advanced: Basic blocks tags until consent; Advanced lets tags send cookieless pings for modelling until consent is granted. Use what fits your policy.

> **Related:** For what our [ad blocker lab](https://www.productmetrics.io/blog/enhanced-conversions-vs-server-side-tracking) found when it compared the two in real browsers, read enhanced conversions vs server-side tracking. Losing Safari buyers in particular? See [how to recover iOS and Safari conversions](https://www.productmetrics.io/blog/recover-google-ads-conversions-ios-safari).

## Sources

- [[GA4] Verify and update consent settings in Google Analytics](https://support.google.com/analytics/answer/14275483)
- [Google Tag Manager server‑side setup for Google Ads conversions](https://developers.google.com/tag-platform/tag-manager/server-side/ads-setup)
- [Consent mode reference](https://support.google.com/google-ads/answer/13802165)
- [Set up enhanced conversions for web using the Google tag](https://support.google.com/google-ads/answer/13258081)
- [Upload enhanced conversions for web - normalisation and hashing](https://developers.google.com/google-ads/api/samples/upload-enhanced-conversions-for-web)

## Frequently asked questions

### Do I still need enhanced conversions if I already use server‑side tracking?

Server-side delivery gets your order to the destination. Use enhanced conversions when you want Google Ads to use eligible customer data for matching.

### Enhanced conversions vs server‑side tagging - which is better?

Neither replaces the other. Use server‑side tagging to stabilise tagging and protect page speed, and use enhanced conversions to give Ads privacy‑safe identifiers for better attribution and bidding.

### What is the best way to send hashed customer data to Google Ads?

Use the supported format for your implementation. The [server tagging guide](https://developers.google.com/tag-platform/tag-manager/server-side/ads-setup) describes unhashed and hex-encoded SHA‑256 inputs. For a direct Ads API web implementation, follow the [API normalisation example](https://developers.google.com/google-ads/api/samples/upload-enhanced-conversions-for-web) before hashing, including its Gmail and Googlemail rules.

### What does Consent Mode v2 change for ecommerce?

For EEA/UK users, you must collect and pass ad_user_data and ad_personalization signals to keep using Ads personalization and measurement features. Basic Consent Mode blocks tags before consent. Advanced Consent Mode loads tags with your configured defaults and can send cookieless pings while storage consent is denied.

## Keep reading.

- [Product Metrics vs Elevar vs Littledata for Google Ads](https://www.productmetrics.io/blog/elevar-vs-littledata-vs-product-metrics)
- [Google Ads Conversion Tracking by Ecommerce Platform](https://www.productmetrics.io/blog/google-ads-conversion-tracking-by-platform)
- [Google Ads conversion tracking with Customer Match remarketing lists](https://www.productmetrics.io/blog/google-ads-conversion-tracking-remarketing)

---

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/enhanced-conversions-server-side-gtm
