Install Google Analytics on Shopify (using a Custom Pixel and GTM)

  Рет қаралды 12,967

Loves Data

Loves Data

Күн бұрын

Пікірлер: 128
@andymandc
@andymandc 5 ай бұрын
Thanks for this. I'm changing my site to use these pixels from your previous implementation using additional scripts. In addition to removing things from additional scripts, is there anything else I'll need to change if I followed your previous GTM-GA4 guide? Thanks!
@silktopia1227
@silktopia1227 3 күн бұрын
should the tag work on the cart page? tag manager telling me it's untagged. Great work and thanks in advance.
@StephenCox-du3jb
@StephenCox-du3jb Ай бұрын
I have implemented this Shopify custom puxel , should I just delete all other tag, triggers etc from my Tag Manager account now? Thanks for the great video
@gx93117
@gx93117 3 ай бұрын
Thank you, this helped so much. It's been a tough couple of years trying to keep up with adding in Google Tag Manager, switching from Universal Analytics to GA4, Google Ads UI changes, Shopify checkout.liquid to customer event pixel, new cookie enforcement and privacy laws effecting browsers and devices. And merging mobile app analytics on top of all that. Been in the tech space for 30 years and have never seen this much chaos all at once regarding tracking.
@freeskierjim
@freeskierjim 7 күн бұрын
i'm there with you, seems like I can never relax
@fionasmallwood4791
@fionasmallwood4791 3 ай бұрын
This is the best most clear tutorial around! Thank you
@YasminFilms
@YasminFilms 4 ай бұрын
Thanks Benjamin - I was wondering if you were adding the container to an existing one with a Google Tag already set up, does the trigger 'Shopify page view' replace 'initialisation - all pages'? So it's effectively the same thing but with cleaner urls? Thank you!
@francescomiglietta2377
@francescomiglietta2377 3 ай бұрын
Thank you for your tutorial! The conversion actions will be automatically shown in google ads account, in conversion page?
@mattimina286
@mattimina286 2 ай бұрын
Awsome! Thanks, just one question: What about pushing user_data to be used for Meta or Google ads? thanks!!
@UkeFine
@UkeFine 5 күн бұрын
What'd the difference between 'shopify_page_view' event than just the regular "page_view" event?
@robertobarorebolledo8578
@robertobarorebolledo8578 4 ай бұрын
Benjamin! Many thanks for your work! There is only one thing, on my data stream of my google tag, appears an error that says that the quality of my tag require attention. The issue is that apparently some of my pages are not tagged. How can I solve this problem? Many thanks
@puravupadhyay2961
@puravupadhyay2961 2 ай бұрын
Thank you this is a very useful tutorial. I have a question: why is the Google Analytics tag in the Tag Assistant Legacy extension is showing this error: "Invalid or missing web property ID"?
@marcindepczynski4215
@marcindepczynski4215 2 ай бұрын
Every time I'm watching your videos Tina Turner sings in my head 'You Simply The Best!'
@JBV7272
@JBV7272 4 ай бұрын
So, do we need to delete all the code that we installed for analytics, ad manager and Tag manager from theme.liquid? Can we do this custom pixel AND keep the Google and youtube channel?
@priyankadasila1129
@priyankadasila1129 5 ай бұрын
Do we need to disconnect GA4 from configuration within Shopify?
@nishmamaskey7636
@nishmamaskey7636 Ай бұрын
Same question, do we need to remove Google & KZbin app from Shopify where we have configured GA4 from there? Because although this integration track basic events, we want to track more events like 'view_list_item' on collection pages, and more.
@aldrin-google-ads
@aldrin-google-ads 5 ай бұрын
Aside from removing the GTM code from Checkout and theme.liquid, do we also need to disconnect Google Analytics in Google & KZbin app?
@samburbon
@samburbon 5 ай бұрын
Would like to know that too!
@luxeloomspot
@luxeloomspot 4 ай бұрын
Would like to know that too!
@OllieNicol
@OllieNicol 3 ай бұрын
i would imagine the answer to be yes or you could experience double reporting...
@aoerdanny
@aoerdanny 27 күн бұрын
After the above explanation and practice, let me answer common questions for you. In addition to deleting the GTM code in Checkout and theme.liquid, we need to disconnect Google Analytics in Google and KZbin applications, because Google and KZbin applications actually integrate the corresponding code, and these codes do not use conditional logic to prevent repeated loading, so you only need to add a custom pixel code once in the customer event to achieve global loading.
@ajk-s1e
@ajk-s1e 5 ай бұрын
Great Video, but does it track the google ads conversion, or it will need aditional step to connect Google Ads conversion with Pexels? Thank you!
@think-about-it-777
@think-about-it-777 4 ай бұрын
You should be setting up those conversions in tag manager... Google that. you'll figure it out if you got this far.
@sektabg
@sektabg 21 күн бұрын
It doesn't work for me either. In the real-time report, I see the events being reported, but in the Google Tag Manager preview, it says that the GTM was not found. In this case, can I upload the GTM separately, and will that not cause duplication? And it matters that I am in Europe, and in the placement of the script on the permission, I have set 'not required?
@ProChef.Israel
@ProChef.Israel Ай бұрын
so what is the difference between the google ap for shopify and that custom pixel? what is better?
@marekhozak775
@marekhozak775 5 ай бұрын
Thanks for the tutorial! :) I followed your guidance and can see all events except purchase. Do you have any idea why this is happening?
@robertobarorebolledo8578
@robertobarorebolledo8578 4 ай бұрын
Hi there Benjamein, many thanks. With this, how can we create a google ads enhaced conversion with this method?
@rupertperry9229
@rupertperry9229 3 ай бұрын
Average engagement time doesn't seem to be tracking - is there a way to pass the events related to this through GTM as well?
@astondavies1888
@astondavies1888 3 ай бұрын
Did you figure this out yet? It's a big problem with his integration it seems.
@rupertperry9229
@rupertperry9229 3 ай бұрын
@@astondavies1888 Sent Benjamin an email and he said it is a limitation of the Shopify Sandbox unfortunatley.
@xoxocherryofficial
@xoxocherryofficial 3 ай бұрын
Please recommend settings for customer privacy and data sales when using Shopify's native cookie banner.
@CSKTA
@CSKTA 3 ай бұрын
Would this work on existing GTM or Do I need to create a new one?
@АртемГодунов-х5ф
@АртемГодунов-х5ф 3 ай бұрын
Hi, great tutorial. All these new features about Custom pixels are complicated. Could you please help? We have a Google Analytics connected via Google & KZbin app. 1. Do we still need to add Google Tag Manager as a Customer event? 2. In Shopify article about GA4 it's said: "After you set up GA4 on your store, the following events are automatically tracked. Events (page_view, search, view_item, add_to_cart, begin_checkout, add_payment_info, purchase)". Do we still need to add "analytics.subscribe" events in a Custom pixel? 3 - Do we need to connect Google Tag Manager and Google Analytics if we have GA4 connected in Google & KZbin app?
@nishmamaskey7636
@nishmamaskey7636 Ай бұрын
I had same questions, you are correct that Shopify's Google & KZbin app tracks most of the basic events and this is the simplest integration, however, you can add custom pixels to send more information to other 3rd party like Google Ads or maybe if you want to track other events like 'view_list_item' that Shopify's default integration does not offer by default.
@antti1155
@antti1155 3 ай бұрын
my client is using Claviyo forms and we do have a listener to track those. The listener seems not to be working with the custom pixel GTM installation and we needed to add GTM snippet to the . Any workaround? Does the GTM code have to be in the custom pixel code?
@geoffroydautichamp
@geoffroydautichamp 4 ай бұрын
Hello, many thanks for the tutorial. I followed your instruction but I get the following error message in GTM : Container quality: Needs Attention Some issues are detected that may need your attention. The issue is that some pages are not tagged. Do you have any idea why ?
@waynefoster8628
@waynefoster8628 3 ай бұрын
Great stuff - would you consider refactoring the code a little to remove duplicate lines of logic? Is there a way in which the code can be hosted within the theme (point to an external javascript file within the pixel) - it seems fragile to keep the code maintained in a text area - at least checkout.liquid was version controlled. Will be circling back here closer to the August 25 switch off date.. Good job.
@jasonpower6769
@jasonpower6769 4 ай бұрын
presumably if using this the Google & KZbin app should be disconnected for analytics?
@LovesData
@LovesData 4 ай бұрын
That’s correct. You will generally just want to use one method to install GA4 (and other tags) at a time.
@RoyBielewicz
@RoyBielewicz Ай бұрын
Was looking at your documentation, and noticed that it includes coupon amount, but does it pass the coupon code that was used?
@AlessioDePadova
@AlessioDePadova 3 ай бұрын
Thanks for the tutorial. Nonetheless, I am seeing that while the purchase and the begin_checkout events are sent to GTM perfectly, every store my company is managing seems to have problems with the events in the middle, payment and shipping info events. I can see in your video you are not showing in Google Tag Assistant those two events so I wanted to ask you: does everything work perfectly for you or even in your case from begin_checkout to purchase GTM seems to be, I would say, "inactive"?
@romaincalvignac4190
@romaincalvignac4190 6 күн бұрын
did you find a solution I also don't have the purchase event
@sargsyangarik6420
@sargsyangarik6420 3 ай бұрын
There isn't any user_engagement event and engegement_time_msec parameter also. How can we fix this?
@lidera2006
@lidera2006 3 ай бұрын
this one I would like to know as well
@Brian-ce7ol
@Brian-ce7ol 2 ай бұрын
Does this mean that we should turn off the page views in enhanced measurement? since you are firing a custom page view
@vvss958
@vvss958 6 күн бұрын
Can you please make complete video guide for facebook events like view content, add to cart , initiate checkout, purchase using same setup
@diariodeumambicioso
@diariodeumambicioso 3 ай бұрын
can I track purchase event with this implementation?
@SteveDomingues-j8l
@SteveDomingues-j8l 3 ай бұрын
Do you have a video on how to add google ads with enhanced conversion into GTM for shopify?
@WaqasAhmed-fx4ii
@WaqasAhmed-fx4ii 5 ай бұрын
Thanks for great video, do we need to put header code of GTM in theme.liquid as well?
@klaldju
@klaldju 5 ай бұрын
nope, remove the code from liquid otherwise the plugin shows duplicate GTM
@nayabsiddiqueshaik2686
@nayabsiddiqueshaik2686 4 ай бұрын
@@klaldju We should also disconnect Shopify's Google & KZbin app with GA4 no?
@loeloeba
@loeloeba 3 ай бұрын
I am importing the GA4 data into Ads. Could you provide us with a tutorial to add Enhanced Conversion tracking in Google Ads?
@erickbrenes2319
@erickbrenes2319 4 ай бұрын
@LovesData do you have a walkthrough or explanation on the container provided? Mainly around the "GA4 | Ecommerce Events" trigger and "Google Analytics |GA4 | Ecommerce" tag.
@DoomCatcher
@DoomCatcher 4 ай бұрын
Very helpful especially providing the code and container
@LovesData
@LovesData 4 ай бұрын
Awesome!
@HomeLiving-i3f
@HomeLiving-i3f 3 ай бұрын
The video is great, but the engagement time is missing since the customer event has been set. does anybody know how to fix this
@metallica12xD
@metallica12xD 2 ай бұрын
Thank you very much for your great explanatory video and complete files! Can you make a video explaining how to track additional custom events in a webpage? (For example - Completing a form). Thank you!
@FeliceCarotenuto
@FeliceCarotenuto 4 ай бұрын
Excellent Tutorial, I signed up at the link in the description but there is no GTM-Shopify-Custom-Pixel.txt file, where can I find it?
@LovesData
@LovesData 4 ай бұрын
I’ve sent you an email.
@FeliceCarotenuto
@FeliceCarotenuto 4 ай бұрын
@@LovesData Thank you 🙏
@lealealandb
@lealealandb 4 ай бұрын
Thank you so much for all help in this video and detailed setup files🤩
@jameslindsay7846
@jameslindsay7846 28 күн бұрын
After some testing and review, it seems that even if a 3rd party CMP is used, such as CookieBot. We found that even before consent was given, a Cookie was getting set by GA (which isn't okay in a GDPR region). We tried various tests and eventually found that the issue was resolved when we set the pixel to 'requires permissions'. This might be a bug from Shopify, but worth looking into.
@KasperWePackMarketing
@KasperWePackMarketing 3 ай бұрын
You have referrer as a datalayer variable in gtm, but does not mention it... What is it? And do you insert that into customer events?
@PtitP0i
@PtitP0i 6 күн бұрын
So much value thank you
@umairmaqbool1680
@umairmaqbool1680 5 ай бұрын
Hi I have a concussion, you have import this template from GTM. Can we don't create datalayer through this method and then create tag, triggered and variables and then pass everything? Thanks
@PPCTeam-bi9ik
@PPCTeam-bi9ik 4 ай бұрын
Hey, I have GTM head and body pasted in the theme.liquid file, should I delete that, for this to work?
@MaudPraud-m9y
@MaudPraud-m9y 2 ай бұрын
Hello, It seems the Google Analytics is working but not sure haha! How can I check that everythin is all set as the Legacy extension is not working anymore
@DabrowkaLewandowskaDidierLab
@DabrowkaLewandowskaDidierLab 4 ай бұрын
How to make consent mode V2 work with this pixel?
@mataadvertising
@mataadvertising 4 ай бұрын
m'hai svoltato la vita (english traduction from italian: you made my day)
@NathanielScottYT
@NathanielScottYT 5 ай бұрын
How does this affect conversion events in Google Ads? I want to ad conversion events to my ads, no idea where to start! Using Shopify :)
@think-about-it-777
@think-about-it-777 4 ай бұрын
your best solution is going to be to hire a Shopify developer to just make the problem disappear... I'm not saying that to be rude. I'm just pointing out that based on the context of your question, it's really clear to me: this is the best solution for you.
@jackzhou8944
@jackzhou8944 5 ай бұрын
I hope you update how to set up google ads Add to Cart, Start Checkout, Purchase Success Event. Thank you very much.
@WaqasAhmed-fx4ii
@WaqasAhmed-fx4ii 5 ай бұрын
Also make a video for setting up consent mode V2 on Shopify, please.
@originalmarshmello
@originalmarshmello 5 ай бұрын
Can I use my G-EXAMPLE identifier from my GA4 Tag in place of the GTM-EXAMPLE?
@originalmarshmello
@originalmarshmello 5 ай бұрын
No you cannot do this.
@jackzhou8944
@jackzhou8944 5 ай бұрын
Hi, I followed your tutorial to add to shopify GTM code has worked, but using the add to cart event, goolge ads are not detected!😊
@sajjadhussain.
@sajjadhussain. 4 ай бұрын
Please could you make one video about Google ads remarketing tag i have code for outdated method But for customer events I don't have I implemented GTM Data Layer for GA4 and Google Ads but not able to implement Remarketing tag
@KamalSharma7
@KamalSharma7 4 ай бұрын
Thank you for the tutorial. I followed each and every step. I could see tags using the extension you have mentioned. But while using tag assistant debugger none of the tag was fired. I am wondering why that is. Could you please assist here?
@LovesData
@LovesData 4 ай бұрын
As I explain in the video, you can’t use Tag Assistant because of the way the Shopify Custom Pixel works. You need to use the Realtime report and/or the legacy Tag Assistant add-on in Chrome.
@ctrstrategy
@ctrstrategy 4 ай бұрын
@@LovesData So anything that we put in the tags container in our GTM will NOT show up in the debug view? We need the debug view to be able to send FB events etc based on events that are being sent from the data laters.
@ЖеняШвец-к5ы
@ЖеняШвец-к5ы 4 ай бұрын
@@LovesData At what minute did you explain this? I haven’t slept for 3 days to solve this issue. In fact, I like this solution because it allows you to really precisely control the cookies if you check the box at the beginning of the pixel settings, not just like you did in the video. I think this is the best solution. Thank you
@ЖеняШвец-к5ы
@ЖеняШвец-к5ы 4 ай бұрын
@@ctrstrategy I also want to hear the answer to this wonderful question.
@UlusalCagdasCalm
@UlusalCagdasCalm 3 ай бұрын
​@@ЖеняШвец-к5ы Please help me guys. I want to set up Google Ads purchase event with GTM. I want to debug this event with GTM debug mode but in my website's checkout page GTM debug mode is not working. Please help me, I can't fix this problem.
@myliferecorded
@myliferecorded 3 ай бұрын
Such a huge help, thank you!
@think-about-it-777
@think-about-it-777 4 ай бұрын
lol. "Well done". I see what you did there and I don't know if it was intentional... but either way bravo.
@onurkoluk6593
@onurkoluk6593 4 ай бұрын
why do you think so? can you explain it
@juergenmusic
@juergenmusic 5 ай бұрын
Excellent Tutorial, thanks!
@ahmedbinmahmud8116
@ahmedbinmahmud8116 5 ай бұрын
Hello, Sir, I have one issue, it's not triggering the Checkout page to track the purchase event. I have followed all the steps
@think-about-it-777
@think-about-it-777 4 ай бұрын
that is intentional and by design.
@UlusalCagdasCalm
@UlusalCagdasCalm 3 ай бұрын
Please help me guys. I want to set up Google Ads purchase event with GTM. I want to debug this event with GTM debug mode but in my website's checkout page GTM debug mode is not working. Please help me, I can't fix this problem.
@aoerdanny
@aoerdanny 27 күн бұрын
After the above explanation and practice, let me answer common questions for you. In addition to deleting the GTM code in Checkout and theme.liquid, we need to disconnect Google Analytics in Google and KZbin applications, because Google and KZbin applications actually integrate the corresponding code, and these codes do not use conditional logic to prevent repeated loading, so you only need to add a custom pixel code once in the customer event to achieve global loading.
@aryansoni6179
@aryansoni6179 4 ай бұрын
in google analytics value is coming 0. what could be the issue?
@grephenson
@grephenson 2 ай бұрын
Why can't we just use the Google & KZbin app for Shopify? Doesn't this link with GA4 to track things?
@nishmamaskey7636
@nishmamaskey7636 Ай бұрын
because the events this app tracks are limited.
@grephenson
@grephenson Ай бұрын
@@nishmamaskey7636 what doesn't it track?
@rcbilly2009
@rcbilly2009 5 ай бұрын
Thank you very much for this information
@canyellabcn
@canyellabcn 4 ай бұрын
I did this now I get this error and not sure how to fix it: this google tag should have been loaded before the gtag('event') command was called. Use an on-page gtag('config') command or a google tag in tag manage to load AW-xxxx when the page loads
@gauravjha4325
@gauravjha4325 4 ай бұрын
Thank you so much for the video very helpful.
@francescocurletti7840
@francescocurletti7840 21 күн бұрын
doesn't work for me. i see the google tag manager on the console debug but when i tried to check with tag manager debugger it's not showed. i need to install the gtm also on theme.liquid file? thank y
@LovesData
@LovesData 21 күн бұрын
As I cover in the video, you can’t use Tag Assistant to debug if you’re using the Shopify pixel. You will need to use the Realtime report in GA4 instead.
@francescocurletti7840
@francescocurletti7840 21 күн бұрын
@@LovesData ok now i see that work. just an other question with custom pixel i don't see the third cookie banner installed into gtm. why? if i use the header tag it works.
@musicbusinessunlocked
@musicbusinessunlocked 4 ай бұрын
If nobody told you today, you're amazing.
@CheerDots2
@CheerDots2 4 ай бұрын
i cannot save the code, shopify says The pixel cannot be connected until a custom pixel script is saved for it,why is that pls?Thank you!
@thewhitecapped
@thewhitecapped 2 ай бұрын
thanks buddy, love you
@astondavies1888
@astondavies1888 3 ай бұрын
Followed to a tee, all working fine except the fact that now we are no longer gaining user engagement time insights. All events are firing, including e-commerce events like add to cart etc. But user engagement is 0 seconds. Has been this way for over a week.
@samuelhook591
@samuelhook591 8 күн бұрын
Ditto would love an answer to this one
@FlorenciaRocíoAlvarezRoldán
@FlorenciaRocíoAlvarezRoldán 4 ай бұрын
I tried to connect it but it is not working.
@UlusalCagdasCalm
@UlusalCagdasCalm 3 ай бұрын
Please help me guys. I want to set up Google Ads purchase event with GTM. I want to debug this event with GTM debug mode but in my website's checkout page GTM debug mode is not working. Please help me, I can't fix this problem.
@elphara92
@elphara92 4 ай бұрын
Thank you Benjamin! But for me, it doesn't work, it seems to track conversions but not the conversion value. And the debug mode of GTM or GA4 doesn't work anymore. I did some research and it seems that it's hard for GTM to read the data when it's inside an (which is the case with the custom pixel). I don't find solutions :(
@LovesData
@LovesData 4 ай бұрын
If you're running into issues, then I recommend checking out these troubleshooting tips: www.lovesdata.com/blog/troubleshooting-google-analytics-ecommerce there are a number of store-specific issues that can pop-up.
@ЖеняШвец-к5ы
@ЖеняШвец-к5ы 4 ай бұрын
Good afternoon. I'm having exactly the same situation as you. Please tell me. How did you solve it? I will be very grateful.
@UlusalCagdasCalm
@UlusalCagdasCalm 3 ай бұрын
Please help me guys. I want to set up Google Ads purchase event with GTM. I want to debug this event with GTM debug mode but in my website's checkout page GTM debug mode is not working. Please help me, I can't fix this problem.
@sammusic3340
@sammusic3340 4 ай бұрын
video is helpful but what about those who want to learn to connect Everything from scratch. As in this video you gave ready made GTM container. if it was Created from Scratch then video can be more helpfull
@sammusic3340
@sammusic3340 4 ай бұрын
as I am very new to shopify & GTM and my Aim is to learn GTM. so I am stucked with this, Pls help me out and make video on "how to get started with GTM with shopify store & with Woocommerce" please make a roadmap to learn GTM
@sujonhossain8326
@sujonhossain8326 5 ай бұрын
thanks for sharing video
@WaqasAhmed-fx4ii
@WaqasAhmed-fx4ii 5 ай бұрын
its not working at all. please check
@think-about-it-777
@think-about-it-777 4 ай бұрын
This is by design and on purpose from Shopify. See what you got to understand. here is most scammers and hackers possess a low level of intelligence (because it is fundamentally unintelligent to steal things) So Shopify is using a security approach that is best-worded like this: " Make things so unnecessarily hard to do that. only extremely intelligent people will figure it out" and then what our job is as devs is to continually release free information that "doesn't really work" UNLESS... someone is smart enough to figure out how to make it work and detect where the error in their code was... That's what's going on here. The information is purposely obscured to make it harder for hackers and scammers to continue to steal from American businesses on the internet which was pretty easy to do in the old integration method. and as you can see... Now that's really hard to do. So the intelligence level of somebody that's high enough to do this correctly is also high enough for them to run a real business that makes 100x more money than any scammer
@CSKTA
@CSKTA 3 ай бұрын
Tried this and everything was working except purchase
@LovesData
@LovesData 3 ай бұрын
You can find my troubleshooting tips at www.lovesdata.com/blog/troubleshooting-google-analytics-ecommerce
@ReelGreezy
@ReelGreezy 4 ай бұрын
getting uncanny vibes
@zhangzhiyuan3861
@zhangzhiyuan3861 5 ай бұрын
@DabrowkaLewandowskaDidierLab
@DabrowkaLewandowskaDidierLab 4 ай бұрын
How to make consent mode V2 work with this pixel?
Google Analytics 4 Tutorial 2024 | Step-by-Step Course
55:48
Loves Data
Рет қаралды 136 М.
Integrating and Debugging Google Tag Manager with Shopify's Custom Pixels
14:39
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 65 МЛН
I tricked MrBeast into giving me his channel
00:58
Jesser
Рет қаралды 28 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 275 #shorts
00:29
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
Consent Mode v2: What you need to know and setup with Cookiebot
24:59
Setup Google Ads Enhanced Conversions (with Consent Mode)
17:33
Loves Data
Рет қаралды 13 М.
Google Tag Manager Server-side tagging tutorial with Google Analytics 4
49:32
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 79 М.
Conversion Linker in Google Tag Manager
11:42
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 10 М.
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 65 МЛН