Hi @jane_12
If you are looking for both dimensions to be returned at once in the single ranked request, this isn't possible by design
Although, you can generate a request where a single page is broken down by the unique visitor ID.
To generate the data you require you will need to do two types of requests, one for all the pages and the other were you breakdown the pages by the visitor ID. This second request will need to be done for each page view. The only other prerequisite is that the visitor ID will need to be captured in a prop or an eVar.
Here is a link for more information on this:
Step 1 - Generate the list of the pages
First, you would need a request to generate the list of the pages, the following request should do:
{
"rsid": "YOUR_RSID",
"globalFilters": [
{ "type": "dateRange", "dateRange": "2025-07-01T00:00:00.000/2025-07-31T23:59:59.999" }
],
"metricContainer": {
"metrics": [
{ "id": "metrics/pageviews" },
{ "id": "metrics/visitors" }
]
},
"dimension": "variables/page",
"settings": { "limit": 5000, "countRepeatInstances": true, "dimensionSort": "asc" }
}You can get more info on this from: https://developer.adobe.com/analytics-apis/docs/2.0/guides/endpoints/reports/
The generated list will give you the item IDs and the values for the pages.
Step 2 - Loop the breakdown
For each item in the list generated you would need to loop through them individually and generate a break down for them.
The request would look similar to the below, I have used eVar42 as value that captures the user ID but this would be changes to the dimension you use :
{
"rsid": "YOUR_RSID",
"globalFilters": [
{ "type": "dateRange", "dateRange": "2025-07-01T00:00:00.000/2025-07-31T23:59:59.999" }
],
"metricContainer": {
"metrics": [
{ "id": "metrics/pageviews" },
{ "id": "metrics/visitors" }
],
"metricFilters": [
{
"id": "bf1",
"type": "breakdown",
"dimension": "variables/page",
"itemId": "123456789"
// or: "itemValue": "Home"
}
]
},
"dimension": "variables/evar42",
"settings": { "limit": 50000, "countRepeatInstances": true }
}
*If you want to only look at specific pages, you can use their values instead of the itemId.
Hope this helps.
Dan