Skip to content
Advertisement

How to fetch Particular User Page View from site using Google Analytics Based on website userId in java

I have checked google analytics documentation but that fetch data based on google analytics userId

I want to fetch particular Page view data based on website userId

Advertisement

Answer

The User Activity API allows a Google Analytics property owner to retrieve all analytics measurement data associated with a single user. Specifically, the API retrieves all of the measurement data associated with a particular User ID or Client ID.

https://developers.google.com/analytics/devguides/reporting/core/v4/user-reporting

PageviewData
This field contains all the details about the visitor and the page that was visited.

https://developers.google.com/analytics/devguides/reporting/core/v4/rest/v4/userActivity/search#PageviewData

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement