Step 2. Getting a clientId using a special GA4 parameter Client ID is a unique identifier that Google Analytics assigns to your browser when you visit a website. Using it, Google Analytics combines different sessions into a single user. false W3sidGl0bGUiOiJJbnRlZ3JhdGlvbiIsInVybCI6Ii91c2Vycy9pbnRlZ3JhdGlvbi8ifSx7InRpdGxlIjoiQW5hbHl0aWNhbCBzZXJ2aWNlcyIsInVybCI6Ii91c2Vycy9pbnRlZ3JhdGlvbi9hbmFseXRpY2FsLXNlcnZpY2VzLyJ9LHsidGl0bGUiOiJJbnRlZ3JhdGlvbiB3aXRoIEdvb2dsZSBBbmFseXRpY3MgKEdBNCkiLCJ1cmwiOiIvdXNlcnMvaW50ZWdyYXRpb24vYW5hbHl0aWNhbC1zZXJ2aWNlcy9pbnRlZ3JhdGlvbi13aXRoLWdvb2dsZS1hbmFseXRpY3MvIn1d Integration /users/integration/ ["users","Integration"] ["users","Integration","Analytical services"] users

Step 2. Getting a clientId using a special GA4 parameter

Client ID is a unique identifier that Google Analytics assigns to your browser when you visit a website. Using it, Google Analytics combines different sessions into a single user.

Client ID is a unique identifier that Google Analytics assigns to your browser when you visit a website. Using it, Google Analytics combines different sessions into a single user.

To get the clientId, you need to go to your Google Analytics 4 account and add a special parameter. You can do this by going to Administrator > Account Settings > Special Definitions.

Click the “Create special parameter” button and specify the following data:

  • Parameter name - analyticsCookieId
  • Scope - “User”
  • User properties - analyticsCookieId
Thank you for your feedback.
Was this article helpful?
No
  • The recommendations did not help
  • There is no answer to my question
  • The text is difficult to understand
  • I do not like the described functionality
Yes
Previous article
Step 1. Adding a site to Google Analytics
To track information about sources, the system uses data collected by the Google Analytics service in a resource of the type Google Analytics 4
Next article
Step 3. Setting up ecommerce tracking of a Google Analytics 4 account
After registering a Google Analytics 4 account, you should set up ecommerce tracking. The **Google Analytics 4** tracking code is a JavaScript script that is run by the website visitor's browser. With the help of the tracking code, data about the visitor’s actions on the website will be sent to Google Analytics.