How to Set Up Individual WooCommerce Customer Tracking

A customer browses your WooCommerce store on their phone, then comes back later on a laptop to finish the purchase.

To Google Analytics, that’s not one shopper on a two-device journey — it’s two unrelated strangers, because GA identifies visitors by device, not by who they actually are.

Tracking individual WooCommerce customers by User ID fixes that. Once it’s set up, you can see what pages a specific customer visited, what products they viewed, and how many purchases they’ve made — all tied to one shopper instead of scattered across devices.

In this article, we’ll show you how to set up individual WooCommerce customer tracking.

MonsterInsights is the best WordPress Analytics plugin. Get it for free!

In This Article:

Why Set Up Individual WooCommerce Customer Tracking?

If you require customers to log in to your WooCommerce site to purchase products, you need to enable customer tracking on your site. In practice, this is one of the first things I check when a WooCommerce store’s numbers don’t add up — it’s often the missing piece.

By default, Google Analytics identifies every customer of your WooCommerce store by assigning them a unique ID known as an app instance ID. The downside to this approach is that app instance ID doesn’t allow you to accurately track individual customers since it represents the unique device from which users shop on your site.

GA4 client ID user explorer

Some of the benefits of individual WooCommerce customer tracking are:

Get Better Conversion Tracking

With out-of-the-box Google Analytics, if a customer finds your website on their mobile device but comes back later on a laptop to purchase, they’ll be counted as 2 different people and you won’t be able to attribute the mobile visit to their conversion.

However, if they’re signed in and you have User ID tracking set up, you’ll be able to track that as one user across browsers, leading to much more accurate conversion tracking.

Provide Better Support

Have a customer that’s having problems with your website or the checkout process? Find them in your analytics to check out what pages they visited, what device they’re using, where they’re located, and more.

Tutorial: Enable WooCommerce Customer Tracking

Using MonsterInsights is the easiest way to enable individual customer tracking on your WooCommerce store.

MonsterInsights is the best Google Analytics plugin for WordPress. It allows you to easily connect your WordPress site with Google Analytics so you can view all the data that matters most right in your WordPress dashboard.

MonsterInsights Overview report showing overlapping Sessions and Engaged Sessions metrics

Plus, with the click of a button, you can set up sophisticated tracking features such as event tracking, form tracking, custom dimension tracking, video tracking, outbound link tracking, and more. With WooCommerce, you’ll even get user journey tracking!

For instance, if a shopper engages with your store using two different devices, it will be counted as two different users, not a single user.

To better track logged in users, MonsterInsights uses the unique WordPress user ID assigned to each individual user instead of Client ID.

Finding the WordPress User ID of Each Individual User

To find the WordPress user ID of your users, just go to your WordPress dashboard and click on Users » All Users.

Then, hover your cursor over the user you want to find the ID for. You’ll see a URL appear at the bottom of your browser. In the middle of the URL, it will say “user_id=”. The number after that is the user’s ID number.

How to find User ID in WordPress

You can click the Edit link under the username to make sure. You’ll see the user ID in the web address on the edit page.

find user ID in the URL

MonsterInsights replaces the anonymous app instance ID with this WordPress user id with just a few clicks.

Now, let’s jump into the tutorial.

Step 1: Install MonsterInsights

If you haven’t installed MonsterInsights Pro yet, you’ll need to install it and authenticate it with your Google Analytics account.

To start, purchase MonsterInsights at the Pro license level. Then, download the ZIP files from your account area under the Downloads tab.

download monsterinsights

Next, upload the plugin to your WordPress website. You can do that by going to Plugins » Add New » Upload Plugins in your WordPress admin and clicking the Install Now button.

upload plugin in wordpress

After that, click the Activate Plugin button.

activate monsterinsights

Now, you’ll need to connect Google Analytics to your WordPress website. Using MonsterInsights, it’s really easy! Just follow the steps in the setup wizard and the plugin will add Google Analytics to your site without the need to edit code.

Allow MonsterInsights to Access Your Google Analytics Data

For help getting started and a walkthrough of the onboarding wizard, check out our step-by-step guide on how to properly set up Google Analytics and MonsterInsights.

Get MonsterInsights Pro for Individual Customer Tracking

The eCommerce and Custom Dimensions addons you’ll use in the next two steps are both part of MonsterInsights Pro. Sign up now and you can have User ID tracking running in the next few minutes.

See MonsterInsights Pro Pricing

Step 2: Install the eCommerce Addon

To set up eCommerce tracking for your WooCommerce store, you’ll need the eCommerce addon. To add it, head to Insights » Addons and click Install in the eCommerce addon box.

MonsterInsights eCommerce addon card on the Addons page with its activation toggle

That’s all you have to do to set up eCommerce tracking!

Step 3: Enable User ID Tracking

Now, go to Insights » Settings in your WordPress dashboard. Click on the eCommerce tab at the top of the page and scroll down until you see the User ID Tracking box. Click the toggle to enable WooCommerce customer tracking.

MonsterInsights eCommerce settings tab showing the Enable User ID tracking toggle

That’s it, user ID tracking is all set up!

How to Find the WooCommerce Customer Tracking Report in GA4

In Google Analytics 4, we’ll find the user ID report by creating a pretty easy custom report.

Just head to the Explore tab, then scroll over until you see the User explorer template. Click it.

GA4 user explorer report

Now, you’ll see your user explorer report!

GA4 User Explorer Report

Click on a user in the App-instance ID column to see more information about that user:

GA4 user explorer detail view showing a single user's location, revenue, and events

Here, you’ll see where your user is from geographically, their purchase revenue, events, and more. Click on each event to see more details about it.

Compare Your Logged in Users vs. Guest Users

WooCommerce allows you to offer guest checkout on your store that enables your customers who are in a hurry to purchase products without having to register an account with your site.

WooCommerce guest checkout - WooCommerce customer tracking

When you offer guest checkout on your store, you might want to compare the performance of both your registered customers versus guest customers. Understanding the performance of your guest users allows you to optimize your site for the general audience based on what resonates best with them.

MonsterInsights allows you to do this pretty easily. To compare between them, you need to enable Logged in custom dimensions tracking on your site.

Here’s how to set up logged in WooCommerce customer tracking.

Step 1: Install the MonsterInsights Custom Dimensions Addon

To install the addon, visit the Insights » Addons page in your WordPress dashboard. Then, click Install under the MonsterInsights Custom Dimensions addon.

MonsterInsights Dimensions addon card on the Addons page

Step 2: Add Custom Dimensions in MonsterInsights

Navigate to Insights » Settings. Then, click on the Conversions tab and find the Custom Dimensions settings:

MonsterInsights Custom Dimensions settings panel with the Type field and Add New Custom Dimension button

Now, click on Add New Custom Dimension and select Logged in from the Type dropdown.

MonsterInsights Custom Dimensions settings with Logged in selected as the dimension type

Step 3: View the Logged in Sessions Report

Now, you’ll be able to find a report of how many logged in users vs. guest users you had right in your WordPress dashboard. Just head to Insights » Reports and click the Dimensions tab, where you’ll find the Logged In card:

MonsterInsights Dimensions report Logged In card showing logged-out vs. logged-in session views

Worth Knowing

If your store offers guest checkout, comparing logged-in customer behavior against guest behavior tells you whether requiring an account would help or hurt your conversion rate — before you change anything.

See our guide on the eCommerce conversion funnel →

How to Compare Logged in Users With Guest Users in Google Analytics

To get more information on logged in users vs guest users, you’ll need to create a custom report in your Google Analytics account.

You can add the Logged in dimension to virtually any custom report. Simply drag it to the Filters box and select exactly matches true to see logged in traffic, or false to see logged out traffic.

FAQs About WooCommerce Customer Tracking

What is User ID tracking in Google Analytics?

User ID tracking assigns each logged-in visitor a unique identifier tied to their WordPress account instead of their device. That lets Google Analytics recognize the same customer across different browsers and devices, so their activity shows up as one continuous journey instead of several disconnected visits.

Can I track WooCommerce customers who check out as guests?

Not by User ID, since guest checkout doesn’t require an account. You can still track guest sessions with GA4’s standard reporting, and MonsterInsights lets you add a Logged in custom dimension so you can compare how logged-in customers behave against guest shoppers.

Do I need MonsterInsights Pro to set up individual WooCommerce customer tracking?

Yes. Both the eCommerce addon and the Custom Dimensions addon used in this tutorial are part of MonsterInsights Pro and higher plans. Standard GA4 won’t give you User ID tracking on its own without custom development.

Is tracking individual customers by User ID compliant with privacy laws like GDPR?

User ID tracking only applies to logged-in customers who already have an account on your site, and it doesn’t collect any additional personal data beyond what GA4 normally records. That said, you should still disclose your analytics tracking in your privacy policy, and MonsterInsights includes compliance tools like Privacy Guard to help.

How is app instance ID different from User ID?

App instance ID is assigned automatically to a device or browser, so the same customer shopping from a phone and a laptop looks like two different people. User ID is tied to the customer’s actual account, so MonsterInsights can connect all their activity into a single profile no matter which device they use.

Where do I find the User ID tracking report in GA4?

Head to the Explore tab in Google Analytics 4 and open the User Explorer template. Once User ID tracking is enabled, you’ll see each logged-in customer listed there, and clicking on one shows their location, purchase revenue, and full event history.

That’s it! We hope this guide helped you learn how to set up individual WooCommerce customer tracking. If you liked this article, check out the following guides:

Not using MonsterInsights yet? What are you waiting for?

Follow us on Twitter, Facebook, and YouTube for more Google Analytics tips.

How useful was this post?

Click on the stars to rate

Average rating 5.0/5

Want to Try MonsterInsights for Free?

Enter the URL of Your WordPress website to install MonsterInsights Lite.