We’ve recently heard that the integration between GA4 and Google Ads may be underreporting conversions when Google Ads. Although the cause of these problems is not yet fully understood, it appears to be related to the integration between the two platforms. To address this issue and provide a backup option for tracking Google Ads conversions on Shopify stores, we provide the code below to integrate Shopify directly with Google Ads, instead of relying on Google Analytics.
Note this will work for most stores but is not fully tested.
Get all the GA4 e-commerce reports you need in under a minute, directly from the Shopify admin for just $10 a month.
{% if first_time_accessed %}
<script>
gtag('event', 'conversion', { 'send_to': 'AW-CONVERSION_ID/CONVERSION_LABEL', 'value': {{ total_price | money_without_currency }}, 'currency': '{{ currency }}', 'transaction_id': '{{ order_number }}' });
</script>
{% endif %}To establish a direct integration between Google Ads and your website, bypassing Google Analytics, follow these steps:
To incorporate the conversion tracking code into your Shopify store, follow these steps:
While issues persist with the Google Analytics 4 and Google Ads integration, this workaround provides a reliable backup option for tracking conversions on your Shopify store. By establishing a direct integration between Google Ads and your website, you can ensure accurate data flow without relying solely on Google Analytics. Stay tuned for updates as more information becomes available. We hope you find this workaround helpful. If you'd like to see more videos like this, consider subscribing to our YouTube channel. Additionally, check out our app, Slide Rule Analytics, designed specifically for Shopify stores, and our "Intro to Google Analytics 4 for Shopify Stores" course available on our website.