Metric IDs | Community
Skip to main content
robertc66522596
Level 4
June 25, 2024
Solved

Metric IDs

  • June 25, 2024
  • 2 replies
  • 838 views

Hello!

 

For API purposes, we're trying to find the ID of different metrics. For Instance we know that the 'Internal search keywords (v16) instances" has the ID "instancesevar16" however we're unable to find the IDs for others -- specifically "Activity Map Link By Region Instances", but there will likely be a need for others.

 

I'm sure it's somewhere that we're just missing... what do you think, where does that info live?

 

 

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jennifer_Dungan

I am not sure offhand, but when I get stuck with something like this, I use the Debugger in Workspace so that I can see how the API is written there... 

 

Under the Help Menu, enable "Debugger"

This will add a little bug icon to you tables:

 

 

If you click on that, it will bring up a submenu for Freeform Table or Sparkline:

 

Expand the Freeform Table to see one or more timestamps:

 

Clicking on these will take you to a page that shows you the API query that was used in various formats.

 

 

If you build out a simple freeform with the dimensions and metrics you are looking for, you should be able to find their identifiers.

2 replies

Jennifer_Dungan
Community Advisor and Adobe Champion
Jennifer_DunganCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
June 25, 2024

I am not sure offhand, but when I get stuck with something like this, I use the Debugger in Workspace so that I can see how the API is written there... 

 

Under the Help Menu, enable "Debugger"

This will add a little bug icon to you tables:

 

 

If you click on that, it will bring up a submenu for Freeform Table or Sparkline:

 

Expand the Freeform Table to see one or more timestamps:

 

Clicking on these will take you to a page that shows you the API query that was used in various formats.

 

 

If you build out a simple freeform with the dimensions and metrics you are looking for, you should be able to find their identifiers.

FarazHusain
Adobe Employee
Adobe Employee
June 27, 2024

Additionally, you can try fetching the same using API - https://adobedocs.github.io/analytics-1.4-apis/#/Report/Report.GetMetrics that returns a response in the following format -