Let’s remember that Ecommerce reports in Google Analytics allow you to analyze the purchase activity on your site or app, where you can see transaction details (such as Transaction ID, Affiliation, Revenue, Shipping and tax) and product details (such as Product Name, SKU, Product Category, Unit Price and Quantity). Basically, this feature tracks the sale data on the “thank you” or “confirmation” page of your online store.
Besides Ecommerce tracking, there is another Ecommerce implementation method called Enhance Ecommerce which is an improved version of the traditional Ecommerce tracking snippet that allows you to track shopper behavior and conversions. In this post,we are just going to cover how to setup the Standard Google Analytics Ecommerce tracking using Google Tag manager (GTM). If you want to know how to track Enhanced ecommerce with GTM click here.
So, to implement Standard Ecommerce tracking with GTM, follow the steps bellow:
- First of all, check if your shopping cart software let you add GTM to your website and provides built-in data layer support for transaction data. If it does, then in just a few clicks you can install Ecommerce tracking via GTM and all will be done.However, if your shopping cart software doesn’t provide e-commerce tracking support via GTM then keep reading.
- Enter GTM and add a Google Analytics tag of type Universal Analytics.
- Enter your Tracking ID and choose track type of Transaction.
5. Once you choose the trigger, click in “Create Tag”.
6. Then, place this code above the Google Tag Manager container snippet so that the data layer is ready when Google Tag Manager fires the Google Analytics tag.
And that’s it!
Don’t forget to preview and debug this tag to make sure that everything works properly. Or you can use the Google Tag Assistant plug-in from the Chrome Web Store as well, to help you verify that you have installed your Google tags correctly on your page.
Let me know if you have any questions or suggestions! I’ll be pleased to read and answer them.
Want to learn more on Google Analytics? Subscribe below.