Version 1: Create a DataLayer in Shopify for GTM (GA4, Enhanced Conversions, Google Ads)

Поділитися
Вставка
  • Опубліковано 20 січ 2025

КОМЕНТАРІ • 38

  • @ANJEDORANGI
    @ANJEDORANGI 9 місяців тому

    Thanks so much for this, Alessandro!!! I've spent hours trying to get the tracking working on my site and this has worked perfectly. Amazing!

  • @alinaepopa
    @alinaepopa 9 місяців тому +1

    Very helpful. Alessandro, Shopify announced that they will depricate the use of additional scripts from checkout and GTM should be placed in settings- customer events. When we create a new Shopify store the additional scripts section from checkout does not work at all. Can you show how can we add GTM and dataLayer there? Thank you! 🙏

    • @Alessandro-Colarossi
      @Alessandro-Colarossi  9 місяців тому +1

      You're right, according to Shopify:
      As of August 13, 2024, checkout.liquid for the information, shipping, and payment pages will be turned off and no longer supported.
      As of August 28, 2025, checkout.liquid for the thank you and order status pages will be turned off and no longer supported. This also includes turning off apps using script tags and additional scripts under the post-purchase and order status pages.
      So we've got till August next year to use what I'm presenting in this video. In the meantime I'll look at converting my checkout.js file into customer events. Stay tuned.

    • @siquora
      @siquora 9 місяців тому +1

      I would alos like to see this.

    • @alinaepopa
      @alinaepopa 9 місяців тому

      @@Alessandro-Colarossi thank you very much! You bring so much value through your videos!

    • @Alessandro-Colarossi
      @Alessandro-Colarossi  9 місяців тому

      @@alinaepopa Thank you :)

    • @Alessandro-Colarossi
      @Alessandro-Colarossi  9 місяців тому

      @alinaepopa Here you go: ua-cam.com/video/CnLOo7qfB74/v-deo.html

  • @SpiriTBladE9i6
    @SpiriTBladE9i6 5 місяців тому

    Hi Alessandro, we use the "Impact" Theme. I added the dataLayer Snippet but the enhanced e-commerce events like "view_item" aren't showing up in the console when calling "dataLayer" on a product page. No enhanced ecom event is triggering. What could be the issue?

    • @Alessandro-Colarossi
      @Alessandro-Colarossi  5 місяців тому

      @@SpiriTBladE9i6 no idea... I'd have to take a look. Book time with me here: triangledigital.xyz after purchasing the code.

  • @LucasGiraldo-u1h
    @LucasGiraldo-u1h 8 місяців тому

    This works amazing, i have a big problem with that tags but this give me light for the solution, thanks!

    • @Alessandro-Colarossi
      @Alessandro-Colarossi  8 місяців тому

      Great! Check out the Shopify pixels video for the most future proof solution because Shopify will be removing the additional scripts area next summer.

  • @jonathonwsims
    @jonathonwsims 4 місяці тому

    Will this help with draft order attribution? Our draft orders only are attributed as direct orders.

    • @Alessandro-Colarossi
      @Alessandro-Colarossi  16 днів тому

      I don't think this will, this is great for having everything fully compliant in one spot - gtm.
      - enhanced conversions
      - GA4 enhanced e-commerce
      - dynamic remarketing

  • @stephanetinner
    @stephanetinner 7 місяців тому

    Thanks for your video but unfortunately, it's not possible to add a script in checkout page. This service will be deprecated at the end of 2024. Do you have another solution ?

    • @Alessandro-Colarossi
      @Alessandro-Colarossi  7 місяців тому

      Yes, check this out: ua-cam.com/video/CnLOo7qfB74/v-deo.html
      Don't forget to share it and subscribe to the channel!

  • @crispizarros
    @crispizarros 7 місяців тому

    Hi Alessandro! Thanks so much from Chile. Quick question, why didn't you add GTMs piece of code that is supposed to go in the Body part of the theme file?

    • @Alessandro-Colarossi
      @Alessandro-Colarossi  7 місяців тому

      Right after
      Have a good one! Thanks for watching - stay subscribed!

  • @Chapa2499
    @Chapa2499 9 місяців тому

    Hey! Thanks for the video.
    what should I do if dataLayer only considers the price for the first product option while the second option with a different price was selected?

    • @Alessandro-Colarossi
      @Alessandro-Colarossi  9 місяців тому

      What is your website address and are you using the dataLayer code in this example?

  • @LTSOFTWARS
    @LTSOFTWARS 8 місяців тому

    Hi Allessandro, on your "shopify-Datalayer", there are 2 files, non pixel and customer events pixels implementation.
    When do we use which ?

  • @freeskierjim
    @freeskierjim 8 місяців тому

    wow, what a great free resource. Thank you. Very kind of you to share. Do you have a list of all events that the data layer pushes?

    • @Alessandro-Colarossi
      @Alessandro-Colarossi  8 місяців тому

      Thanks! It pushes all of these: developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtm

    • @freeskierjim
      @freeskierjim 8 місяців тому

      @@Alessandro-Colarossi makes sense. Do you do any freelance work?
      I have set up Enhanced Conversion Tracking & Dynamic Remarketing for GADs as well as Ecommerce Tracking in GA4 using GTM. I am very certain that everything is set up correctly on GTM side. However, I have a GTAG configuration tag for GA4 within GTM and I am concerned it is sending duplicate events post uninstall of Google Native Integration to my GADs account despite removing the conversion events it installed.
      I'd like someone like you to briefly pop under the hood and ensure everything is set up correctly and that duplicate events are not being fired in GADs.

  • @joaquimoliveira3780
    @joaquimoliveira3780 9 місяців тому

    Amazing video! Thank you very much!

  • @JeremyMiller-rb1hs
    @JeremyMiller-rb1hs 8 місяців тому

    Awesome video! Question: will any of the native integrations between GoogleAds or GA4 & Shopify cause a dual-tagging issue if using this setup? If a Shopify store has already been integrated with Google Ads, what do we need to delete/change to avoid dual-tagging?

    • @Alessandro-Colarossi
      @Alessandro-Colarossi  8 місяців тому +2

      Yep, if using this method best to disconnect the GA4 and google ads conversion tracking integrations in Shopify to avoid double counting. This is a much more comprehensive approach - GA4 includes enhanced ecommerce and Google ads conversion tracking includes enhanced conversions.
      But also, worth mentioning that this method: ua-cam.com/video/CnLOo7qfB74/v-deo.html is the most future proof way to tag a store as the checkout area (additional scripts) section in Shopify is being deprecated-I know a lot of folks have tags in this area. In the future, the new customer events area/pixels area will be the only way to do it.
      "As of August 28, 2025, checkout.liquid for the thank you and order status pages will be turned off and no longer supported. This also includes turning off apps using script tags and additional scripts under the post-purchase and order status pages."
      help.shopify.com/en/manual/checkout-settings/checkout-extensibility/checkout-upgrade

  • @ahmedalnakabassi7985
    @ahmedalnakabassi7985 8 місяців тому

    Awesome work honestly ...was wondering if anyone can help, ....am not capturing any event related to cart or checkout

    • @Alessandro-Colarossi
      @Alessandro-Colarossi  8 місяців тому

      No worries. Check out the pixel video, it's more future proof than this one. Shopify will be deprecating the additional scripts area next year.

    • @ahmedalnakabassi7985
      @ahmedalnakabassi7985 8 місяців тому

      @@Alessandro-Colarossi can I have your email for work suggestion

    • @Alessandro-Colarossi
      @Alessandro-Colarossi  8 місяців тому

      @@ahmedalnakabassi7985 me@alessandrocolarossi.com

  • @joeybidner
    @joeybidner 9 місяців тому

    awesome video

    • @Alessandro-Colarossi
      @Alessandro-Colarossi  9 місяців тому

      Thanks man, the checkout section (the additional scripts area) in this video is being deprecated by shopify next year. This video shows the updated approach.
      ua-cam.com/video/CnLOo7qfB74/v-deo.html