Skip to main content
Solved

Identifying Metrics Supporting 'sum_value' Measurement Using 'Get Metrics' Data

  • October 10, 2023
  • 1 reply
  • 54 views

Forum|alt.badge.img+4

Hello Klaviyo Community,

I am currently in the need to know which metrics support the "sum_value" measurement in the "Query Metric Aggregates" endpoint. Up until recently, I was under the impression that only "eCommerce" category metrics supported this measurement. However, I've found that some "API" category metrics also support "sum_value".

Is there a specific way to determine if a metric supports the "sum_value" measurement using the data from the "get metrics" endpoint? Any guidance or suggestions would be greatly appreciated.

Thank you for your help.

Best answer by Brian Turcotte

Hi @santiagosanti!

This will work for any metrics that have a value key included in their associated events - meaning, if you were to call Get Events for a metric and the event_properties has a $value , then this measurement would be supported for that metric:

 

Best,
Brian

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • October 11, 2023

Hi @santiagosanti!

This will work for any metrics that have a value key included in their associated events - meaning, if you were to call Get Events for a metric and the event_properties has a $value , then this measurement would be supported for that metric:

 

Best,
Brian