Dernières nouvelles de SeedProd

Tutoriels, astuces et ressources WordPress pour développer votre activité

Comment suivre l'activité des utilisateurs connectés sur WordPress

Comment suivre l'activité des utilisateurs de WordPress avec Google Analytics 

Écrit par : avatar de l'auteur Stacey Corrin
avatar de l'auteur Stacey Corrin
Stacey écrit sur WordPress et le marketing numérique depuis plus de 10 ans et sur d'autres sujets depuis bien plus longtemps. Parallèlement, elle est fascinée par la conception de sites web, l'expérience utilisateur et le référencement.
     Reviewed By : avatar de l'évaluateur Turner John
avatar de l'évaluateur Turner John
John Turner est le cofondateur de SeedProd. Il a plus de 20 ans d'expérience dans le domaine des affaires et du développement et ses plugins ont été téléchargés plus de 25 millions de fois.

Want to track exactly what your logged-in users are doing on your WordPress site?

With accurate WordPress user activity tracking, you can easily see what logged-in users are doing and which device they use to access your site.

In this guide, I’ll show you how to track WordPress user activity using MonsterInsights, the best plugin for connecting your WordPress site to Google Analytics.

Avant de commencer, voyons ce qu'est réellement l'activité des utilisateurs de WordPress.

Qu'est-ce que l'activité des utilisateurs de WordPress ?

WordPress user activity tracking shows what logged-in users do on your site, like editing content, logging in, or making purchases. It helps you understand behavior, fix issues faster, and personalize user experiences.

WordPress tracks some of this automatically through the activity log, where you can see when someone logged in, what changes they made, and even their IP address. If you’re running a membership site, online store, or forum, this kind of user behavior tracking can help you stay informed and spot issues quickly.

You can also use a plugin to extend the default tracking and see even more detailed activity, especially when combined with tools like Google Analytics.

L'activité des utilisateurs de WordPress permet de suivre les données avec précision

When you enable WordPress user ID tracking, Google Analytics can follow real users across devices, not just anonymous sessions.

Normally, Analytics assigns each visitor a Client ID, which changes if they switch devices or clear cookies. That makes it hard to track the full customer journey.

But with User ID tracking, each logged-in user gets a consistent identifier. That way, you can see the same person move from mobile to desktop, start with a click from a Facebook ad, and finish by making a purchase, all tied together in one report.

L'activité des utilisateurs de WordPress permet d'adapter l'expérience des utilisateurs

Tracking what users do on your WordPress site lets you respond in a more personal way.

For example, if someone logs in, adds products to their cart, but never checks out, you can follow up with a discount or reminder email.

You can also use that behavior data to show targeted product suggestions or highlight features based on what they’ve viewed before. This kind of logged-in user tracking helps turn visits into conversions by meeting people where they are in their journey.

Comment suivre facilement l'activité des utilisateurs de WordPress

To track logged-in WordPress users by ID in Google Analytics, I recommend using MonsterInsights.

It connects your WordPress site to GA4 and makes it easy to replace anonymous tracking with real user IDs, so you can monitor user behavior more accurately and see the full picture across sessions and devices.

De plus, il s'intègre avec des plugins d'adhésion populaires comme MemberPress pour mieux suivre et gérer vos utilisateurs enregistrés.

Note : MonserInsights propose une version gratuite. Pour ce guide, nous utiliserons la version premium, qui dispose de fonctionnalités plus avancées que le plugin gratuit.

Suivez les étapes ci-dessous pour activer le suivi de l'activité des utilisateurs pour WordPress à l'aide de MonsterInsights.

1. Installer et connecter MonsterInsights

Start by installing and activating the MonsterInsights plugin on your WordPress site.

MonsterInsights meilleur plugin WordPress Googel Analytics

Not sure how to do that? Just follow this guide on how to install a WordPress plugin, it only takes a minute.

Once it’s installed, you’ll connect your WordPress site to Google Analytics.

In your dashboard, go to Insights » Settings, then click Connect MonsterInsights under the Google Authentication section.

Connecter MonsterInsights à Google Analytics

Next, choose the Google account you’d like to connect.

Choose which Google account to connect to MonsterInsights

Click the Allow button to give MonsterInsights access to your Google Analytics data.

Cliquez sur Autoriser pour permettre à MonsterInsights d'accéder à vos données Google Analytics.

Then choose the website property you want to track and click Complete Connection.

Choisissez le profil du site web que vous souhaitez connecter à MonsterInsights

That’s it for the initial setup. Now you’re ready to enable user tracking.

2. Activer le suivi des utilisateurs dans MonsterInsights

First, make sure the eCommerce addon is installed and activated in MonsterInsights.

Go to Insights » Addons in your dashboard, find the eCommerce addon, then click Install and Activate.

Installer et activer l'addon MonsterInsights eCommerce

Next, go back to Insights » Settings and open the eCommerce tab at the top.

Click the eCommerce tab on the MonsterInsights settings page

Scroll down to the User ID Tracking section and toggle Enable User ID Tracking to the on position.

Activer le suivi de l'ID utilisateur dans MonsterInsights

Don’t forget to click Save Changes at the top of the page. User tracking is now active in MonsterInsights.

3. Activer le suivi des utilisateurs dans Google Analytics

Now that user tracking is active in MonsterInsights, the next step is to turn on User ID tracking in Google Analytics and create a dedicated reporting view.

Log in to your Google Analytics account and choose the property for your website.

Choose a website in your Google Analytics account to set up WordPress user tracking

Click the Admin button at the bottom-left corner of the screen.

Click the Admin button in Google Analytics

Under the Property column, click Tracking Info, then choose User-ID.

Click the Tracking Info heading and then the User-ID link in Google Analytics

When the User-ID Policy appears, turn the switch to ON, then click Next Step.

Agree to the Google Analytics User ID Policy

Keep clicking Next Step until you reach the end of the setup process.

Click the Next Step button

Click Create to generate the new User ID view.

Click the Create button to create the User ID view in Google Analytics

Give your new view a name, something like “User ID View”, so you’ll recognize it later.

Then turn on the Show User ID Reports toggle and click Create View.

Name the User ID view and turn on User-ID Reports
Click the Create View button

Google Analytics will confirm that your new view has been created. You’re now ready to start collecting WordPress user activity data.

Trouver les rapports d'activité des utilisateurs de WordPress dans Google Analytics

Once you’ve set up User ID tracking, Google Analytics will begin collecting WordPress user activity data. Just keep in mind—it can take up to 24 hours to start seeing new data, and it won’t include anything from before tracking was enabled.

To view your reports, click the Google Analytics logo at the top of your screen.

Click the Google Analytics icon at the top of your screen

Then choose the User ID view you created earlier.

Choose your newly created User ID view

You’ll now see a list of users tied to their WordPress User IDs.

Users listed in Google Analytics with their WordPress User ID

Click Audience » User Explorer to explore individual user activity reports.

Click Audience then User Explorer to view your data

Clicking a User ID reveals session details—like pageviews, goals, and purchase behavior—so you can better understand how people use your site.

Clicking each User ID shows information about each session on your website

If you want to match a specific User ID to a WordPress account, go to Users » All Users in your WordPress dashboard.

Hover over any user to view the URL at the bottom of your browser. You’ll see something like user_id=3 — that number is their WordPress user ID.

Hover your mouse over a WordPress user to find the user ID number in the URL

You can also click Edit on any user to see the same user ID number in your browser’s address bar.

Click Edit on a user to see their WordPress user ID in the address bar

Prefer a Simpler GA4 Dashboard?

If GA4 feels too complex, you’re not alone. I’ve tested OnePageGA, and it makes it way easier to read your reports.

It gives you a clean, one-page dashboard that shows the most important user activity stats—like sessions, conversions, and engagement—without digging through endless menus.

OnePageGA dashboard example

No more bouncing between reports or struggling with filters—just simple, actionable data you can use.

Try OnePageGA free for 14 days and see your user behavior more clearly.

You’re All Set to Track WordPress User Activity

Now you know how to track logged-in user activity in WordPress using MonsterInsights and Google Analytics. This setup lets you understand real user behavior across devices—and use that data to make better decisions for your site.

If you want to keep improving the user experience, check out our guide on how to customize your WordPress login page—another great way to tailor your site for your audience.

And for more beginner-friendly tutorials, follow us on Facebook and Twitter.

avatar de l'auteur
Stacey Corrin Rédacteur
Stacey écrit sur WordPress et le marketing numérique depuis plus de 10 ans et sur d'autres sujets depuis bien plus longtemps. Parallèlement, elle est fascinée par la conception de sites web, l'expérience utilisateur et le référencement.

Divulgation : Notre contenu est soutenu par les lecteurs. Cela signifie que si vous cliquez sur certains de nos liens, il se peut que nous recevions une commission. Nous ne recommandons que des produits dont nous pensons qu'ils apporteront une valeur ajoutée à nos lecteurs.