Cherry Seed

How do I track WooCommerce purchases in Google Ads?

google-ads woocommerce conversion-tracking enhanced-conversions server-side

Quick Answer

A WooCommerce tracking plugin sends purchase conversion events to Google Ads by connecting your Conversion ID and Conversion Label to the plugin's settings interface. When a customer completes checkout, the plugin fires a conversion event containing the transaction value, currency, and order ID to Google Ads via its tracking API. According to Google's conversion tracking documentation, adding Enhanced Conversions — which sends hashed first-party customer data alongside the conversion — improves match rates by 5-15%. Server-side delivery via the Google Ads API ensures the conversion reaches Google even when browser-side scripts are blocked by ad blockers or Safari ITP restrictions.

Full Answer

Tracking WooCommerce purchases in Google Ads requires connecting your store's order completion events to Google's conversion measurement system, and the implementation method directly impacts how much revenue Google Ads can see and optimise against.

The basic setup involves two pieces of information from your Google Ads account: the Conversion ID and the Conversion Label. Enter these in your WooCommerce tracking plugin's Google Ads configuration section. When a customer completes a purchase, the plugin fires a conversion event containing the order value, currency code, and transaction ID.

Enhanced Conversions adds a layer of first-party data matching. In addition to the conversion event data, the plugin hashes the customer's email address, phone number, and billing address using SHA256 and includes this data in the conversion payload. Google matches this hashed data against its signed-in user graph, recovering attribution for conversions where the original gclid cookie has expired.

The delivery method matters as much as the data. Browser-side conversion tracking using the gtag.js snippet depends on JavaScript executing in the visitor's browser. If the visitor uses an ad blocker or Safari with strict tracking prevention, the conversion script may never fire. Server-side delivery eliminates this dependency by transmitting the conversion data from your WordPress server directly to the Google Ads API.

For Smart Bidding campaigns, the combination of Enhanced Conversions and server-side delivery provides the most complete conversion data possible, giving Google's algorithms the signal density they need to optimise bids effectively across all browser environments.

Sources

Programmatic Access

GET https://seresa.io/wp-json/cherry-tree-by-seresa/v1/seeds/795

Cite This Answer

Cherry Tree by Seresa - https://seresa.io/seed/wordpress-woocommerce/easiest-woocommerce-tracking-google-ads-woocommerce