Sadly not yet
Topic summary
A critical incompatibility exists between Shopify’s Custom Web Pixels feature and Google Ads conversion tracking. The gtag.js script loads successfully within Custom Pixels but fails to export conversions, while the same code works properly when implemented directly in theme files.
Root Cause & Resolution:
- Initial issue stemmed from cross-domain restrictions in the Custom Pixel sandbox environment preventing gtag.js from loading via googletagmanager.com
- Google shipped a fix addressing the Ads tag’s inability to correctly detect sandboxed iframes
- Conversions are now being captured successfully for most users
Ongoing Issue:
A new error has emerged: Failed to execute 'joinAdInterestGroup' on 'Navigator' from td.doubleclick.net. One working solution involves disabling interest groups:
gtag('config', 'AW-1234', { allow_interest_groups: false });
This requires separate, property-specific config calls rather than common configuration.
Alternative Approaches:
- Using postMessage to send data from Custom Pixel to main window
- Loading GTM via Custom Pixel with “Google Ads Conversion Tracking” tags
- Creating custom dataLayer events that push conversion data to GTM
- Temporarily reverting to Additional Scripts implementation
The discussion includes test stores and screenshots demonstrating the problem and various workarounds.