Skip to main content
This topic has been closed for replies.
Best answer by saulblum

Check out the Query Metrics Aggregate call:

https://developers.klaviyo.com/en/docs/using_the_query_metric_aggregates_endpoint#conversions

2 replies

saulblumAnswer
Klaviyo Employee
February 29, 2024
devidsAuthor
Contributor I
March 4, 2024

Yeah u pointed me in the right direction but damn its so complicated…

select top 10 o.*
from klaviyo_data m
join klaviyo_data o on o.type='event' and o.relationships.metric.data.id=m.id
where m.type='metric' and m.attributes.name='Placed Order' and m.attributes.integration.name='Shopify'

why dont u just put the string “Placed Order” into the event properties...