Shopify Customer Events (Pixels): gTag - Conversion Tracking (w/Enhanced Conversions)

  Рет қаралды 2,466

Alessandro Colarossi

Alessandro Colarossi

Күн бұрын

Welcome to our comprehensive guide on setting up conversion tracking with enhanced conversions using gTag on Shopify! In this video, we'll walk you through the step-by-step process to implement the gTag script for tracking customer events and conversions.
🔍 What You Will Learn:
Implementing gTag for Conversion Tracking: How to add the gTag script to your Shopify store for tracking conversions.
Enhanced Conversions: Learn how to capture additional customer data (like email and phone number) for improved conversion tracking.
Real-Time Tracking: How to subscribe to the checkout_completed event and send transaction data to Google Ads.
Don't miss out on maximizing your marketing efforts with precise and effective conversion tracking!
📄 Code for this tutorial is found in the first comment.
🔔 Subscribe to our channel for more tutorials on Shopify and digital marketing strategies.
👍 Like this video if you found it helpful and share it with others who might benefit from it!
📣 Leave a comment below if you have any questions or need further assistance. We're here to help!
#Shopify #ConversionTracking #EnhancedConversions #gTag #DigitalMarketing #Ecommerce #ShopifyTutorial #GoogleAds #MarketingAutomation #ShopifyIntegration

Пікірлер: 41
@Alessandro-Colarossi
@Alessandro-Colarossi 3 ай бұрын
//replace abc123 with your google ads conversion tracking tag conversion ID and replace blahblah with your conversion label const script = document.createElement('script'); script.setAttribute('src', 'www.googletagmanager.com/gtag/js?id=AW-abc123'); script.setAttribute('async', ''); document.head.appendChild(script); window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-abc123'); //gtag ends here //ec + purchase code starts here analytics.subscribe("checkout_completed", (event) => { gtag('set', 'user_data', { "email": event.data.checkout.email, "phone_number": event.data.checkout.phone }); gtag('event', 'conversion', { 'send_to': 'AW-abc123/blahblah', 'value': event.data.checkout.totalPrice.amount, 'transaction_id': event.data.checkout.order.id, 'currency': event.data.checkout.currencyCode }); });
@raigenx19wtf
@raigenx19wtf 3 ай бұрын
Hey man, I've been watching your helpful tutorial videos ever since I discovered your channel. Just started learning GA4/GTM. Your tutorials are gold mine for us (non-coders/developers)
@Alessandro-Colarossi
@Alessandro-Colarossi 3 ай бұрын
Good to hear. Have a good one and thanks for the comment.
@mely-qm5jy
@mely-qm5jy 19 күн бұрын
This is the most helpfull thing for me to my store. Thank you very much.
@Alix3-t3j
@Alix3-t3j Ай бұрын
Hello, Thank you for this very informative video. I have carefully followed the different steps for setting up on Shopify. I have a question: when implementing enhanced conversions, I am asked to choose a method for configuring and managing the data provided by users: Google Tag, Google Tag Manager, or Google Ads API. Following your method, which one should I choose, please? What is the impact of this choice on the conversion setup? Additionally, I am using the Google and KZbin app available for my Shopify store (I will delete the conversion for purchase that is automatically created for your method and keep the others that are working correctly). Thank you in advance for your help.
@Alessandro-Colarossi
@Alessandro-Colarossi Ай бұрын
Choose Google tag. And yea you can disable the google/KZbin app. Thanks for watching!
@majovainilla
@majovainilla 2 ай бұрын
Thank you so much for sharing this! I've been looking around for documentation and this has been great. Question: once I create the pixel do I need to remove the code from Additional Scripts? Thanks!
@Alessandro-Colarossi
@Alessandro-Colarossi 2 ай бұрын
Yes you do, or else you will double count. All the best - alessandro
@mehdidaroui6171
@mehdidaroui6171 3 ай бұрын
Hello Sir, Thank you very much for your videos. I am actually facing some serious issues with conversions tracking. I do have consent mode v2 + consent tags installed on tag manager. I tried the simprosys tag, the ga4 tag and one through tag manager and they are all missing more than 70% of my conversions. My cookie banner gets 92% of consent so it's not the problem. What do you recommend me to do here ? I tried everything and everytime people tell me i'm supposed to get 85/90% of conversions and google just get like 20-30% of the conversions now. So gads doesn't wanna spend because it doesn't record all the conversions. It's driving me crazy... I would be really rateful if you could help me to solve this huge issue.
@mediocreking698
@mediocreking698 24 күн бұрын
Hi, thank you for the help. one question though. Someone did a similar video to you, and he said to remove GTM from the Shopify Liquid theme to not duplicate the conversions. But i want to keep GTM to track emails, calls and form submissions. Do i really need to completely remove GTM or do you think the guy meant to remove only the purchase conversion tag from GTM. Thanks!
@Alessandro-Colarossi
@Alessandro-Colarossi 24 күн бұрын
The code in the comments I'm providing only handles Google Ads conversion tracking with enhanced conversions. It tracks purchase conversions, so if you have other Google Ads conversions doing the same thing with the same conversion label, then remove it.
@hamzabashirs
@hamzabashirs 3 ай бұрын
Hi should I follow your this method or the method that you shared with GTM for tracking. I am confused now. Can you please guide.
@Alessandro-Colarossi
@Alessandro-Colarossi 3 ай бұрын
You can do this one, or you can do the GTM one. The GTM one includes full GA4 enhanced e-commerce, so if that and Google tag manager Is of interest to you then you can do that one and not this one. If JUST conversion tracking with enhanced conversions is useful to you then ONLY follow the instructions in this video.
@hamzabashirs
@hamzabashirs 3 ай бұрын
@@Alessandro-Colarossi thanks a lot
@adventurer2395
@adventurer2395 Ай бұрын
I've done everything correctly, filtered the network requests for the correct tag label to confirm the correct conversion, but the conversion is still not recorded in Google Ads. I even console logged the data being sent is correct. Still nothing gets recorded in Google Ads for my particular conversion label.
@Alessandro-Colarossi
@Alessandro-Colarossi Ай бұрын
Are you sure conversions are being recorded through Google Ads? For conversions to be tracked in a conversion tracking tag, an ad click must precede the purchase on your website, and a conversion action from the ad account where the ad click originated must be triggered. Did an ad click trigger a conversion?
@adventurer2395
@adventurer2395 Ай бұрын
@@Alessandro-Colarossi The conversion doesn't get recorded if I make a manual purchase even if the right event and label gets fired? Only if it's through an ad? What's the best way to test without clicking on your own ads?
@alessandrocolarossi2806
@alessandrocolarossi2806 Ай бұрын
​​@@adventurer2395 if it's working in the network tab that's all that matters, it will only register in Google ads if an ad is clicked before it fires.
@Alessandro-Colarossi
@Alessandro-Colarossi Ай бұрын
@@adventurer2395 Let the network tab be your source of truth in terms of whether the conversion tracking tag is firing correctly. It will only show in the Google Ads interface as a conversion if an ad from that google ads account was clicked before the conversion took place. Hope this helps!
@klyons731
@klyons731 3 ай бұрын
Alessandro, THANKS for doing this video!! Came in handy at just the right time! I set it up and everything works great! Quick related question. Do you know if there is any similar training for Microsoft Ads conversion tracking? Or a strategy for how to handle that Thanks again for everything!
@Alessandro-Colarossi
@Alessandro-Colarossi 3 ай бұрын
Totally - I've got another version of this tagging for Shopify. It's labeled as Version 3 and comes with a Google Tag Manager container. Check out the video for it. The idea is that you can fire any tag-Microsoft, TikTok, Facebook, or whatever-from the Google Tag Manager triggers that are already present. kzbin.info/www/bejne/Zp_dmaZmdtBknKc
@klyons731
@klyons731 3 ай бұрын
Perfect!I I will check out that video. One other quick question. Once I set-up the Google Tag Manager (using new video) I should delete the current gtag pixel I created (using this video), correct?
@Alessandro-Colarossi
@Alessandro-Colarossi 3 ай бұрын
@@klyons731 Yeah - the one with google tag manager allows you to just update you conversion id and label in GTM and you're done. Full instructions here: triangledigital.xyz/shopify-datalayer-gtm-install
@klyons731
@klyons731 3 ай бұрын
@@Alessandro-Colarossi Got it! Tks
@VaibhavParmar-jv9mf
@VaibhavParmar-jv9mf 3 ай бұрын
Hello @Alessandro-Colarossi I try to add custom event by gtag your way but in my thankyou page not show any response in Network tab with Conversion Label so can you suggest me what exactly issue in method. Note: I have added same code that you pin in comment with replace my own conversion ID and use Google Ads Conversion Tracking tag type with custom event Tigger
@Alessandro-Colarossi
@Alessandro-Colarossi 3 ай бұрын
Try the version 3 -- video just posted.
@dv-online
@dv-online 23 күн бұрын
i followed every step in the video but my Google Ads conversion action is still showing as 'Inactive'. I did troubleshoot it and made a purchase and it did not detect the tag after purchase was completed.
@Alessandro-Colarossi
@Alessandro-Colarossi 22 күн бұрын
If the conversion label loads in the chrome network tab with a 200 or 204 response then everything will be fine in Google ads. Thanks!
@WEISUN-o9d
@WEISUN-o9d 25 күн бұрын
thanks for the video. After following the instruction, the conversion tracking is working, but enhanced conversion tracking still not working? Any issue? Or I need to wait a couple of days before it starts recording enhanced conversion tracking? Thanks.
@Alessandro-Colarossi
@Alessandro-Colarossi 25 күн бұрын
@@WEISUN-o9d you need to wait until you have enough emails to match. If you see the email parameter in the network tab, it's working.
@GiorgioMarcianoVanStraalen
@GiorgioMarcianoVanStraalen 3 ай бұрын
Hello Alessandro, First of all thanks for all the helpfull videos! I've send some to an agency that struggled with some things and they were very thankfull. I've just followed the steps in your video about the GA4 setup for Shopify that also contains a G-Tag Config Tag. So would this video add anything to the setup if done right now?
@Alessandro-Colarossi
@Alessandro-Colarossi 3 ай бұрын
Thanks for sharing the vids. This vid is a different way of implementing Google ads conversion tracking. The other videos use google tag manager which has conversion tracking in it. Some people don't want to use google tag manager, that's why this video was made.
@DiwRules
@DiwRules 2 күн бұрын
same issue...it cant detect a conversion and says its inactive
@Alessandro-Colarossi
@Alessandro-Colarossi 2 күн бұрын
Is it firing in the network tab?
@adventurer2395
@adventurer2395 Ай бұрын
In reference to the network requests you showed, the second one is a document, which in my case is getting blocked. The first request, a script, is getting a 200. Would a block of the second document cause any issue even if the first script gets a 200?
@Alessandro-Colarossi
@Alessandro-Colarossi Ай бұрын
As long as you get a 200 or a 204, you're fine.
@adventurer2395
@adventurer2395 Ай бұрын
Where did you get the code from 1:55?
@Alessandro-Colarossi
@Alessandro-Colarossi Ай бұрын
In the comments section.
@adventurer2395
@adventurer2395 Ай бұрын
@@Alessandro-Colarossi I mean where did you obtain the original code?
@Alessandro-Colarossi
@Alessandro-Colarossi Ай бұрын
@@adventurer2395 From Google's help center documentation then I made it work with customer events.
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 57 МЛН
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
At the end of the video, deadpool did this #harleyquinn #deadpool3 #wolverin #shorts
00:15
Anastasyia Prichinina. Actress. Cosplayer.
Рет қаралды 19 МЛН
🔧 Troubleshooting Conversion Tracking in Google Ads for Shopify  (4K)
12:06
Tim Sutton | Google Ads for Shopify
Рет қаралды 375
How to Install CONSENT MODE V2 on Shopify | Google Ads [MARCH 2024]
9:10
Scale Me - Pierre
Рет қаралды 2,6 М.
How Shopify Pixels Work [Updated Features]
9:56
BitBranding
Рет қаралды 9 М.
Google Ads Conversion Tracking (Shopify Checkout Extensibility Update)
8:23
Myles Root - Google Ads for eCommerce Brands
Рет қаралды 6 М.
Shopify Store Design Tutorial 2024 - Full Website Guide
1:23:27
Santrel Media
Рет қаралды 88 М.
The COMPLETE Google Local Service Ads Guide
1:21:10
CLIXSY
Рет қаралды 58 М.