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?
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
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!
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.
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.
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
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
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
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!
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
"Get 95% Accurate Tracking for Your Ecommerce Store in 7 Days:
tinyurl.com/24dkqb4u"
Thanks man! Its working now. Previously I had not enable clicks on variable sections. Now its working
Great. I am glad that it helped.
is this tutorial still relevant or follow latest video?
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?
Ah, make sure to publish the GTM container.
thnx. i cant find the Product DataLayer Code. where is it?
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
@@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.
On the blog post, under section 03. You'll find "Main Product Page DataLayer Script" this is the " datalayer-product" script
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!
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.
If purchase tag firing two times what should I do?? My client facing the same problem
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.
Will these parameters be displayed only for the "add_to_cart" event or also for the Buy now event?
nice video, thanks
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
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
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
@shahzadaalihassan_ thanks a lot
I don't found words to represent my thoughts for youv
Thank you brother
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!
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
can you please provide these codes?
You can find the code snippets on the blog post here? trackingacademy.com/blog/shopify/ga4-add-to-cart-shopify-gtm
please sir kindly provide coding script i can't access
Hi, you need to signup via google, to view the scripts