How to Use Google Analytics to Do Customer Tracking in WooCommerce?

Jeniffer| 2018-04-18 Tutorials, WordPress Comments( 3 )

Have you ever planned to implement customer tracking on your WooCommerce websites? It can help you offer better personalized shopping experienced for your customers, based on their behaviors in your store. In the following guide, we will make you understand what customer tracking is, the importance of customer tracking for your WooCommerce store, and how to use Google Analytics to do customer tracking in WooCommerce.

Why Should You Enable Customer Tracking in Your WooCommerce Store with Google Analytics?

We all know that Google Analytics is a powerful and integrated web analytics service provided by Google. Which can track and report website traffic. So, using Google Analytics to do customer tracking is easy to help you learn your customers better, such as where they are from, what they are doing on your site, and so on. In other word, Google Analytics can make you track your WooCommerce store’ traffic sources and user engagement on your site effectively.

Even better, Google Analytics can offer eCommerce platforms with an enhanced tracking feature. If you enable it, Google Analytics will offer you several useful reports, including shopping behavior, product lists performance, checkout behavior and sales performance.

What’s more, Google Analytics can assign each of your customers a special ID, and then associate the reports mentioned above to each of them.

The downside of the function is that those IDs cannot accurately offer you your users’ information. For instance, one user can come to your site via different devices, but Google Analytics will always give him or her new ID when they come from a new device. 

Generally speaking, on you WooCommerce store, your customers can create their accounts or checkout like a guest user. With the accounts, they can save shipping as well as billing information and checkout faster next time. Also, it helps you provide your customers a better personalized shopping experience after learning their shopping history and browsing history.

So, using Google Analytics can help you a lot with better learning your customers from their behaviors and more. Now, we are to step into how to enable customer tracking in WooCommerce with Google Analytics, which should have 5 steps.

1. Setting up Ecommerce Tracking in WordPress with Google Analytics

Our first step is to install and activate a WordPress to continue and the plugin named MonsterInsights. In order get the access to eCommerce add-on, you should choose the “Pro” version. In this guide, we will use the eCommerce add-on.

For activation, you need connect MonsterInsights to Google Analytics account. Then, head to “Insights” >> “Addons” page, and here install the “MonsterInsights Ecommerce”. Once you are down, you need to activate the add-on by clicking on “Activate” button. Now, it is activated and accessible!

Visit “Insights” >> “Settings” and then press “Tracking” on the top left corner. Next, clock on “eCommerce” tab as well as check “Use Enhanced eCommerce” box.

Then, click on “Demographics” tab in the left menu and check the box next to “Enable User ID tracking”.

After you finished these settings, you need to press “Save Changes” to keep your changes and settings just made.

2. Enabling Enhanced Ecommerce Tracking with Google Analytics

By default, the eCommerce tracking isn’t enabled in your account of Google Analytics. So, to use it, you need enable it manually. Go to your Google Analytics account interface and click on “ADMIN” to turn to your admin page.

Then, click on “Ecommerce Settings” from the view list.

Now, you should be on “Ecommerce Settings” page. Just click on a switch to turn on “Enable Ecommerce status”. Click on “Next step” to go on.

Then, the second step is to switch on “Enahnced Ecommerce Settings” to enable enhanced ecommerce reporting. After that, press the “Submit” button to store these changes.

At present, you can use your Google Analytics account to start to display enhance ecommerce reports for your WooCommerce shop.

3. Enabling Customer Tracking with Google Analytics

Although you have enable the “Enhanced Ecommerce Reporting” by enabling “Ecommerce tracking” for your WooCommerce site, the user tracking cannot be enabled by default. 

So, in order to enable each individual customer tracking for your store, you should firstly head over to the dashboard of your Google Analytics account as well as switch to admin page again. 

Find “Tracking Info” under “PROPERTY” column and add new submenu. Here choose “User-ID” link under “Tacking Info”.

Next, it will offer you’re a page of “Enable the User-ID feature”. You need review it and switch on to agree “the User-ID Policy”. 

Then, press “Next step” button to move on.

Now, Google Analytics should ask you how to configure your “the User-ID”. Because you have installed MonsterInsights and it will be used to do User-ID tracking, you just need to click on “Next step”.

Next, click on “Create” button to create and enable the user ID tracking.

Then, you need to type into a title or name for “Reporting View Name” to display the User ID reports. You can include “UserID” in this name, so that you can easily remember the view having enabled UserID tracking. 

Finally, you just need to find “Create View” in the bottom to save you UserID tracking settings.

4. Viewing Customer Tracking Reports in Google Analytics

By far, you have made everything setup and Google Analytics will start to track all customers coming to your WooCommerce store. Besides, Google Analytics can track those logged in visitors with the special WordPress user IDs.

Now, you have the tracking and report, but how to view your customers’ activities? It can be done by visiting your Google Analytics account and clicking on “Audience”>> “User Explorer”. Then, you will get the individual customer report and each has a special ID Google Analytics assigned to those non-logged in audience.

To see your customer tracking reports for those logged in users on your WooCommerce store, you just need to click on the Google Analytics logo which is on the top left corner.

By click on the logo, you can get all your profile of Google Analytics. And your site profile and UserID reporting are founded here.

Now, choose “UserID” to load its reporting.

After that, you have to go to “Audience” >> “User Explorer”, and here you can find logged in users tracking report and the users in the report will be shown with their own WordPress User ID on your site. 

To check each individual user’s tracking data, you can just press his or her “User ID”.

Now, although you have the user ID report, you still have no idea about who they really are. So, you still cannot offer them better personalized user experience. You need to match their tracking with their account on your site.

5. Matching Customer Tracking with Their Accounts on Your WordPress Website

To match your customer tracking with their account on your site, you should firstly write down these customer IDs you find in the UserID reporting view.

Then, head over to WordPress Dashboard >> admin area. Then, press “Users” menu from the left sidebar. After that, you will get a list of all these users on your website.

Next, you need to click on “Edit” under any username within the list. You will see a user profile appeared in front of you. Also, you can pay attention to your browser address bar, where you can see the user id in URL.

Then, you just need use a copied user id got from Google Analytics report to replace the value beside the “user_id”, while typing the enter key.

Now, your WordPress will load the user profile which is associated with the User ID you just chose. The user profile will include the customers’ username, person name, email address, as well as social network information. After defining the user, you can track his or her oders, cart activity, product views, etc. 

In the end, we really hope you can learn this method to use Google Analytics to enable your customer tracking for your WooCommerce store and offer better personalized user experience to them. 

We hope webmasters to share and promote the good articles ,Please click herecontribute

You need to log in to commentLogin|Register

All Comments(3)

2018-04-23 14:32
I have been looking for a detailed guidance on how to use Google Analytics to do customer tracking in WooCommerce. Then here is a right place where I have learned the detailed steps to achieve that. It really impresses me a lot with by your efforts to combine words and images. In that way, I have an easier understanding of how to proceed the whole process. Frankly speaking, this is really important for me, a newbie. Thanks!
2018-05-21 09:54
Things can be much easier to use Google Analytics under your professional guidance. As a popular tool for customer tracking, Google Analytics has my attention. But I don't know where to start. Through the Google search, I land on this page and find the solution. Now I have followed your guide to finish the job. This is a great article!
2018-05-23 10:00
The free service provided by Google Analytics makes me understand my visitors. Bounce rate, page views, and more are known to me. According to the reports, I will regulate my marketing strategy in time. With the  help of this tool, I can hold expectations for a higher conversion rate and much more profits.