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
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024