Skip to main content
Active Contributor II
October 10, 2023
Solved

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

  • October 10, 2023
  • 1 reply
  • 73 views

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.

    This topic has been closed for replies.
    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

    1 reply

    Brian Turcotte
    Klaviyo Alum
    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