Expand my Community achievements bar.

SOLVED

Dimensions and Metrics exhaustive list

Avatar

Level 2

Hi, are the dimensions and metrics documented somewhere?

The Dimensions and Metrics section of the documentation present a few, but without the actual ids to be used in Analytics API.

The only way I've found to get the full list and ids of dimensions/metrics is to hit the API directly.

 

It would be great to have a dedicated page like GA's explorer: https://ga-dev-tools.web.app/dimensions-metrics-explorer/

Regards,

Sylvain.

1 Accepted Solution

Avatar

Correct answer by
Employee

@sbellone ,

If you are using API 1.4 below are the dimension and metrics documents with API ids:
https://github.com/AdobeDocs/analytics-1.4-apis/blob/master/docs/reporting-api/elements.md

https://github.com/AdobeDocs/analytics-1.4-apis/blob/master/docs/reporting-api/metrics.md

 

If you are using API 2.0, you can use swagger to pull the list of dimensions and metrics by just logging in and mentioning the report suite ID.
Steps:
- Login to https://adobedocs.github.io/analytics-2.0-apis/
- Expand the dimension/metrics section:

vibhatna_0-1624635678558.png

- Click on Try it out >> Enter the report suite ID >> click on Execute
- Scroll down and you will see the API response will all the dimensions/ metrics available for that report suite with their API IDs. 



View solution in original post

2 Replies

Avatar

Correct answer by
Employee

@sbellone ,

If you are using API 1.4 below are the dimension and metrics documents with API ids:
https://github.com/AdobeDocs/analytics-1.4-apis/blob/master/docs/reporting-api/elements.md

https://github.com/AdobeDocs/analytics-1.4-apis/blob/master/docs/reporting-api/metrics.md

 

If you are using API 2.0, you can use swagger to pull the list of dimensions and metrics by just logging in and mentioning the report suite ID.
Steps:
- Login to https://adobedocs.github.io/analytics-2.0-apis/
- Expand the dimension/metrics section:

vibhatna_0-1624635678558.png

- Click on Try it out >> Enter the report suite ID >> click on Execute
- Scroll down and you will see the API response will all the dimensions/ metrics available for that report suite with their API IDs. 



Avatar

Level 2
Thanks, I'm using the 2.0 API. Ok so I understand that the available dimensions vary depending on the report suite. The Swagger UI is handy then, thank you for the anwser!