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.
Solved! Go to Solution.
Views
Replies
Total Likes
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:
- 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.
Views
Replies
Total Likes
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:
- 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.
Views
Replies
Total Likes
Views
Replies
Total Likes