Skip to main content
Solved

Conversion calculation from events

  • February 29, 2024
  • 2 replies
  • 55 views

Forum|alt.badge.img+1

Using https://developers.klaviyo.com/en/reference/get_events how do I recreate the numbers in the conversion summary?  Or is this coming from shopify’s data?

 

 

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

Forum|alt.badge.img+7
  • Klaviyo Employee
  • 182 replies
  • Answer
  • February 29, 2024

Forum|alt.badge.img+1
  • Author
  • Contributor I
  • 1 reply
  • 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...