Google Ads offline conversions for WooCommerce: Data Manager API guide

To report WooCommerce quote-to-close orders, phone sales or net-30 invoices back to Google Ads in 2026 and 2027, build on Google's Data Manager API rather than legacy Google Ads API offline upload integrations (which stopped onboarding new adopters on June 15, 2026). Capture gclid, gbraid and wbraid on landing, store them in WooCommerce order metadata, SHA-256 hash normalized buyer email/phone for enhanced conversions, and upload only confirmed revenue.

Updated By THTheme Editorial Team

Key facts

Browser pixel vs server-side offline conversion upload for WooCommerce
DimensionBrowser conversion tagOffline / Data Manager API upload
Ad blockers and ITPDrops events whenever scripts or cookies are blockedNot blocked by browser extensions
Request-a-quote / net-30 invoicesFires on form submit before real order value is knownUploads exact paid invoice total when order settles
Deduplication keytransaction_id on thank-you pageSame WooCommerce order_id sent via API
Refund adjustmentsRequires separate adjustment uploadCan send retractions and restatements from order hooks

1. Capture and persist click identifiers in WordPress

Browser query parameters disappear the moment a shopper clicks a second page. Store incoming click IDs on the visitor's first hit using a first-party cookie (respecting Consent Mode choices) for up to 90 days:

When a visitor submits a request-a-quote form or completes checkout, copy those cookies into hidden fields or WooCommerce HPOS order meta via $order->update_meta_data().

2. Normalize and hash user identifiers properly

When no click ID is present (or alongside gclid for Enhanced Conversions for Leads), Google matches normalized, hex-encoded SHA-256 customer fields:

  1. Email: strip leading and trailing spaces, convert to lowercase, and strip dots in the local part for gmail.com and googlemail.com addresses before hashing.
  2. Phone: format strictly in E.164 (for example, +13055550199) with no spaces, dashes or parentheses before hashing.
  3. Never double-hash or hash placeholder values such as n/a or empty strings; omit missing fields instead.

3. Trigger uploads on real revenue events

Hook your upload queue to WooCommerce's woocommerce_order_status_completed or payment-captured webhook (never raw draft creation). Run API requests asynchronously through Action Scheduler (bundled inside WooCommerce) so checkout speed is never slowed by an external network call.

If your store relies on HubSpot, Salesforce or custom quoting pipelines and conversion counts do not reconcile with Google Ads, AttributionRepair (same owner as THTheme) specializes in Google Data Manager API, server-side GTM and ad-to-CRM attribution repair (starting with a $1,000 audit).

Attach explicit consent status flags (ad_user_data and ad_personalization) for EEA/UK users per Google's EU user consent policy. After enabling daily or hourly uploads, audit Google Ads diagnostics weekly for rejected timestamps, expired click windows (typically 90 days), formatting errors and duplicate transaction IDs.

For browser-plus-server setup covering Meta alongside Google, read server-side GTM and Meta CAPI for WooCommerce.

FAQ

Why not use the older Google Ads API offline conversion tutorial?

Google's documentation directs new offline-conversion integrations to the Data Manager API after Google Ads API stopped onboarding new offline-conversion adopters on June 15, 2026.

Is WooCommerce HPOS compatible with storing gclid in order meta?

Yes, as long as your code uses WooCommerce CRUD methods ($order->update_meta_data and $order->get_meta) followed by $order->save(), rather than writing directly to wp_postmeta.

Should I upload conversions if I already have the Google Ads browser tag installed?

Only if you pass the identical order_id as transaction_id for deduplication, or separate quote submissions (secondary) from confirmed paid orders (primary) so conversions are not double-counted.

Do I need consent before uploading hashed customer email addresses?

Follow applicable privacy laws and Google's EU user consent policy for EEA/UK traffic by storing the visitor's consent state at order time and transmitting accurate consent flags with each API event.

Sources