How to Configure GA4 AddToCart Event on Shopify using GTM and dataLayer

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

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

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

    "Get 95% Accurate Tracking for Your Ecommerce Store in 7 Days:
    tinyurl.com/24dkqb4u"

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

    Thanks man! Its working now. Previously I had not enable clicks on variable sections. Now its working

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

      Great. I am glad that it helped.

  • @mr.vedmutha
    @mr.vedmutha 5 ชั่วโมงที่ผ่านมา

    is this tutorial still relevant or follow latest video?

  • @Verah-y1g
    @Verah-y1g 3 หลายเดือนก่อน

    When I am clicking preview then I can see the events being passed from tag manager to GA4. But when I am normally accessing my website from browser I don't see any events on the GA4. Can you please help in solving this?

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

      Ah, make sure to publish the GTM container.

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

    thnx. i cant find the Product DataLayer Code. where is it?

    • @TrackingAcademy
      @TrackingAcademy  6 หลายเดือนก่อน +1

      Hi. There's a blog post link in description. If you scroll down to section 03, you'll find "Main Product Page DataLayer Script" part where you can get the scrip after google signin

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

      @@TrackingAcademy I did google signin. I saw all 3 javascript codes. But I couldn't find the code to add for the datalayer-product page seen at 9:35.

    • @TrackingAcademy
      @TrackingAcademy  6 หลายเดือนก่อน +1

      On the blog post, under section 03. You'll find "Main Product Page DataLayer Script" this is the " datalayer-product" script

  • @GrowticMarketing
    @GrowticMarketing 11 หลายเดือนก่อน +1

    Thanks for these videos! For me it would have been more helpful if you had created those as a sequence rather than repeating the same processes in every video. This helps to understand the whole necessary tracking setup.
    One question arose: when I already implemented the view item tracking including the head-datalayer and the datalayer-product snippet on the Shopify Store, how do I proceed with the setup for Add to Cart and Begin Checkout? Must I create new snippets on Shopify with the same name (head-datalayer and datalayer-product) again or do I add the code snippets in the existing head- and product-datalayer snippets? The code snippets for the head-datalayer seem to be identical for the different events (view item, atc, begin checkout), for the datalayer-product the second part of the code snippet differentiates. How do I merge the code snippets here?
    This would have been clear to me if you had created the videos as a sequence rather than independent. Thanks for clarifying!

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

      Hi, I understand that the sequential videos might be helpful for someone who is following the playlist. The videos i created were for people who already have setup, but now want to just add one extra event. Unfortunately, my channel does not have any videos for Shopify, and playlist content. However i am more playlist type content.
      For your concern, the head-datalayer, theme-datalayer code are the same for view_item, and add_to_cart. The product-datalayer code has to be merged.

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

    If purchase tag firing two times what should I do?? My client facing the same problem

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

      Easiest thing is to limit it once per page. Second option, send same transaction_id, and it will be deduplicated on Ga4, third option, check and remove the 2nd dataLayer push to avoid the problem from the root.

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

    Will these parameters be displayed only for the "add_to_cart" event or also for the Buy now event?
    nice video, thanks

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

      Hi, thank you. The dataLayer in the video is only for add_to_cart, you can find another detailed video about purchase event here: trackingacademy.com/blog/shopify/ga4-purchase-shopify-gtm

  • @eslamabou-shashaa4652
    @eslamabou-shashaa4652 ปีที่แล้ว +1

    Could I ask you how can I learn code that you write it
    I have basic knowledge about javascript, In future I want write my code will I need
    Ultimately thanks for time and sharing knowledge

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

      Yes, sure. With the basic knowledge of JS, you also need to learn and understand how Liquid Templating language works. Script writing for Shopify will become easier with Liquid and JS. Happy Coding :3

    • @eslamabou-shashaa4652
      @eslamabou-shashaa4652 ปีที่แล้ว

      @shahzadaalihassan_ thanks a lot
      I don't found words to represent my thoughts for youv

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

      Thank you brother

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

    Your video is super helpful! Can you share the Data Layer code from the video? I couldn't find it on the blog.
    Also, could you make another video about data layers, explaining how to install and create them for advertisers? There aren't many videos in simple language for advertisers, so it would be really useful. Thanks!

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

      Hi, you can find it almost at the middle of the page, the code used in the video is mentioned on this blog post: shahzadaalihassan.com/blog/shopify/ga4-add-to-cart-shopify-gtm
      Sure, that sounds like a good idea, i can add this video series idea, on my to-do list for next month. Thanks

  • @hzmarketing
    @hzmarketing 17 วันที่ผ่านมา

    can you please provide these codes?

    • @TrackingAcademy
      @TrackingAcademy  17 วันที่ผ่านมา

      You can find the code snippets on the blog post here? trackingacademy.com/blog/shopify/ga4-add-to-cart-shopify-gtm

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

    please sir kindly provide coding script i can't access

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

      Hi, you need to signup via google, to view the scripts