How to Track User ID in Google Analytics?
To track User ID in Google Analytics 4 with Analytify, turn on the Track User ID toggle in the Analytify Advanced settings. Then choose a Reporting identity in GA4 and view the data in Explore.
Google Analytics 4 (GA4) offers a powerful feature known as the User ID. This unique identifier allows you to connect multiple sessions and even activities across different devices to the same individual. A User ID gives you a more integrated view of how users interact with your website. It supports better decisions and a clearer picture of the customer journey.
Analytify makes it straightforward to enable User ID tracking in GA4 from your WordPress dashboard. This guide covers enabling the toggle in Analytify, configuring Reporting Identity in GA4, and viewing User ID data in GA4 Explore.
What is a Google Analytics User ID?
A GA4 User ID is a unique string assigned to a user to differentiate them from other users. This ID helps in tracking the interaction of the user with your website across various sessions and devices.
A User ID must be unique and persistent for each user, must be 256 characters or less, and must not contain information that a third party could use to identify the user.
Using a User ID in Google Analytics allows you to:
- Track a user’s journey across different devices.
- Understand the full customer lifecycle.
- Improve cross-device conversion data.
- Tailor your marketing and website content to enhance user experience.
How to Track Google Analytics User ID with Analytify?
To track User ID in Google Analytics 4 with Analytify, open Analytify Settings, click the Advanced tab, turn on Track User ID, and save. Then choose a Reporting identity in GA4.
Follow these simple steps to start tracking Google Analytics User ID with Analytify, the user-friendly WordPress plugin for Google Analytics:
Step 1: Enable User ID Tracking in Analytify
First, log in to your WordPress site.
Then, navigate to Analytify’s settings and click on the Advanced tab.

Scroll down the page and find the User ID tracking section.
Toggle on the Track User ID feature to turn on User ID tracking.

Then, save your settings.

Step 2: Choose a Reporting Identity in Google Analytics 4
Here’s how to choose a reporting identity in GA4:
- Log in to your GA4 account and navigate to the Admin section in your GA4 dashboard.

- In the property settings, go to Data display and click Reporting identity.

- Here, you will find the reporting identity options: Blended, Observed, and Device-based.

The ‘Blended’ option uses the User ID if one is collected. If no User ID is available, it uses the device ID. If no identifier is available, it uses modeling.
The ‘Observed’ option uses the User ID if one is collected, and the device ID if it is not. The ‘Device-based’ option uses only the device ID and ignores all other IDs.
Step 3: Tracking Stats of User ID
In your GA4 account, navigate to Explore from the menu and create a new exploration where you can add User ID as a dimension.

The User ID differs from the ‘Client ID’ and the ‘Device ID’. You assign a User ID to each person when they are logged in, which lets GA4 connect sessions across multiple devices.
Tracking the User ID with Analytify helps you serve your audience better.
By following these steps, we hope you’ve learned how to track User ID in Google Analytics. Review the User ID data regularly and revise your strategy based on what it shows.
If you need any help with GA4 User ID tracking, look at the FAQs on the Analytify website or contact the Analytify support team.