API: Get a page URL from the itemId

Avatar

Avatar
Validate 1
Level 1
sbellone
Level 1

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
sbellone
Level 1

Likes

0 likes

Total Posts

18 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
sbellone
Level 1

28-06-2021

Hi, I'm looking to do exactly what is described here: https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/adobe-analytics-2-0-api/q...: Fetch metrics by page URL.


I've found out that the dimension to use is 'variables/page', but as the pages are named in my demo data, I get the name in the objects of the response: (I can't paste any JSON object to illustrate that, it makes my posts disappearing, but it contains a itemId, a value which is the name, and the data)

 

Now, how can we associate the itemId with an actual URL? The linked post mention to make a separate breakdown call, but I can't find the concrete endpoint to do that in the API.

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 5
Level 4
HemanginiS
Level 4

Likes

33 likes

Total Posts

59 posts

Correct reply

20 solutions
Top badges earned
Affirm 5
Affirm 3
Boost 10
Affirm 1
Establish
View profile

Avatar
Affirm 5
Level 4
HemanginiS
Level 4

Likes

33 likes

Total Posts

59 posts

Correct reply

20 solutions
Top badges earned
Affirm 5
Affirm 3
Boost 10
Affirm 1
Establish
View profile
HemanginiS
Level 4

28-06-2021

Hi @sbellone ,
If you are capturing page URL in any variable (eVar/prop) then the easiest way would be to create a similar report in Workspace by breaking down Page with Page URL (your custom variable) and then use the Workspace debugger to copy that JSON request and try that out in Swagger under /reports endpoint.

HemanginiS_0-1624926963362.png

Approach best described in this video: https://experienceleague.adobe.com/docs/analytics-learn/tutorials/apis/using-analysis-workspace-to-b...

Answers (0)