Ecommerce DataLayer Setup for Google Analytics | Part 2

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ค. 2024
  • Part 1: • Google Analytics Ecomm...
    Part 3: • How to setup Ecommerce...
    The Ecommerce dataLayer is a crucial part of our Enhanced Ecommerce Transaction Tracking we are installing with GTM. In the 2nd installment of our series, we will go through the process how to write a dataLayer Specification for your developer and I’m going to show you how a Dev would install this. Once the dataLayer is installed you’ll be able to pull the data into GTM for further processing.
    🔗 Links:
    Ecommerce dataLayer specifications: measureschool.com/resource/gt...
    Google Analytics Ecommerce Tracking with Google Tag Manager (Part 1) • Google Analytics Ecomm...
    🎓 Measure Masters Membership: measureschool.com/measure-mas...
    ❓ Take Our GA4 Quiz: measureschool.com/google-anal...
    FREE Tag Manager Course: measureschool.com/products/fr...
    FREE Analytics Course: measureschool.com/products/fr...
    🔀 GTM Copy Paste - Our Chrome extension chrome.google.com/webstore/de...
    🚀 Hire us: measureschool.com/services/?u...
    📚 Recommended Measure Books: kit.co/Measureschool/recommen...
    📷 Gear we used to produce this video: kit.co/Measureschool/measures...
    📡 Our Live Streaming Software: restream.io/join/YXLM2
    👍 FOLLOW US
    Facebook: / measureschool
    Twitter: / measureschool
    LinkedIn: / measureschool
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Can I get the code you've implemented here? No, I'm only sharing the DataLayer Spec that you need to fill out and give to your Developer. The code I've implemented (and how I implemented it) is purely for demonstration purposes. It's not something you should try at home. You should get a developer involved.

    • @muhammad.shoriful.islam.shorif
      @muhammad.shoriful.islam.shorif 4 ปีที่แล้ว +1

      Can i have this dynamic script, pls???

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

      You can get that template code from here: stackoverflow.com/questions/39831875/enhanced-ecommerce-datalayer-woocommerce

    • @muhammad.shoriful.islam.shorif
      @muhammad.shoriful.islam.shorif 3 ปีที่แล้ว +1

      @@marcinwodarczak4226 thank you so much for your cordial responses 🙂

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

      @@marcinwodarczak4226 you are a legend...

  • @yelmas
    @yelmas 4 ปีที่แล้ว +4

    Julian, you are amazing and I suppose you're one of the leading experts on GTM globally.

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

    This is gold! Thanks for sharing Julian

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

    This is pure gold, Thank you!

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

    Thank you so much Julian;)
    Your all videos so helpful and this particularly.
    Thanks for sharing us with this information

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

    It's not fair your channel has just 126k subs.
    You deserve a LOT more than that!
    Thank you for your time and knowledge!
    Regards from Brazil!

  • @publikanguro.tecno.marketing
    @publikanguro.tecno.marketing 3 ปีที่แล้ว +1

    Thank you Julian! I´m learning a lot from this great channel.

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

    Hi Julian! thank you for these 3 videos. It took for me quite a while to realize that an execution of dataLayer.push({"event":"transaction"}) in the browser, triggers a trigger for the tag, and makes appearing a line, like '2 transaction' in GTM debugger. It is not so obvious from your explanation, but this is an essential point. I would suggest to emphasize it and explain in more details. Everything else is very informative and to the point.Thanks again

  • @loispoh3779
    @loispoh3779 3 ปีที่แล้ว

    Holy sh*t. You are a bloody lifesaver. Love your work

  • @kongeaatrailercenteras936
    @kongeaatrailercenteras936 2 ปีที่แล้ว

    This is great stuff Julian . Thanks so much.

  • @alvar_p4l543
    @alvar_p4l543 4 ปีที่แล้ว

    Excellent video as always Julian! Just mention that this code is only valid for sending over "purchase" event and other user-related actions that are pushed to the dataLayer. If I'm not wrong, you could deploy, say the "impressions" event, in the dataLayer declaration before the GTM container snippet, so that's a little caveat that developers should bear in mind. Other than that, kudos to MeasureSchool!

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

      correct, as mentioned, this is transaction tracking, not full Enhanced Ecomerce Tracking

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

    Thank you so much!

  • @maaadmaddie
    @maaadmaddie 3 ปีที่แล้ว

    All of your videos have been super helpful as I set up GA and GTM - thank you! Was wondering how to use DataLayer to connect cart behavior to GA. I've been able to follow these 3 parts to get Enhanced Ecommerce conversions working, but only for price data, not cart behavior. I'm using Squarespace if that's of any value. Thank you!

  • @anupmunir8765
    @anupmunir8765 4 ปีที่แล้ว

    Could you please tell me, how you manage the demoshop? is it hosted locally?

  • @praneethgoud9609
    @praneethgoud9609 3 ปีที่แล้ว

    instead of changing to the static values and testing if its tracking, can we just add the dynamical variables and test?

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

    Thank you Julian for these amazing tutorial.
    Just checking how can I use this concept to apply in gravity form? Hope you can share.

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

      do you have ecommerce data that needs to be sent from a gravity form?

  • @liyingtay
    @liyingtay 4 ปีที่แล้ว

    Hi Julian, great resource - wished I discovered this earlier!
    One question, after adding my Ecommerce dataLayer specifications, should the Product List Name be autopopulated?
    I followed these steps, I see my product names associated to my Transaction IDs, but when I clicked on Product List Performance, my Product List Name column shows "(not set)". Hope you can help me out with this!
    LY @ Dubai

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

    Quick question (hopefully) - with the data layer, would you have to input new data for every different product? I assume so. If so, do you use a system for organizing that data?

  • @ArindamBiswasseo
    @ArindamBiswasseo 3 ปีที่แล้ว

    Thanks for sharing this video Julian. Can I use Google Analytics for Woocommerce Plugin and GTM4WP plugin at a same time for tracking enhanced ecommerce and data layer? what you suggest?

  • @crnjakivana
    @crnjakivana 4 ปีที่แล้ว

    This is AWESOME! It helped me a lot. Thank you. :) Keep up the great work!

  • @trendly3884
    @trendly3884 3 ปีที่แล้ว

    Do you still have to get a developer to put in the dynamic variable for the transaction data or can it be done by using tag manager?

  • @cindyli2872
    @cindyli2872 3 ปีที่แล้ว

    Thanks for sharing this. This is quite helpful but why the video is very blurry. It was quite clear when I watched it a month ago.

  • @jayjayf9699
    @jayjayf9699 4 ปีที่แล้ว

    What’s the php code for building the data layer that you used in the end ? Can we download that ?

  • @EslamsamyismailelsayedBadr
    @EslamsamyismailelsayedBadr 4 ปีที่แล้ว

    Thanks a lot for your efforts. Can you share the different codes to change static items into dynamic? For example order id.

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

      nope... see other comments

  • @eduardocifresanchez4751
    @eduardocifresanchez4751 3 ปีที่แล้ว

    Hi Julian this is great stuff. My developer implemented the code trough GTM. Do you know whether this is possible? We put it under the "tags" section but it is not working for us. Any thoughts?Appreciate your work.

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

    The best explanation thank you so much Julian!

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

    Julalian, you saved my day. Well I have question. Can we capture text from certain pages and push trigger to pass to another tag after trigger?

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

    Hi Julian. Thanks for the video. Please could you share the code with variables and for loop for most of us who use woo-commerce ?

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

      nope. won't do that - The point of the video was that you need to get your Developer involved as this is highly individual. My code won't work on your website, so no point in sharing

  • @MIII96
    @MIII96 3 ปีที่แล้ว

    Is there a possibility to add DataLayer through HTML tag in GTM, so set up ecommerce without developer? And if yes, what type of trigger should be in this tag?

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

    Excellent help, these videos have been revealing. I have a question related to the subject, when is the average price that can be charged for setting up e-commerce tracking?

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

    Excellent video! Could you do a series on how to keep GA compliant with GDPR and/or ePR?

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

      no, because that's a legal question and individual to every business. But we do have some video on gdpr and google analytics on this channel

    • @piratazaum
      @piratazaum 4 ปีที่แล้ว

      Understood, thank you for taking time to answer

  • @suppachaisukanun2054
    @suppachaisukanun2054 4 ปีที่แล้ว

    Julian how did you get the code form ? When 15.22 in VDO I don't understand (Sorry eng so bad) please help me

  • @earentill
    @earentill 4 ปีที่แล้ว

    show us the settings for the transaction tag and the paired trigger for it. THATS WHAT WE NEED!

  • @lucasminezes2064
    @lucasminezes2064 3 ปีที่แล้ว

    Thanks for the content you shared! I'm having some trouble on getting the information that my lead leaves on the checkout page when he doesnt complete the order. I would like just to get their name, phone and email to have the opportunity to contact them. Is the data layer on GA the solution for this problem? Is that even possible? Just for you know I use Woocommerce.

  • @Diyellow
    @Diyellow 4 ปีที่แล้ว

    Hello it will be great if you can help me there
    is there a way to know what are the dynamic variable that a website used when implanting the datalayer script ?
    EXEMPLE :

  • @LivingWell.
    @LivingWell. 2 ปีที่แล้ว

    how do you make the Google Tag Manager show on the bottom of the page?

  • @BinaryMasterclass
    @BinaryMasterclass 2 ปีที่แล้ว

    I use Kajabi. I have UA and GA4 set up there via GTM. Ecommerce doesn't seem to be getting data. I don't think we have access to install Data Layer at Kajabi. If I add the property ID in Kajabi, and I have it running via GTM, will that pose an issue? And, I think I can only add one property ID, so I would not be able to simultaneously get UA and GA4 data. Would you recommend adding the UA or the GA4 property ID? Thank you for any help that you are able to provide here!!

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

    Hello!
    What extension did you use to take that screenshot?
    Thanks!

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

    Do you have a tutorial for GA4? I believe the codes are different vs. GA4.

  • @AmitRaj-kn9kh
    @AmitRaj-kn9kh ปีที่แล้ว

    Can data from tag manager be sent to Salesforce CDP? Do we have any available connectors?

  • @oksanamosenko1301
    @oksanamosenko1301 4 ปีที่แล้ว

    I LOVE YOU JULIAN =) Your videos are 100% helpful and information is provided in an efficient and enjoyable manner! I'm kinda new to setting up analytics and was scared a lot to start, because I was lost in all the courses I took. But your videos is fresh air in my messed up mind =) I`m very thankful to you, that I`m succeeding step by step and I'm not terrified by GA and GTM that much anymore =)

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

    Hi there, I can't find the template google doc link you used in the video - is it available somewhere?

  • @shaanquadri
    @shaanquadri 4 ปีที่แล้ว

    Hi, I have two small queries.
    My company sells insurance products, so the buying process goes through multiple steps/pages. Does every page need a separate data layer with relevant variables? or a master data layer will do the job?
    Secondly, the buying process goes to another domain (but belongs to the same co.), will that be a problem?

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

      depending on the template you need different dataLayers.

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

    Hey Julian,
    I have a question could you share the 2nd code with the dynamic info with us please? and doesnt the code get deleted once i update the woocommerce plugin? if so could you provide me with a solution?

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

      nope. won't do that - The point of the video was that you need to get your Developer involved as this is highly custom. My code won't work on your website, so no point in sharing

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

      @@MeasureSchool It is php, and I believe the code will remain same, for atleast wordpress websites. Cheap way to get clients.

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

      @@shivambhasin1263 I see where you're coming from, but do you consider the time spent and value given in these video? + google is your best friend to find this basic woocommerce php Be a little grateful instead of an a.hole

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

    first of, Thanks a lot Julian for this brilliant knowledge and help you're giving to us. Second is from where do I get this template which I need to share with my developer. Can you please share the link of the same in the description of this video. Thanks a ton Julian :)

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

      just added it to the description - thanks for letting me know

    • @thevishnupurohit
      @thevishnupurohit 4 ปีที่แล้ว

      @@MeasureSchool Thank you so much ✌️❤️

  • @Rdeweerd1217
    @Rdeweerd1217 3 ปีที่แล้ว

    Looking for the Google Doc!

  • @Sabbir.Ahmed.101
    @Sabbir.Ahmed.101 2 ปีที่แล้ว

    How can i enable data layer on wix site

  • @TuanVu-vq2ou
    @TuanVu-vq2ou 3 ปีที่แล้ว

    Hi MeasureSchool, Can you give me the guide doc file in this video? Thank you.

  • @eleonorazapryanova9978
    @eleonorazapryanova9978 2 ปีที่แล้ว

    Hey, I have trouble downloading the Ecommerce dataLayer specifications. I put my email, but I don't receive a confirmation.. can you help?

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

    so its still installing the code manually via the developer right?

    • @rw1187
      @rw1187 3 ปีที่แล้ว

      Did you find a developer to do it already?

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

    Hi Julian, would you like to tell me about "don't try this at home" at 12:31

  • @TechMarketer
    @TechMarketer 4 ปีที่แล้ว

    I was sure that dataLayer should be placed above GTM snipped...?

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

      it doesn't matter as we are not transferring the data on the Pageview event, but a custom event

  • @AndRezc5
    @AndRezc5 4 ปีที่แล้ว

    Hey Julian, could you share the code you used for woocommerce? So we are able to replicate it and try it in our sites :)

  • @AndrehT666
    @AndrehT666 3 ปีที่แล้ว

    Can someone please explain to me why is this useful at all? I mean, FB Pixel gives me checkout price information without even thinking about touching code. I'm stuck with this mess that Google has made

  • @viccescigi
    @viccescigi 4 ปีที่แล้ว

    I hope I can get more tips to increase my traffic.

  • @mateoguevara923
    @mateoguevara923 4 ปีที่แล้ว +7

    Here's the code with dynamic variables for the ones who may need it, it works ok with wordpress (woocommerce), the compatibility is not secured with others CSMs/Lenguages
    gitlab.com/Gitmaniac420/ga-php-for-wordpress

    • @karan.k
      @karan.k 3 ปีที่แล้ว

      My man! Was looking for this!

    • @mpservatmand
      @mpservatmand 2 ปีที่แล้ว

      Thank you!

  • @horrorlovestories
    @horrorlovestories 3 ปีที่แล้ว

    Please give me 2 ideas to improve "conversions" of people who have already visited the product page

  • @bojanapetrovic9497
    @bojanapetrovic9497 4 ปีที่แล้ว

    Hi Julian, I am having an issue with the Enhanced Ecommerce and WooCommerce code that you have shown. When I add more than one product in quantity it multiplies whole price of products by their quantity once and then twice before outputting it to the Cart Value while keeping products prices normal. In Google Analytics it shows product prices as normal, but the price of whole order is multiplied again in a way ((Products price * Quantity)* Quantity) for each product in order. Did you had a same issue? Do you have any solution for that?

  • @muhammad.shoriful.islam.shorif
    @muhammad.shoriful.islam.shorif 4 ปีที่แล้ว

    Can i have this dynamic script, pls???

  • @arturasjakubauskas998
    @arturasjakubauskas998 4 ปีที่แล้ว

    Can You share please WooCommerce thank you page code?

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

      nope... see other comments

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

      @@MeasureSchool but the example for woocomerce is the point everybody was looking for :))

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

      @@arturasjakubauskas998 And it would let our developers get a head start too. I suppose I understand since most people will get confused and just come back here to complain. Bummer though.

    • @arturasjakubauskas998
      @arturasjakubauskas998 4 ปีที่แล้ว

      @@richardboos67 same as me, i was looking a solution for that code we need :))

    • @jarunis1
      @jarunis1 3 ปีที่แล้ว

      @@arturasjakubauskas998 Sveiki, gal radote ka nors ? Kike ziuriu visi nori nukreipti pas developeri, niekur nieko vertingo nearandu

  • @asafazoulay
    @asafazoulay 2 ปีที่แล้ว

    Hi, its not a good idea to edit plugin files! all your code will be removed in your next update of plugin, the right way to do it in WP WOO is to use WOO API for Implement it...

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

    Part 1: th-cam.com/video/xgLGWvhOyHU/w-d-xo.html
    Part 3: th-cam.com/video/OpUtb_Grl2A/w-d-xo.html