How to Setup E-commerce Conversion Tracking with Shopify & Google Ads

How do you setup conversion tracking for E-commerce websites while running Google Ads?

There’s an e-commerce client selling 100s of products on their Shopify store. I have primarily run lead generation ads where there were a handful of landing pages so conversion tracking was easy.
How would you setup conversion tracking in this case when the landing page and thank you page are different?

The short answer is:

How to setup Google Ads conversion tracking for a Shopify website?

The most robust and accurate method for setting up conversion tracking for a high-volume Shopify e-commerce store running Google Ads is a server-side implementation utilizing the Shopify API/webhooks, Google Tag Manager (GTM) Server-side container, Stape, and the Google Ads API or Google Ads Conversion Tag.

This approach involves configuring a Shopify webhook or a direct Shopify API call to send purchase data (transaction ID, value, currency, etc.) to your GTM Server-side environment hosted on Stape, bypassing client-side browser restrictions.

From the server, this secure, clean data is then forwarded directly to Google Ads.

This method solves the problem of disparate landing and thank-you pages by capturing the conversion event directly from the store’s backend system, making it highly reliable and resilient to ad blockers and browser changes, which ultimately provides better data for Google Ads’ bidding algorithms.

The long answer is:

The core problem of setting up reliable conversion tracking across numerous product pages and a separate thank-you page is solved by shifting the conversion event detection from the unreliable client-side (browser) to the resilient server-side.

For a Shopify e-commerce store, the recommended approach leverages the Shopify API/webhooks to securely transmit the necessary purchase data.

Instead of relying on a user’s browser to execute the Google Ads conversion tag on the thank-you page, you configure a Shopify webhook for the ‘Orders/create’ event, which triggers the moment a purchase is successfully processed.

This webhook sends a payload containing the complete transaction details – including order ID, revenue, products purchased, and customer information (for Enhanced Conversions) – to your GTM Server-side tracking endpoint, which is efficiently hosted on Stape.

This use of the Shopify API/webhooks is cost-effective because it uses native platform features to ensure high data quality, reducing wasted ad spend resulting from under-reporting or inaccurate conversion data.

Within the GTM Server-side container, you process this data and use a server-side tag to send the conversion event directly to Google Ads.

For high-volume or advanced data synchronization, integrating directly with the Google Ads API can provide even greater control, allowing for batch uploads of conversions and sophisticated management of offline and enhanced conversions, but the standard server-side Google Ads Conversion Tag is often sufficient.

This server-side methodology ensures that the conversion is tracked accurately regardless of the user’s browser or ad blocker status, providing maximum data fidelity to inform Google Ads’ automated bidding strategies, thereby maximizing the client’s return on investment.

Furthermore, you can leverage the same server-side setup to forward data to other marketing platforms, creating a single, reliable source of truth for all your conversion data, which is a highly cost-effective and scalable solution.

About The Author