How to setup Ecommerce Tracking in Google Analytics | Lesson 18

How to setup Ecommerce Tracking in Google Analytics | Lesson 18


Now to install eCommerce tracking you
can go to first of all your admin section and under the view settings
you’ll find the eCommerce settings. And here is where you can enable eCommerce
tracking and enhanced eCommerce tracking. And all you have to do to do
that is click on on and even here an enhanced eCommerce tracking. You can
just click on and it will ask you for the checkout labeling. Now once you have
set that up, eCommerce tracking is not yet working. You just make sure that
Google Analytics is ready for that data so once the data comes in it knows to
take that data and put it into the right report. And in order to send over the
data it’s a whole another level of installation. Let’s talk about eCommerce
tracking first. If you go over to the developer section of Google Analytics,
you’ll find how to install the proper codes onto your Thank You page. Very
important the Thank You page. And these codes need to be installed to send over
a transaction or an item to Google Analytics. Now in order for this to work
you can’t just copy that and paste it into the Thank You page. But rather it
needs to have a integration with your shop system. And at this point I really
want to refer you to an experienced developer of somebody who knows your shop system pretty well to install that for you if he does it manually. Because for
example he needs to dynamically pull the ID of the transaction into these fields
and then send them over to Google Analytics. And by dynamically I mean the
order details change every order and that’s why this code needs to change in
every order. And so this is really a job for somebody who knows the shop system
pretty well and knows how to transfer the right information to Google
Analytics and you’ll find everything about that in the developer section. I’ll
link that up in the resources of this course. Now let’s talk briefly about
enhanced eCommerce tracking. As my down on you right now, the normal
installation of eCommerce tracking just on the Thank You page a little bit more
complicated than standard Google Analytics installations. And enhanced
eCommerce tracking only happen on this Thank You page but rather on every
template page so the home page, category pages, the product pages, to checkout and
so on. And there are different measurement points where you send over
data and this is all explained in this developer section. It’s really an
advanced feature and also an advanced feature to implement so you need
somebody with experience who can sit down for an extended period of time, read
through this documentation and then implement it onto your shop system on
the code basis. This is not an easy to do task with just copy pasting a line of
code into your site. But rather a full-on implementation of different codes on
different pages on your website. Now the topic that comes up is those can’t you do this with Google Tag Manager? Yes Google Tag Manager gives you
the capability of doing that a little bit more easily but at the same time you
need to invest resources in getting the sort of code dataLayer set up. The dataLayer holds the information that we want to send over to Google Analytics. And
setting that up is probably the same work as installing it manually. So a lot
of you guys will probably say oh this is too much work to do this. There’s
actually one rescue here which are plug-ins. So for your shop system for
example for this shop system in WooCommerce, there’s already a plug-in
out there that can install the enhanced eCommerce tracking or the eCommerce
tracking for your website automatically. Now it’s
actually pretty standard that every shop system nowadays has some kind of plug-in
to enable eCommerce checking on this website so I would really refer to the
help section of your shop system to find out which plug-in you can use to enable
at least eCommerce tracking if not enhanced eCommerce tracking. But again
here there will be something out there for eCommerce tracking and since it is a
pretty standard process, pretty forward process you probably just have to go
into your Google Analytics account enable eCommerce tracking and into your
shop back-end enable eCommerce tracking there as well. And you’ll be all set and
go to look at the reports within Google Analytics under conversions and
eCommerce. Now if you’re looking at this course in
2016 or 17 then there will probably be a kind of adaption to enhance eCommerce
tracking. So Google has announced in 2014 that they have started partnerships to
get enhanced eCommerce tracking installed by default. This is for example
the case with the shop system PrestaShop or Shopify. And there’s actually plug-ins
out there that enabled that. There’s a plugin from Magento, I know that. For any
other shop system you really have to dig into what capabilities are there in
plug-ins or default already in the shop system. Enhanced eCommerce tracking is
so powerful that more and more shop owners will demand from their shop
vendor that this needs to be installed onto the web page by default into the
web shop and the shop system. So I would guess in 2016 and 17 we will see this
feature coming out by default and you’ll see the data coming into Google
Analytics. So it’s very important if this is
already enabled by default and data is coming in, you need to still go into the
admin section and enable the eCommerce reports so the data gets processed
correctly.

11 COMMENTS

    Hi Measureschool, i followed one of your instruction to set up ecommerce tracking via google tags. When i tested it the tag is showing up and my test products did register in the google analytics, however since then i had 5 more purchases but they are not showing up in the chart! Any idea why this is happening?

    Thank you!

    hi, Julian!
    Thank you for your all activities, especially videos you published on youtube. I just implemented dataLayer to webpage, GTM preview showing all the data is passing correctly but there is nothing to show in GA.
    @Measureschool

    Hi Measureschool!
    I would like to ask you which Woocommerce plugin do you prefer for e-commerce tracking in Google Analytics? I have tried one called "WooCommerce Google Analytics Integration" but it does not work. Thanks for your help in advance!

    The basic ecommerce code is meant to be between these two lines in the analytics script on thank you page correct?

    gtag('config', 'UA-76611642-3');

    </script>

    Hi Julian, thank you for all your videos! How do you solve the "paypal.com / referral" problem in google analytic? When this happen, we don't know where the sale came from?

    I'm not really sure that telling people to "get someone else to set it up or use a plugin" really constitutes a tutorial teaching how to setup Ecommerce tracking… But hey, I learned a few basics I missed along the way, watching your whole series from the beginning, so I thank you nonetheless. You have a lot of knowledge; I just would recommend skipping areas that you don't feel qualified or interested in discussing in depth. There's no shame in it. =)

    You have saved me so many times with your videos. Thank you so much for creating all of these for the world to have. Thank you thank you thank you!

    Once you create the dataLayer and add that code to your thank you page, will the data then start to flow into Google Analytics? Or do you have to do more?

Leave a Reply

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