SEO, AdWords, affiliates, advertising, and promotions
Hey All -
I'm facing a problem that is delaying a bunch ad campaigns and could use some help. I am attempting to place Google Campaign Manager (doubleclick) floodlight tags that collect revenue and product information for sales on a Shopify site. I haven't found any good resources that outline how to place this tracking so I used Shopify's Google Ads conversion tracking as an initial resource (article here). Given the way shopify checkout works with Google Tag Manager, I placed the conversions pixel with the Global Site Tag on checkout settings "additional scripts" field. Here is the script I saved (I have removed client name and advertising ID):
<!-- Start of global snippet: Please do not remove
Place this snippet between the <head> and </head> tags on every page of your site.
-->
<!-- Global site tag (gtag.js) - Google Marketing Platform -->
<script async src="https://www.googletagmanager.com/gtag/js?id=DC-11308938"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'DC-12345678');
</script>
<!-- End of global snippet: Please do not remove -->
<!--
Event snippet for Client Name - Complete Sales on https://clientwebsite.com/: Please do not remove.
Place this snippet on pages with events you’re tracking.
Creation date: 01/11/2022
-->
<script>
gtag('event', 'purchase', {
'allow_custom_scripts': true,
'value': {{ checkout.subtotal_price | divided_by: 100.0 }},
'transaction_id': '{{ order_number }}',
'send_to': 'DC-11308938/sales0/power0+transactions',
'u2': '{{ currency }}'
});
</script>
<noscript>
<img src=https://ad.doubleclick.net/ddm/activity/src=12345678;type=mains0;cat=accou0;dc_lat=;dc_rdid=;tag_for... width="1" height="1" alt=""/>
</noscript>
<!-- End of event snippet: Please do not remove -->
The shop's main currency is USD. u2 is a custom property in campaign manager. The pixel has been placed for several days, all of which that registered transactions, and Campaign manager is not registering any pixel impressions.
Additional note: I placed a conversion linker and non-sales related floodlight counters via Google Tag Manager and those pixels are registering pixel impressions.
Any help is greatly appreciated.
@EmmanuelFlossie @josh_eubergang
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025