Divi: the easiest WordPress theme to use
Divi: The best WordPress theme of all time!
With over 701.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]
Do you want to activate customer tracking on WooCommerce?
Customer tracking allows you to deliver a personalized shopping experience based on customer behavior in your online store.
In this tutorial, we will show you how to easily enable customer tracking on WooCommerce with Google Analytics.
But, if you've never installed WordPress discover How to Install a WordPress Blog in 7 Steps et How to search, install and activate a WordPress theme on your blog
But back to why we are here.
Why enable customer tracking on WooCommerce with Google Analytics?
Google Analytics allows you to see where your visitors are coming from and what they are doing on your website. In other words, it helps you track your traffic sources as well as user engagement on your website.
For e-commerce platforms, Google Analytics offers an enhanced e-commerce tracking function. Enabling this feature allows you to unlock the following reports:
- Buying behavior
- Behavior of the command
- Product lists
- Sales performance
Google Analytics can even link these reports to individual customers by assigning them a unique ID.
However, the problem is that the identifier assigned by Google Analytics does not give you precise information about the user. For example, the same user can use your website from another device and Google Analytics assigns them a new ID.
By default, a WooCommerce store allows your customers to create an account or place an order as a guest user. Creating an account helps the user save their shipping and billing information for faster verification next time. It also helps you give customers a personalized shopping experience based on their browsing and shopping history.
Wouldn't it be great if you could track logged in users with their UIDs on Google Analytics? This will give you access to a ton of information and knowledge about customer behavior that you can use to deliver a better experience on your website and boost your sales.
Let's take a look at how to activate easily customer tracking on WooCommerce.
Step 1. Set up Ecommerce Tracking on WordPress with Google Analytics
You will need to be on the “Pro” plan to access the eCommerce addon, which we will need for this tutorial.
After activation, you will need to connect MonsterInsights to your Google Analytics account. For detailed instructions, see our article on installing Google Analytics in WordPress.
After that you have to visit the page Insights »Addons and install the 'MonsterInsights eCommerce' extension. Once installed, click on the Activate button to start using it.
Then you have to visit the page Insights »Settings and click on the 'Tracking' tab. First of all, you need to click on the " eCommerce "And tick the box" Enhanced eCommerce" page (in French).
After that you need to click on the tab "DAnd check the option "Enable user ID tracking".
Do not forget to click on the button «Save ChangesTo save your settings.
Step 2. Activate enhanced e-commerce tracking in Google Analytics
Ecommerce tracking is not enabled by default in your Google Analytics account, so you need to enable it manually. Go to your Google Analytics account dashboard and proceed to the administration page.
Easily create your website with Elementor
Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]
Then you have to click on the "Ecommerce Settings».
On the settings page, click the slider under the first step, Activate Ecommerce, to activate it. You need to click the Next Step button to continue.
In the next step, you need to enable “Enhanced Ecommerce Settings” and click on Submit button to save your changes.
Your Google Analytics account will now display enhanced eCommerce reports for your WooCommerce store.
Step 3. Enabling Customer Tracking in Google Analytics
The enhanced e-Commerce tracking will enable ecommerce reporting features for your WooCommerce store. However, it does not allow user tracking by default.
Let's change that.
To enable individual customer tracking, you need to visit your Google Analytics account dashboard and open the administration page.
Now, click the Tracking Information link under the property column to expand the submenu, and click the User-ID link that appears below.
On the next page, you will need to review and accept identification policy user and then activate it.
Click on the button 'Next step' to continue.
Google Analytics now asks you how you want to set up User ID tracking. Since you will be using MonsterInsights to take care of this, you can simply click on the 'Next step' button to continue.
Then you need to click on the "Create" button to enable user ID tracking.
Are you looking for the best WordPress themes and plugins?
Download the best plugins and WordPress themes on Envato and easily create your website. Already more than 49.720.000 downloads. [EXCLUSIVE]
After that, you will be asked to enter a 'Report View Name', which will be used to display User ID reports. We recommend including UserID in the name.
Now you just need to scroll down and click on the "Create View" button to save it.
Step 4. Viewing customer tracking reports on Google Analytics
Now that everything is set up, Google Analytics now tracks all the customers on your website. It will also be able to track logged in users with their unique WordPress user ID.
Ease of adding eCommerce buttons while reading How to customize the WooCommerce "Add to Cart" button
To view the activity of each customer, you can access your Google Analytics account and click on Audience » User Explorer .
You will see individual customer reports with a unique ID assigned to all non-connected users.
To view the customer tracking report for users logged in to WooCommerce, you must click on the Google Analytics logo in the upper left corner of the screen.
This will show your entire Google Analytics profile. You will see your website profile and under “All website data” you will see the user account creation view that you created earlier.
Click on the report display UserID to charge it.
Once loaded, you must click on Audience » User Explorer, and you'll see the connected client's tracking report, where each user is represented by their WordPress user ID on your website.
You can click User ID to view individual tracking data for a customer.
This report gives you a user ID of your website. You still don't know who this customer is and how you can create personalized offers, emails or an experience for them.
Let's find out.
Step 5. Correspondence tracking of customers with their WordPress accounts
First, you need to retrieve the customer ID that you see in the views report.
Then go to the administration area of your website and click on the 'Users' menu. It will show you a list of all the users on your website.
Click the “Edit User” link below the username in the list. WordPress will now open user profile for you, and if you look in the address bar of your browser, you will use the user_id parameter in the URL.
Easily create your Online Store
Download free WooCommerce, the best e-commerce plugins to sell your physical and digital products on WordPress. [Recommended]
You should now replace the value next to user_id with the one you copied in your Google Analytics report and press the Enter key on your keyboard.
WordPress will now load the user profile associated with that particular user ID. You now have the customer's name, username, email address, and social media information. You can also track their orders, product views, cart activity, and more.
Take a look at How to use Google Analytics to track your subscribers
Other recommended resources
Find out about other recommended resources to help you build and manage your website.
- 8 Live Chat WordPress plugins to boost your sales
- How to change the basic category prefix on WordPress
- 5 plugins to add ads on WordPress
- How to protect your WordPress blog: 25 passwords to avoid
Here is ! That's it for this tutorial. I hope you can learn how to enable customer tracking on WooCommerce with Google Analytics. If you have some Comments or suggestions, do not hesitate to let us know in the reserved section.
However, you will also be able to consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on the WordPress blog creation or the one on Divi: the best WordPress theme of all time.
But meanwhile, share this article on your different social networks.