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

Поделиться
HTML-код
  • Опубликовано: 27 июл 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

Комментарии • 125

  • @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!

  • @udigital7261
    @udigital7261 Год назад

    Thank you for this video, easily explained and well done

  • @PeaceLoveGarden
    @PeaceLoveGarden Год назад

    This helped me immensely!! Thanks a million!!

  • @user-zf1ny8er2u
    @user-zf1ny8er2u Год назад

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

  • @Getfoundmadison
    @Getfoundmadison Год назад

    Huge thank you for this one. Very exciting!

  • @mizta_pita
    @mizta_pita Год назад

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

  • @ShawnMcFadden105
    @ShawnMcFadden105 8 месяцев назад

    Super helpful! Thank you so much.

  • @GavinDavidson
    @GavinDavidson 5 месяцев назад

    Excellent tutorial. Thank you for all your videos.

  • @Felix5k
    @Felix5k Год назад

    perfect guide, thank you

  • @riikkaalavuotunki1836
    @riikkaalavuotunki1836 5 месяцев назад +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 4 месяца назад

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

  • @linhphuong7535
    @linhphuong7535 3 месяца назад

    Hi Julian, thanks so much for your 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

  • @deepakwebdev
    @deepakwebdev Год назад +2

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

  • @artak82
    @artak82 2 месяца назад

    Better explanation than anyone else. Thanks

  • @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!

  • @sahilahuja3865
    @sahilahuja3865 Год назад

    hank you so much for sharing this

  • @MarieBestard
    @MarieBestard Год назад

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

  • @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?

  • @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!

  • @zaferyldz9878
    @zaferyldz9878 Год назад +1

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

  • @singhkrishanu
    @singhkrishanu Год назад

    Nice Tip👍🏻

  • @user-rc1tq9dg2g
    @user-rc1tq9dg2g 11 месяцев назад

    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?

  • @marcmcdermott4742
    @marcmcdermott4742 5 месяцев назад

    Much love dude.

  • @alikhalid7779
    @alikhalid7779 11 месяцев назад

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

  • @mehrosenasir3966
    @mehrosenasir3966 7 месяцев назад

    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?

  • @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

  • @dgabrielm
    @dgabrielm Год назад

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

  • @juanespinosareinoso7094
    @juanespinosareinoso7094 8 месяцев назад

    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.

  • @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!

  • @stopherwow
    @stopherwow Год назад +1

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

  • @-tomahawkdigital678
    @-tomahawkdigital678 2 месяца назад

    As always Julian rocks.

  • @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?

  • @joeybidner
    @joeybidner Год назад

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

  • @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 :)

  • @travelsunfun7982
    @travelsunfun7982 Год назад

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

  • @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?

  • @sofiavinhas1246
    @sofiavinhas1246 Год назад

    How do you have those conversion rates metrics?

  • @sachinseo7782
    @sachinseo7782 Год назад

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

  • @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?

  • @djjack169
    @djjack169 8 месяцев назад

    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?

  • @832giorgio
    @832giorgio 8 месяцев назад

    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

  • @adolfohc78
    @adolfohc78 11 месяцев назад

    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!

  • @birdhousemn
    @birdhousemn Год назад

    Can this be set up without the plugin?

  • @ryansear3
    @ryansear3 Год назад +1

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

  • @c.m.i.mahadi
    @c.m.i.mahadi 8 месяцев назад

    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?

  • @tekkidigital
    @tekkidigital 11 месяцев назад

    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?

  • @JustPlaynn
    @JustPlaynn Месяц назад

    @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!

  • @AsimBhuta-oi9qo
    @AsimBhuta-oi9qo Год назад

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

  • @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

  • @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?

  • @tajinbuu3473
    @tajinbuu3473 11 месяцев назад

    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

  • @user-pw2tm2br8t
    @user-pw2tm2br8t 7 месяцев назад

    Great video. What about Google ads?

  • @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?

  • @digitalteamcounterpartgrou3127
    @digitalteamcounterpartgrou3127 11 месяцев назад

    is there any chance to get this datalayer template?

  • @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..

  • @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.

  • @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.

  • @KiranPaul-cj8yg
    @KiranPaul-cj8yg 11 месяцев назад

    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?

  • @annadivirgilioronci5028
    @annadivirgilioronci5028 11 месяцев назад

    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

  • @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?

  • @pandipandi2050
    @pandipandi2050 2 месяца назад

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

  • @VitalMaisLojaonline
    @VitalMaisLojaonline 4 месяца назад

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

  • @AnkitSharma-tp7el
    @AnkitSharma-tp7el 11 месяцев назад

    where i can get the sheet for the codes

  • @Regina_Cal
    @Regina_Cal 6 месяцев назад

    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!

  • @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?

  • @abedalqaderhalaweh7185
    @abedalqaderhalaweh7185 Год назад

    great you are

  • @yashpurohit509
    @yashpurohit509 9 месяцев назад

    Can I get the source code for demo website ?

  • @JustasOmis
    @JustasOmis Год назад

    didint work for me, debug view :?

  • @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.

  • @8BallEyes
    @8BallEyes 9 дней назад

    Is it me, or are things different now? I'm trying to follow along and can't because I think it's been updated? I'm fairly new to this anyway.

  • @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 10 месяцев назад +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  10 месяцев назад +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 10 месяцев назад

      @@MeasureSchool thank you!

  • @mediacreatif
    @mediacreatif 2 месяца назад

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

  • @sonasinha9879
    @sonasinha9879 Год назад

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

    • @SlimDeluxe
      @SlimDeluxe Год назад

      He used the e-commerce dataLayer

  • @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

  • @nickiegv1
    @nickiegv1 6 месяцев назад

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

  • @catanainc
    @catanainc Год назад

    GTM4WP no longer working properly! Not triggering in GTM!

  • @TiendaDecoratii
    @TiendaDecoratii 10 месяцев назад

    It is not working

  • @stuffhaikya
    @stuffhaikya 3 месяца назад

    you made simple things very complicated. Still thanx.

  • @RaduIonita
    @RaduIonita 10 месяцев назад

    There is no more GA4 configuration

    • @MeasureSchool
      @MeasureSchool  10 месяцев назад

      Check out this video: ruclips.net/video/6Ps5ZhKOiHs/видео.htmlsi=CfoSK5jtE0lQwXwI

  • @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

  • @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.

  • @publikanguro.tecno.marketing
    @publikanguro.tecno.marketing 4 месяца назад +1

    Thank you , great tutorial!

  • @FrankBell-yd8mv
    @FrankBell-yd8mv 9 месяцев назад

    didint work for me, debug view ?

  • @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