Tracking Shopify stores through GTM provides a lot of flexibility and manageability. However, effective Shopify tracking via GTM necessitates a solid Shopify DataLayer code. Unfortunately, scouring the internet won’t yield a complete Shopify data layer capable of comprehensively tracking every Shopify event. In response, I’ve recently pioneered a groundbreaking Shopify DataLayer code. This code boasts comprehensive features and remarkable flexibility to track all Shopify events seamlessly. Rigorously tested across various Shopify themes and advanced features like Quick View, Add To Wish List, Sticky Cart, Cart Drawer, and more. The data layer code is finely tuned for optimal performance without any adverse effects on your Shopify store.

In the upcoming tutorial, I delve into the intricacies of this remarkable Shopify Data Layer. By carefully following this tutorial, worries about tracking Shopify via GTM will become a thing of the past.

With the Shopify DataLayer, you can keep track every type of Shopify event, including Google Recommend events and more.

Events you can track with this Shopify DataLayer

NoEvent NameDescription
1view_itemWhen view a product. This Shopify datalayer works for both product page view and view product on quick view
2view_item_listWhen product category page visited. Also customized solution available for view item list on product recommendations
3select_itemWhen product select from list or change product variant
4add_to_cartWhen a product is added to cart or increment quantity of a product from cart. The Shopify DataLayer works Quick View, Sticky Cart, Direct Checkout, Add to Cart form Single Product page, add to cart from product category page, etc
5remove_from_cartWhen a item is removed from cart. The Shopify DataLayer works for Mini Cart and Dropdown Cart, Cart Drawer, Cart Page
6add_to_wishlistWhen custom add a product to Wishlist basket
7view_cartWhen cart is viewed. This Shopify dataLayer works for for Mini Cart and Dropdown Cart, Cart Drawer, Cart Page
8begin_checkoutWhen click begin checkout button to go to checkout page
9add_payment_infoWhen payment information is given on checkout page
10add_shopping_infoWhen shipping information is given on checkout page
11purchaseWhen purchase successful
newsletter_signupWhen signup for a newsletter form from Shopify Store
12contact_form_submitWhen contact form is submitted from Shopify Store
phone_number_clickWhen phone number is clicked from Shopify Store
13email_clickWhen email is click from Shopify Store
14search (Ajax)search_term, items[item_id, variant_id, sku, product_id, item_name, index, brand, item_categoryprice, quantity]
15loginWhen customer login
16sign_upWhen customer signup

Event Parameters:
Ecommerc: transaction_id, currency, value, coupon, shipping, tax, items array, item_list_id, item_list_name,
Form: form_id, email, phone number, first name, last name, other user data
Customer’s Data: First Name, Last Name, Email, Hashed Email, Phone Number, Hashed Phone Number, Address

Leave a Reply

Your email address will not be published. Required fields are marked *

Need Help?