How to Set Up User Tracking in WordPress with Google Analytics

How to Set Up User Tracking in WordPress with Google Analytics

Spread the love

Do you want to set up user tracking in WordPress? Tracking users can help you improve the experience and increase your website traffic.

There can be several tools to monitor the users’ engagement on your WordPress site. All these tools come with their own features and options making it easier for you to keep a track on the visitors’ journey.

In this article, we’ll show you how to set up user tracking in WordPress with Google Analytics.

Why Should You Track Users in WordPress?

There can be many reasons to track your website users in WordPress. Whether you run a small blog or an enterprise website, it’s important to know your popular pages to improve them for new visitors.

Further, if you run an eCommerce website, then you can monitor the traffic and comprehend which products are more likely to be purchased by users. This way, you can maximize your revenue by improving the most visited product pages.

Overall, user tracking develops a perspective to understand what kind of users are your real audience. If you know the visitor’s journey and behavior, you can make your website more engaging and boost the traffic.

However, it’s necessary to know the right tools that can make the process easier and quicker. You can use Google Analytics and MosnterInsights to track users in WordPress. These 2 tools work side by side allowing you to monitor:

  • Popular content and high-ranking pages
  • eCommerce stores and product pages
  • Clicks on ads and affiliate links
  • Pageviews for individual users
  • User engagement on contact and registration forms
  • And more..

User Tracking in WordPress with MonsterInsights and Google Analytics

Now that you know why should you set up user tracking in WordPress, let’s go ahead and see how it can be done step by step.

Step 1: Installing MonsterInsights in WordPress

The first thing you need to do is to install and activate MonsterInsights plugin. For more details, you should check out our guide on how to install a WordPress plugin.

To set up user tracking, you’ll need the MonsterInsights Pro plan. It comes with many options to track outbound links, product pages, affiliate links, ads, and forms automatically.

After the installation, you’ll need to connect Google Analytics with MonsterInsights. For that, you need to login to your Google Analytics account. If you don’t have an account, then check out this complete guide on how to install Google Analytics in WordPress.

Once logged in, you need to visit Insights » Settings in your WordPress admin area.

From there, you need to click on the Connect MonsterInsights button to authenticate it with your Google Analytics account.

Connect MonsterInsights

Next, you need to select a Google profile that you want to connect with MonsterInsights.

Select Google account

After that, you need to allow MonsterInsights to collect data from Google Analytics. It’ll take up to 24 hours to display the analytics data in your WordPress dashboard.

Allow MonsterInsights connect with Google Analytics

MonsterInsights adds the Google Analytics code in your WordPress website footer automatically, and you don’t need to edit any code.

Step 2: Enabling User Tracking in WordPress with MonsterInsights

Once you’re connected successfully, visit Insights » Settings and click on the Tracking tab. From there, you need to click on the Demographics tab in the left menu.

Enable user tracking

On this page, you need to check the Enable User ID Tracking option.

Step 3: Enabling User Tracking in Google Analytics

To enable the user tracking report in Google Analytics, login into your account and choose the website.

Google Analytics select account

Next, you need to visit the Admin settings.

Admin settings

From there, you need to click on the Tracking Info option to expand it, and then click on the User-ID setting below it.

Tracking user ID

After that, you need to enable the User-ID feature by switching it on and click on the Next Step button.

Switch on User ID feature

Now, click to the Next Step button again without changing anything.

Next step

Lastly, click on the Create button to create the User ID.

Create user ID

On the next page, you need to add a name in the Reporting View Name field. You should add USERID as the name to track the users easily.

Reporting view name

Next, you should scroll down to the bottom and click on the Create View button.

Create view

That’ll enable user tracking in Google Analytics. You can go ahead and hit the Google Analytics logo to continue.

Where You Can Find User Tracking Report in Google Analytics?

You can now check out the User-ID view with other website data.

User ID data view

Simply visit Audience » User Explorer from the left side to see the user data. It’ll display all users with the User ID.

User list

To see more details about a particular user, you should click on the User ID to expand it.

User details

You can check out the user ID information in WordPress to find out which ID is associated with which user. In your WordPress admin area, visit Users » All Users. Move your mouse to the Edit link below a username and it’ll show a link at the bottom of the screen with user_id=.

User ID

That’s all.

We hope this article helped you learn how to set up user tracking in WordPress. You may also want to check out our guide on how to set up author tracking in WordPress with Google Analytics.

The post How to Set Up User Tracking in WordPress with Google Analytics appeared first on IsItWP – WordPress Technology Lookup Tool.

What’s My SEO Score?

Enter the URL of any landing page or blog article and see how optimized it is for one keyword or phrase.

WordPress Expert

web developer at WPLAB
Website development like the art
Wordpress Expert
Rating
%d bloggers like this: