How to Set Up GA4 E-commerce Tracking (Complete Guide)

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.ค. 2024
  • So you are running your ecommerce store and everything seems to be working well. However, you would like to know how people are interacting with your products or services. This could seem like a mystery but do not worry since there is a way of doing it with the help of Google Analytics 4, Google Tag Manager, and some technical implementation that Julian will show you in this video. So relax and follow along while Julian shows us how to implement ecommerce tracking on your website.
    Are you a reader more than a video person? Check this out 👉measureschool.com/google-anal...
    📚📚 Courses and Resources ⏬⏬
    Join our premium membership for exclusive content 🦸♀️🦸♂️ bit.ly/measuremasters
    GTM, GA4, and GDS FREE Courses 💸 bit.ly/measureschool-courses
    Need Personalized Help? Contact Us 📞 bit.ly/measureschool-services
    👍 FOLLOW US 👍
    LinkedIn: / measureschool
    Twitter: / measureschool
    Instagram: / measure.school
    Facebook: / measureschool
    OUTLINE
    00:00 - Introduction
    00:13 - Overview
    01:00 - What is an Ecommerce Interaction?
    01:53 - What is a Data Layer?
    03:36 - How to Deploy the Data Layer on Your Website
    07:09 - Sending Data to GA4
    10:42 - Purchase Tracking Example
    11:33 - More Information

ความคิดเห็น • 123

  • @MeasureSchool
    @MeasureSchool  ปีที่แล้ว +2

    Want Some FREE GTM Resources?? Grab Yours 👉 bit.ly/gtm-resource

  • @tacquitotim570
    @tacquitotim570 ปีที่แล้ว +9

    Julian, I bloody love you mate. You have hands down the best content on GTM and GA4 and have been helping me learn so much about GTM over the years and I cannot thank you enough. Your explanation and walkthrough is so easy to understand and you can turn a noob like me into a decent GTM specialist then you’re a miracle worker. Bravo my friend!

  • @declanmorgan7390
    @declanmorgan7390 ปีที่แล้ว +37

    here is the values for the event names. I just copied from the video might save other from doing the same -> begin_checkout|add_to_cart|remove_from_cart|view-item|select_item|view_item_list|select_promotion|view_promotion|purchase

    • @lesmanifestes7703
      @lesmanifestes7703 ปีที่แล้ว +5

      Thank you man, just a small mistake with the promotion one :): begin_checkout|add_to_cart|remove_from_cart|view-item|select_item|view_item_list|select_promotion|view_promotion|purchase

    • @declanmorgan7390
      @declanmorgan7390 ปีที่แล้ว +1

      @@lesmanifestes7703 Thanks for the correction, i changed it. cheers

    • @jangeles859
      @jangeles859 ปีที่แล้ว

      thanks so much

    • @partiid
      @partiid ปีที่แล้ว

      Its all available in the docs. Read the docs people!

    • @AdamLund-jg2mx
      @AdamLund-jg2mx ปีที่แล้ว

      @@lesmanifestes7703 Oops, another typo. View-item has a hyphen when it should be an underscore. Here is the correction: begin_checkout|add_to_cart|remove_from_cart|view_item|select_item|view_item_list|select_promotion|view_promotion|purchase

  • @S0larus
    @S0larus ปีที่แล้ว +2

    It helped me a lot! Thank you so much man! The only guide that worked for me!

  • @PeaceLoveGarden
    @PeaceLoveGarden 11 หลายเดือนก่อน

    This helped me immensely!! Thanks a million!!

  • @riikkaalavuotunki1836
    @riikkaalavuotunki1836 4 หลายเดือนก่อน +2

    Thank you so much! FINALLY I got my eCommerce set up. Thank you for the clarity and precise instructions.

    • @MLATX512
      @MLATX512 4 หลายเดือนก่อน

      Is this still relevant? I thought GTM made it so we don't have to deploy new code to the website every time we want to update our tags? Google is constantly making changes and I can never tell if a tutorial is still relevant or not.

    • @VitalMaisLojaonline
      @VitalMaisLojaonline 3 หลายเดือนก่อน

      Hi, do you know what to do if the debugview doesn't show any data?

  • @mizta_pita
    @mizta_pita 11 หลายเดือนก่อน

    Wow. Thanks for this great video. Subscribed and smashed the notification button.

  • @user-zf1ny8er2u
    @user-zf1ny8er2u ปีที่แล้ว

    Thank You so much ! Really appreciate your work and already subscribing the channel.

  • @katiadepalma9735
    @katiadepalma9735 ปีที่แล้ว +1

    hi there - do we expect gap in transaction between GA4 and UA? I have approx 5% more in GA4. Not sure if is a expected behavior or not... thanks!

  • @rafaMeneguzzo
    @rafaMeneguzzo ปีที่แล้ว +3

    Event list:
    begin_checkout|add_to_cart|remove_from_cart|view_item|select_item|view_item_list|select_promotion|view_promotion|purchase

  • @Getfoundmadison
    @Getfoundmadison 11 หลายเดือนก่อน

    Huge thank you for this one. Very exciting!

  • @miroslawswierczek7473
    @miroslawswierczek7473 ปีที่แล้ว +2

    Thank you for the very helpful video. I have created several events in GTM and then marked them as conversions in GA4. The event names are individual and the information is all stored. However, under ecommerce purchases, I don't see the total sales even though they are transferred correctly. I have checked this in GTM preview and also in GA4 debug mode. Only sales come in when I use the event name = purchase. But since I sell games/vouchers, I have created 2 events of my own with all the data from the event that is needed. Here, however, the total sales are not displayed as if I use as event name = purchase. What do I need to set or extend so that my created events also send the total sales to the GA4 overview e-commerce purchases?

  • @udigital7261
    @udigital7261 ปีที่แล้ว

    Thank you for this video, easily explained and well done

  • @GavinDavidson
    @GavinDavidson 4 หลายเดือนก่อน

    Excellent tutorial. Thank you for all your videos.

  • @MarieBestard
    @MarieBestard ปีที่แล้ว

    Hello, thank you for the tutorial ! I have a question. Which plugin should I use with Odoo ?

  • @artak82
    @artak82 หลายเดือนก่อน

    Better explanation than anyone else. Thanks

  • @ShawnMcFadden105
    @ShawnMcFadden105 7 หลายเดือนก่อน

    Super helpful! Thank you so much.

  • @linhphuong7535
    @linhphuong7535 2 หลายเดือนก่อน

    Hi Julian, thanks so much for your video!

  • @dgabrielm
    @dgabrielm ปีที่แล้ว

    Hey, dumb question but does this also work when you're using the storefront API for a custom externally hosted shop UI?

  • @user-rc1tq9dg2g
    @user-rc1tq9dg2g 10 หลายเดือนก่อน

    Hi Julian, thank you for the video it's extremely helpful. I'm only seeing items show up in the event of a purchase. Add to cart, view item, etc only show event parameters and user properties. Any idea what I misconfigured during set up?

  • @Felix5k
    @Felix5k 11 หลายเดือนก่อน

    perfect guide, thank you

  • @juanespinosareinoso7094
    @juanespinosareinoso7094 7 หลายเดือนก่อน

    Thanks Julian for such a nice and straightforward tutorial. I have a question: What happens with cookie consent in that case? As far as I know the cookie consent block users to be tracked by GA4 if they do not accept the cookies. However, should every event created with GTM not trigger if the user rejects cookies? There is a gray area around the topic and I am not sure if I should add a consent condition to all my events, including the ecommerce one just created. Do you have an opinion in this matter that could help me? Thank you in advance.

  • @zaferyldz9878
    @zaferyldz9878 ปีที่แล้ว +1

    Thanks for sharing julian. Where can I find the sheet in the video?

  • @deepakwebdev
    @deepakwebdev ปีที่แล้ว +2

    Hi Julian Great Video 🔥 Can we get the access of the Google Sheet which you have shown in the Video??

  • @kingasroka
    @kingasroka ปีที่แล้ว

    Thank you for the video! Maybe you have ideas why there is no transaction value in GA4 despite correct data layer implementation? Thanks for all the ideas, I have tried everything

  • @sadiechillingworth
    @sadiechillingworth 4 หลายเดือนก่อน

    Great video! Can I confirm if you have to set up 'make a purchase' for every item on a website? So for example if you are selling four different types of tickets, you will need for different data layers? Thank you!

  • @mehrosenasir3966
    @mehrosenasir3966 6 หลายเดือนก่อน

    Thank you for taking the time out and making this video. I have a questiom, why do the item's price has so many zeros in GA4 debug mode and it shows correct on tagassistant?

  • @BexMarie
    @BexMarie ปีที่แล้ว

    I noticed when you were adding ecommerce recommended events you didnt add all of them (such as add_shipping_info or add_billing_info... Would those also come through accurately if added? Im interested in those metrics as well.
    Btw tha ks so much for this video, extremely helpful and after floundering a while in GA4 documentation, I now feel excited to implement this!

  • @user-zt9np1dp1w
    @user-zt9np1dp1w ปีที่แล้ว

    Hi! I only have Items viewed, Items added to cart, Items purchased and Item Revenue in the report. How do I get all the other metrics in the report and is there a way to add custom dimensions in wordpress?

  • @user-xg8qu9yi2d
    @user-xg8qu9yi2d ปีที่แล้ว

    Thanks! I've followed your steps, but unfortunately no revenue is coming in yet (e.g. adding to cart works). The data layer uses a 'purchasev2' event. That's why I added that to the trigger. Only I don't see any 'items' at the Purchasev2 event in DebugView. Am I missing a step?

  • @alikhalid7779
    @alikhalid7779 10 หลายเดือนก่อน

    Great information video. What will be the process for the Shopify store to get the each and everything data. ?

  • @marcmcdermott4742
    @marcmcdermott4742 4 หลายเดือนก่อน

    Much love dude.

  • @-tomahawkdigital678
    @-tomahawkdigital678 หลายเดือนก่อน

    As always Julian rocks.

  • @sahilahuja3865
    @sahilahuja3865 ปีที่แล้ว

    hank you so much for sharing this

  • @singhkrishanu
    @singhkrishanu ปีที่แล้ว

    Nice Tip👍🏻

  • @nkdl3525
    @nkdl3525 ปีที่แล้ว

    Hi Julian thank you so much for this very helpful content. I strictly followed your configuration but I have a small problem - when I go on a product page the view_item event at the beginning is not recognised by the data layer. Just if I click on some product features or I add the product to the cart then the view_item event appears. I think it is a problem with the gtm4wp plugin...do you have a solution for such a problem...thank you so much if you can get back to me :)

  • @joeybidner
    @joeybidner ปีที่แล้ว

    do you have a version of this video for shopify stores?

  • @adolfohc78
    @adolfohc78 10 หลายเดือนก่อน

    Hello! Do you have a course for all things related GA4? I want to learn the tool but it's hard to practice the concepts if you don't actually have an ecommerce site. On your video I saw that you have a dummy site, that would be the perfect place to practice. Do you have a hands-on course? Thanks!

  • @tekkidigital
    @tekkidigital 10 หลายเดือนก่อน

    What would you suggest if in the GA4 debugger I can SEE the purchase event occur, AND i can see all "Event > parameter" and "Items > Product Name" details being passed from the dataLayer, but the item name isn't showing in my Ecommerce reports?

  • @ShrayChugh
    @ShrayChugh 10 หลายเดือนก่อน

    Hi. I wanted to track the performance of my homepage banner ( Clicks). There will be multiple banners on my homepage. What would be the best approach to record this in GA4

  • @sofiavinhas1246
    @sofiavinhas1246 ปีที่แล้ว

    How do you have those conversion rates metrics?

  • @travelsunfun7982
    @travelsunfun7982 ปีที่แล้ว

    It is not working for Shopify? Because in debug view I only can see the purchase event

  • @chaithrapremraj6672
    @chaithrapremraj6672 10 หลายเดือนก่อน

    Hi Julian ,This was very helpful ,Can you share some information on how can we use GTM and GA4 with salesforce or salesforce experience cloud

  • @sachinseo7782
    @sachinseo7782 ปีที่แล้ว

    can you share the link of google document that you are showing in the video

  • @c.m.i.mahadi
    @c.m.i.mahadi 7 หลายเดือนก่อน

    Well if a customer adds multiple products to the cart then how can we add the previous added to cart item in an array? or is it not required to do?

  • @CollinPorter-be3ce
    @CollinPorter-be3ce ปีที่แล้ว +1

    I don't see the 'items' column in my Google Analytics Debug View. I only see 'Parameters' & "User Properties'. Do you know why?

  • @luvatextil2897
    @luvatextil2897 ปีที่แล้ว +3

    Hi Julian, I have one question, I thought that google analytics 4 had already a purchase conversion established from the beginning, so would I need to create this one? It's a little bit confusing...Thanks!

    • @johndev2594
      @johndev2594 ปีที่แล้ว

      I have the same thought, but I am not seeing any monetary value in our reports as well. I implemented what was instructed here and hope to see results in the next few days.

    • @DanielRodriguez-zs1sb
      @DanielRodriguez-zs1sb ปีที่แล้ว

      ​@@johndev2594 did it work?

  • @stopherwow
    @stopherwow ปีที่แล้ว +1

    Great video Julian, do you have any video that include google ads tracking + enhanced conversions?

  • @JustPlaynn
    @JustPlaynn 10 วันที่ผ่านมา

    @MeasureSchool, everything works as it should except in debug it does not show the purchase. (It shows up with the correct data being sent in tag manager though) Not sure what to do or if I need to worry about it. Thanks for the great content!

  • @832giorgio
    @832giorgio 7 หลายเดือนก่อน

    Hi why some of the events shows in GA4 ad example view_item, but the begin_checkout doesn't ? Thank you this tutorial was extremely helpful

  • @ryansear3
    @ryansear3 ปีที่แล้ว +1

    Thanks for the video Julian. Is there a similar datalayer plugin/app for Shopify?

    • @MeasureSchool
      @MeasureSchool  ปีที่แล้ว +1

      yes, check in the Shopify app store

  • @birdhousemn
    @birdhousemn ปีที่แล้ว

    Can this be set up without the plugin?

  • @mashoodrana7534
    @mashoodrana7534 ปีที่แล้ว

    I added all in one event like purchase|add_to_cart|etc|. But conversion value is not sent to my google ads. How can i add conversion value?

  • @AsimBhuta-oi9qo
    @AsimBhuta-oi9qo ปีที่แล้ว

    So what are your thoughts on Woocomerce's own google analytics plugin?

  • @digitalteamcounterpartgrou3127
    @digitalteamcounterpartgrou3127 11 หลายเดือนก่อน

    is there any chance to get this datalayer template?

  • @djjack169
    @djjack169 7 หลายเดือนก่อน

    This was incredible thank you. Saved me Hours trying to work out why the e-commerce analytics weren't working. I have a problem though. Everything is firing and showing up in debug and preview EXCEPT view_item. Even view_item_list shows up, just not the actual item I'm looking at. Purchase works fine as shows item name and ID. Anyone have any ideas why this might be?

  • @declanmorgan7390
    @declanmorgan7390 ปีที่แล้ว

    @5:47 the main page of the settings of gtm4wp plugin can be seen and the option Container code ON/OFF is set to off. For me it was set to off by default but when i load a frontend page and use Tag Assistant it says no tags found. When I change he option Container code ON/OFF to off all works as expected, Tag Assistant shows GTM & GA4 tags.

    • @MeasureSchool
      @MeasureSchool  ปีที่แล้ว

      this is because we don't use the plugin to deploy GTM.

  • @tajinbuu3473
    @tajinbuu3473 10 หลายเดือนก่อน

    Can you follow this up with a video/resource explaining how to set up and see all of these ecom events in GA4? I’ve had our developer follow the instructions exactly and it all looks fine in GTM and the debug view in GA4, but we aren’t seeing them in “Events”.
    Thank you

  • @KiranPaul-cj8yg
    @KiranPaul-cj8yg 10 หลายเดือนก่อน

    In GTM all the events are triggered & I've published the tags successfully. But, when Am viewing in debug view.....all the events are not fired? How to fix or approach?

  • @jairabaarde3990
    @jairabaarde3990 7 หลายเดือนก่อน

    I'm having trouble with the accuracy of numbers. The figures for 'Purchase' and the Monetization Overview align at $43k each. However, there is a substantial disparity in the 'Ecommerce Purchases' Report, where the item revenue is recorded at $235k. While I acknowledge that Ecommerce Purchases may not factor in product discounts, the extent of the variance raises concerns. What could be the issue here?

  • @katerina.kirilova
    @katerina.kirilova ปีที่แล้ว

    Is this something when i do not see the events coming in the "debug view". It is no info there, everything else is okay..

  • @darrellcerna
    @darrellcerna ปีที่แล้ว

    Great vid. can the tag and trigger setup work without doing the data layers codes?

    • @MeasureSchool
      @MeasureSchool  ปีที่แล้ว

      No, because you have to send the data about your products.

  • @user-pw2tm2br8t
    @user-pw2tm2br8t 6 หลายเดือนก่อน

    Great video. What about Google ads?

  • @Regina_Cal
    @Regina_Cal 5 หลายเดือนก่อน

    GTM got rid of the GA4 configuration tag type and now uses the "Google Tag" which is really getting me confused as I follow your set up and also follow the setup thru GTM4WP. It doesn't seem to be interchangeable. Maybe you can help me understand this. Thank you!

  • @annadivirgilioronci5028
    @annadivirgilioronci5028 10 หลายเดือนก่อน

    Hi everyone! At any moment the purchase event appears faded in G4. instead it appears in GTM and real time. Has the same happened to anyone? how can i fix it

  • @VitalMaisLojaonline
    @VitalMaisLojaonline 3 หลายเดือนก่อน

    Hi! What if i don't see any data on the debug view? Can someone help me please?

  • @pandipandi2050
    @pandipandi2050 หลายเดือนก่อน

    Even after adding the given all events, that report not working for me, pls help me

  • @AnkitSharma-tp7el
    @AnkitSharma-tp7el 10 หลายเดือนก่อน

    where i can get the sheet for the codes

  • @abedalqaderhalaweh7185
    @abedalqaderhalaweh7185 ปีที่แล้ว

    great you are

  • @yashpurohit509
    @yashpurohit509 9 หลายเดือนก่อน

    Can I get the source code for demo website ?

  • @ryanwanx
    @ryanwanx ปีที่แล้ว

    I would be adding, that this is relevant to WordPress ecomm setups only, since this uses the plugin. If you were on another platform, the approach is different and depends on the platform, if they have integration or not.

    • @MeasureSchool
      @MeasureSchool  ปีที่แล้ว +1

      Yes, you need to add the dataLayer, but everything after that is not specific to Wordpress

    • @ryanwanx
      @ryanwanx ปีที่แล้ว

      @@MeasureSchool precisely. The plugin gives you the ease of populating the datalayer. If someone was not using WordPress, it would be manual or another plugin. That's all I was mentioning

    • @selenefroehlich9138
      @selenefroehlich9138 ปีที่แล้ว

      @@ryanwanx answered my question exactly, so I would need the plug-in? I am always hesitant to add more plug-ins, will this slow down more my site?

  • @johndev2594
    @johndev2594 ปีที่แล้ว

    was the debugview in GA4 removed? I am not seeing it in my end. Thanks for anyone who answers.

    • @MeasureSchool
      @MeasureSchool  ปีที่แล้ว +1

      Hi John, they changed the interface a bit. It is moved to Admin --> Property (2n column). You should scroll down to find it.

  • @reneklokkerholm1453
    @reneklokkerholm1453 ปีที่แล้ว

    Can you install the plugin and then get the data and setup variables - after that remove the plugin?

    • @MeasureSchool
      @MeasureSchool  ปีที่แล้ว

      No, the plugin needs to be installed to have the dataLayer working

  • @KAIDO-mi1tr
    @KAIDO-mi1tr 9 หลายเดือนก่อน +1

    How to solve the problem of the price in debug mode? It shows the price without variables. for example not 24,32$ but 243200000

    • @MeasureSchool
      @MeasureSchool  9 หลายเดือนก่อน +1

      This is how GA4 processes the data: DebugView shows currency values converted to a high precision integer but you will see normal values in your report so no need to fix anything.

    • @KAIDO-mi1tr
      @KAIDO-mi1tr 9 หลายเดือนก่อน

      @@MeasureSchool thank you!

  • @nickiegv1
    @nickiegv1 5 หลายเดือนก่อน

    Definitely separate the custom events in GTA manager. If not, you’re gonna see all conversions. Combine giving you un realistic numbers.

  • @JustasOmis
    @JustasOmis ปีที่แล้ว

    didint work for me, debug view :?

  • @mediacreatif
    @mediacreatif หลายเดือนก่อน

    I don't have "monetisation". Please help me !

  • @DavidOgletree
    @DavidOgletree ปีที่แล้ว

    The page you show from Google that shows the datalayer code no longer shows datalayer code. It now shows gtag() code

    • @MeasureSchool
      @MeasureSchool  ปีที่แล้ว

      Good to know. There is surely a dataLayer version out there

    • @DavidOgletree
      @DavidOgletree ปีที่แล้ว

      @@MeasureSchool I read that gtag() is a data layer push

  • @sonasinha9879
    @sonasinha9879 ปีที่แล้ว

    You didnt mention about the variables which is needed for each transactions

    • @SlimDeluxe
      @SlimDeluxe ปีที่แล้ว

      He used the e-commerce dataLayer

  • @stuffhaikya
    @stuffhaikya 2 หลายเดือนก่อน

    you made simple things very complicated. Still thanx.

  • @catanainc
    @catanainc ปีที่แล้ว

    GTM4WP no longer working properly! Not triggering in GTM!

  • @TiendaDecoratii
    @TiendaDecoratii 9 หลายเดือนก่อน

    It is not working

  • @RaduIonita
    @RaduIonita 9 หลายเดือนก่อน

    There is no more GA4 configuration

    • @MeasureSchool
      @MeasureSchool  9 หลายเดือนก่อน

      Check out this video: th-cam.com/video/6Ps5ZhKOiHs/w-d-xo.htmlsi=CfoSK5jtE0lQwXwI

  • @zeroimpetuous
    @zeroimpetuous ปีที่แล้ว +1

    Hey Julian, followed every single step successfully but when I preview it, none of the events are shown up and the custom event tag isn't fired at all.. Where did I go wrong?

    • @zoltanseo
      @zoltanseo ปีที่แล้ว +1

      You trigger might be off. Or more likely the website may not containing the needed data layer. Make sure the data layer contains all the right event names: purchase, etc.

  • @FrankBell-yd8mv
    @FrankBell-yd8mv 9 หลายเดือนก่อน

    didint work for me, debug view ?

  • @publikanguro.tecno.marketing
    @publikanguro.tecno.marketing 3 หลายเดือนก่อน +1

    Thank you , great tutorial!

  • @NathanHill-gz6tx
    @NathanHill-gz6tx ปีที่แล้ว +1

    Thank me later:
    begin_checkout|add_to_cart|remove_from_cart|view_item|select_item|view_item_list|select_promotion|view_promotion|purchase