Skip to main content

Ref: https://developers.klaviyo.com/en/reference/query_campaign_values

When using this API. What does the timeframe filter on?

Does it filter on campaigns sent within the time period, or does it filter on events sent within the time period. 

This distinction is important because if it’s based on events in the time period, then the statistics can vary based on opens and clicks that happen within the range. If it’s based on when the campaign was sent I assume it’s the full rollup stats for the campaign. 

Thanks in advanced

It’s when the events happened.

https://developers.klaviyo.com/en/reference/reporting_api_overview#campaign-values-report


This made it ambiguous for me: https://developers.klaviyo.com/en/docs/using_the_query_metric_aggregates_endpoint#about-metric-aggregates-and-klaviyo-reporting

 



And then it suggest: 




​​​​​​

If they are both based on when the event occured, why would the Query Campaign Values produce the same results as the klaviyo dashboard, when the klaviyo dashboard is supposed to be based on send time not event time? Correct?


@saulblum Any updates on this? 

I’m struggling to understand the difference in behaviors between these APIs.


I misspoke. The timeframe in this call is for when the campaign was sent., not when the events happened. It should match the campaigns reporting UI.

Query Metric Aggregates is when the events happened.


Reply