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?
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?
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!
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
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??
You are my favrorite person at Solutions 8, much better than the bald one and long haired one ;-)
I just want to leave a second comment to show my gratitude to your content! You are kingggg!!
[UPDATE 18 May 2023] The whole code works fine.
great tutorial thank you
Thanks for watching, we appreciate the feedback!
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?
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?
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!
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,,
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
very cool stuff, even the debugging! Finally i feel a little confident poking around tag manager!
Check out event is not showing . Could you please update the code with checkout too.
Thank you so much guys!! Could you also do a tutorial on how to setup Microsoft Ads with GTM?
love this new series. very helpful, thank you!
Thank you so much from Ukraine.
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??
Can you please make a video how to track google ads campaign performance in ga4?
Go Smriti!🎉
Sir take my respect.
Thank you :)
Which one is the code for tracking purchases?
USE GTM brother to make life easy i suppose
getting duplicates after this
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 %}
-----------------