🤖 How To Set Up GA4 eCommerce Tracking For Shopify Using Google Tag Manager

Sdílet
Vložit
  • čas přidán 5. 09. 2024

Komentáře • 24

  • @hartzdevtech9088
    @hartzdevtech9088 Před rokem +4

    You are my favrorite person at Solutions 8, much better than the bald one and long haired one ;-)

  • @kivanch3785
    @kivanch3785 Před rokem +1

    I just want to leave a second comment to show my gratitude to your content! You are kingggg!!

  • @nahidx
    @nahidx Před rokem

    [UPDATE 18 May 2023] The whole code works fine.

  • @rehaayyildiz2
    @rehaayyildiz2 Před rokem

    great tutorial thank you

  • @bilyfull
    @bilyfull Před rokem +1

    Hey! I followed all the tutorials and have the exact same setup as in your videos now but I have a question... Why does the GA4 Event Tag fire also with the "purchase_complete" event? purchase_complete is for sending enhanced conversions to Google Ads and the event name does not match with any of the GA4 Event trigger names... How can that be possible?

  • @gulzarahmad7498
    @gulzarahmad7498 Před rokem +2

    Hi Sir, the code: {% assign shopify_store_country = 'US' %} contains US what if we are doing it for other countries, what are the changes we need to do in code given by you?

    • @zeroimpetuous
      @zeroimpetuous Před rokem

      He's a retard, probably just parroting what he memorized from another similar video. This fool doesn't even mention that you need to change the country code from US to IN, AU, NZ, etc. This shit most likely didn't work for anyone!

  • @kivanch3785
    @kivanch3785 Před rokem

    thanks bro! it worked for me finally I watched all videos.,, this one worked only.. but interestingly checkout does not trigger in GTM for me,,

  • @mdmuradhossain2254
    @mdmuradhossain2254 Před rokem

    Take love brother.
    All event is firing but this data layer is not carrying any customers information like: Customers ID, name, address, Email, Phone number which are necessary for ECommerce tracking.
    So, If we use this data layer we can not track our customers information.
    Hope you understand

  • @whocaresimnotposting
    @whocaresimnotposting Před rokem

    very cool stuff, even the debugging! Finally i feel a little confident poking around tag manager!

  • @Tamanna4140
    @Tamanna4140 Před rokem

    Check out event is not showing . Could you please update the code with checkout too.

  • @thimoschroder1819
    @thimoschroder1819 Před rokem

    Thank you so much guys!! Could you also do a tutorial on how to setup Microsoft Ads with GTM?

  • @joeybidner
    @joeybidner Před rokem

    love this new series. very helpful, thank you!

  • @user-qv2de6vg2f
    @user-qv2de6vg2f Před rokem

    Thank you so much from Ukraine.

  • @SavitriSingh-uj3gj
    @SavitriSingh-uj3gj Před rokem

    hi sir, I am able to track revenue, but I have one issue with GA4 revenue. The revenue has a completely different value than UA. Can you please tell me the reason??

  • @ottodia_
    @ottodia_ Před rokem

    Can you please make a video how to track google ads campaign performance in ga4?

  • @vaijayantikolhe2688
    @vaijayantikolhe2688 Před rokem

    Go Smriti!🎉

  • @ruhanrossi1514
    @ruhanrossi1514 Před rokem

    Sir take my respect.

  • @vladimirnikolov2231
    @vladimirnikolov2231 Před rokem

    Thank you :)

  • @patrizioorsini2193
    @patrizioorsini2193 Před rokem

    Which one is the code for tracking purchases?

  • @Airtripllc
    @Airtripllc Před rokem

    USE GTM brother to make life easy i suppose

  • @ViralFrontier
    @ViralFrontier Před rokem

    getting duplicates after this

  • @scoutBerlin
    @scoutBerlin Před rokem

    hey, thanks for the video.
    transaction_id: "{{ order_number }}" & currency: "{{ currency }}" need to be updated. Otherwise it does not pass the order number and currency code.
    Here is the updated one:
    -------------------
    window.dataLayer = window.dataLayer || [];
    dataLayer.push({ ecommerce: null });
    {% if first_time_accessed %}
    dataLayer.push({
    event: "purchase",
    ecommerce: {
    transaction_id: "{{ order_number }}",
    value: {{ total_price | times: 0.01 }},
    tax: {{ tax_price | times: 0.01 }},
    shipping: {{ shipping_price | times: 0.01 }},
    currency: "{{ order.currency }}",
    items: [
    {% for line_item in line_items %}{
    item_id: "{{ line_item.product_id }}",
    item_name: "{{ line_item.title | remove: "'" | remove: '"' }}",
    currency: "{{ currency }}",
    price: {{ line_item.final_price | times: 0.01 }},
    quantity: {{ line_item.quantity }}
    },{% endfor %}
    ]
    }
    });
    {% endif %}
    -----------------