Skip to content
Google Ads

Magento enhanced conversions for Google Ads

Send hashed customer data from Magento orders with each Google Ads conversion, only when the visitor allowed ad user data.

On Magento, Product Metrics hashes the Magento order, plus the logged-in customer’s details and the guest email that the module passes to the script with SHA-256 and sends it with each purchase conversion through Google’s Data Manager, only when the visitor allowed ad user data. There is no Google tag setting and no code.

Prerequisites

  • Workspace admin in Product Metrics (editor is enough for the store and destination steps), with Pro (Full Signal Tracking). Google Ads needs Merchant Center connected.
  • Server-side tracking for Magento in Google Ads set up first. It needs Magento 2.4, 2.0 or 1.9 / OpenMage with cron running, a developer with terminal access to the server (the module is installed with Composer or as a ZIP), and the store-view ID and public HTTPS address of the store view you track.
  • Admin access to the Google Ads account, to accept the customer data terms.

Set it up with AI

Connect your assistant

First time? Add the Product Metrics MCP server to your assistant, then paste the prompt below.

In Claude, choose Add custom connector; in ChatGPT, Settings → Apps & Connectors. Paste this URL:

https://www.productmetrics.io/mcp

Claude Code: run this in your terminal.

claude mcp add --transport http product-metrics https://www.productmetrics.io/mcp

CodexAll clients and details →

Paste the prompt into your assistant.

Turn on Enhanced Conversions for my Magento store in Google Ads with Product Metrics. Check my setup status first, walk me through each open step, and give me the link when I need to click something.
Turn on Enhanced Conversions for my Magento store in Google Ads with Product Metrics. Check my setup status first, walk me through each open step, and give me the link when I need to click something.
Turn on Enhanced Conversions for my Magento store in Google Ads with Product Metrics. Use the Product Metrics MCP server, or the productmetrics CLI with --json and the Product Metrics skills if they are installed (run `productmetrics help agents` first), and tell me when a step needs me in a browser.
Turn on Enhanced Conversions for my Magento store in Google Ads with Product Metrics. Use the Product Metrics MCP server, or the productmetrics CLI with --json and the Product Metrics skills if they are installed (run `productmetrics help agents` first), and tell me when a step needs me in a browser.

In the app

1. Check server-side tracking runs

Enhanced conversions are not a separate switch: once the store view sends orders to the Product Metrics conversion actions, each order carries the customer data it has.

You should see: every Product Metrics conversion action created under Tracking → Conversion actions. If not, finish server-side tracking for Magento in Google Ads.

In Tracking → Configure consent, choose the banner your shop shows: OneTrust, Cookiebot, Usercentrics or Osano. Magento’s own cookie restriction notice does not grant consent. With any other banner, your developer passes the visitor’s choices to Product Metrics: see Consent. Without either, ad user data stays denied and no customer data is sent. What each choice lets through: Consent.

You should see: Tracking → Configure consent names the banner your store view actually shows.

3. Accept Google’s customer data terms

Google rejects conversions with customer data until the account accepts its terms. Only you can do this, in Google Ads.

Two states of the Enhanced conversions card. Action required: Customer data terms Not accepted, with Open Google Ads settings and Re-check. Ready: Customer data terms Accepted, Enhanced conversions for leads On and Data Manager acceptance Accepted.Two states of the Enhanced conversions card. Action required: Customer data terms Not accepted, with Open Google Ads settings and Re-check. Ready: Customer data terms Accepted, Enhanced conversions for leads On and Data Manager acceptance Accepted.
Tracking → Google Ads → Enhanced conversions: Action required until the account accepts Google's customer data terms.
  1. In Product Metrics, open Tracking → Google Ads. Under Enhanced conversions, look at Customer data terms.
  2. If it reads Not accepted, select Open Google Ads settings. Under Customer data terms, choose View terms and agree.
  3. If Data Manager acceptance reads Rejected, select Turn on enhanced conversions. In Google Ads, open Goals → Settings, expand Customer data use, tick Turn on enhanced conversions, then agree and save.
  4. Select Re-check in Product Metrics.

If Product Metrics says Terms are managed on account with another number, that is your manager account. Accept the terms there.

You should see: Ready under Enhanced conversions. Re-check runs a new check. What each state means:

In the appWhat to do
ReadyNothing. Customer data goes with every consented order.
Setting upWait. Data Manager needs about 15 minutes to recognise new conversion actions.
Action requiredAccept the customer data terms, or turn on enhanced conversions (step 3).
Check failedReconnect Google Ads, or select Re-check in a moment.
Not checked yetOpen Tracking → Google Ads and select Re-check.
No Google Ads accountConnect Google Ads first.

4. Check an order

Place a paid test order in the connected store view with your payment provider’s test mode, and allow a few minutes for cron.

You should see: under Manage Magento, the desired and active revision numbers are the same, and the order appears for the linked property.

Fields sent

Customer dataWhere it comes from on MagentoSent to Google Ads as
Email addressThe Magento order; the module also passes the guest emailHashed email
Phone numberThe Magento orderHashed phone, with the country code and +
Name, country and postcodeThe Magento order’s addressHashed first and last name, with country and postcode, only as a complete set
Ad clickThe visitor’s click on your adgclid, gbraid or wbraid, with ad storage consent
New or returning customerThe customer’s order historySent with the conversion

Product Metrics only sends what the order already has. It adds no checkout fields and guesses nothing.

Troubleshooting

Orders are missing in Google Ads

Check that Tracking → Configure consent names the banner your store actually shows (step 2).

FAQ

Does Magento need a developer for Enhanced Conversions?

Only to install the Product Metrics module once, for server-side tracking. Enhanced conversions add no Google tag setting and no code on top of that.

Are guest checkout orders matched in Google Ads?

Yes. The module passes the guest email with the order, and the logged-in customer’s details for signed-in shoppers. Both are hashed with SHA-256.

No. Choose OneTrust, Cookiebot, Usercentrics or Osano under Tracking → Configure consent, or have your developer pass the visitor’s choices. Without either, no customer data is sent.

What if a visitor declines ad user data?

Google Ads still receives the order when the visitor allowed ad storage, but without the hashed customer data. With neither ad user data nor ad storage, the order isn’t sent.

Where next

Developers: do the same with the CLI or the API.