Shopify Facebook Pixel: Add To Cart Ecommerce Event using DataLayer and Google Tag Manager

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

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

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

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

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

    The hero has a name! Thank you!

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

    Thank you, extremely good teacher

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

      hi, the dataLayer code is on the blog, once you signup using Google on the page

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

    Great Video! Thank you.

  • @gennarociotola_
    @gennarociotola_ 7 หลายเดือนก่อน +1

    Hi @TrackingAcademy , I've been looking at the guide for days but there are some points that aren't clear to me. Section 3 or the addition of the 2 scripts at 5:41 . I don't understand what I have to paste in 'Head Data Layer' and 'Product Data Layer'. On the blog the codes to copy seem to be different than the ones you paste into the two snippets you create on Shopify. On the blog there are 2 pieces of code but I don't understand if in reality it is a single piece or not. Can you help me understand??

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

      Hi, the confusion is so true. The head-dataLayer.liquid file will have that short 4-6 lines of code. But I think the file names are different in video I mention that the file name should be product-datalayer.liquid. But actually it supposed to be datalayer-product.liquid or something that is used in the head-datalayer. Maybe I’ll take sometime tonight and fix the blog post

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

      @@TrackingAcademy thank you so much

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

      You are welcome

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

      @@TrackingAcademy Have you made the changes on the blog?

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

      I have checked, and the blog post is UpToDate now.

  • @justinasragelis1634
    @justinasragelis1634 8 วันที่ผ่านมา

    Great tutorial, but there are different videos for each event like pageview, add to cart etc, I want to have all these events firing. Is there a complete product-datalayer code that has all events code? pageview, view content, add to cart, checkout, purchase? Now they are all individual codes, not combined.

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

      These videos are created, for the users who would like to add any one of the events to their Shopify Store, most of the users have Facebook & Instagram shopify app, and sometime, one or two events dont fire from their set up. These videos are created for those users in mind. Rightnow there is not a combined video

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

    Hi, can't find a link for Snippets code insert ???

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

      The first link in the description box. On the blog post. You will find the code that have been used

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

    By this method we are sending data to FB pixel then do we need to setup conversion API ?

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

      Conversion API and Brower Pixels are separate, and Yes, you still have to configure CAPI

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

    Hi, i did it step by step as the video but i cant see the Meta Pixel AddToCart tag fired.
    Can it be because of the language of my template? My add to cart button is in spanish as ''agregar al carrito''

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

      Hi, the text on the AddToCart button does not matter, as long as you have [name="add"] attribute added on the AddToCart button.

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

      Thanks for the quick response@@TrackingAcademy​but i cant see the Meta Pixel AddToCart tag fired yet. Any additional suggestions to fix this issue?

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

      Hi, not really sure, there can be many things, and since the store is not in english, maybe that can be one of the reasons.

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

    My data layar is not working, I saw your all three videos purchase, check out and also add to cart but the issue is datalayar is not shoowing in my end any solution.
    When I add to cart I cannot see it it in google tag assitant tab any suggestion

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

      Hi. The add_to_cart dataLayer works on the product template. If you triggering add_to_cart outside of product template, on collection page or any other pages, the event will not trigger.
      The initiate checkout script triggers on the /cart route of Shopify and Purchase event will trigger on /thank_you route

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

    Hi, brother, thanks for your nice tutorial. This is very helpful. By the way, when I checked the pixel helper extension I see it shows the default variant data which is selected when the page load. But when I change the variant and add to cart I see the data has not been changed in the pixel helper and it shows the default variant data. Also I checked this through the event manager and I saw it shows the wrong variant data instead of the one I added to cart. The value should be changed dynamically but it is not happening. When I checked it by enabling the Facebook app I see it shows the data correctly under the "Content_name" parameter but I don't want to use this and want to work manually. Anu suggestions?
    Thanks.

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

      Hi, thanks for pointing it out. True, since the code fires on page load, it stores the default variant data for add_to_cart event. I will see if i get some time, later next week to write a new script and fix it

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

      @@TrackingAcademy I have been checking this whole the day and now I'm really frustrated. I found some resources for the data layer code but saw the same thing happened. By the way, hope you will have time to create an amazing tutorial for this as you do always.
      Thanks.

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

      Hi, you can try customer events: shopify.dev/docs/api/pixels/customer-events#standard-events

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

      @@TrackingAcademy Thanks brother. But as a beginner I'm not familiar with this. Would you mind creating a video about this and adding that to the playlist? That will be helpful a lot.
      Thanks again for your precious work.

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

      Sure, i will add it to the video ideas for later