Skip to main content

Hi!

I am trying to fetch all the metrics for my campaign by using the /campaign-values-reports. In the documentation, it seems that the data body needs to contain an attributes list, which represents data about certain events. I also need to provide a conversion_metric_id, which seems to represent a certain event.

That doesn’t seem to make sense, because i can choose multiple attributes which seem to represent multiple metrics_id, and i only pass in one metrics_id. I tried to use all the metric events i fetched, and for each of them i got the error: “Passed in conversion metric does not support querying for values data”. Even the one used in the documentation returns the same response. What conversion_metric_id should i use in order for my api call to work? 
 

Hey! 

You will need to pass in your Placed Order metric id (or whatever conversion metric you want to use to get a total $ value attribution for your campaigns).

 

You can get your Placed Order metric id by going into Klaviyo, clicking on Metrics on the left hand panel and selecting  your conversion metric (for Shopify users, it will be Placed Order with the Shopify icon).

 

Once you click on your metric, you can see your metric Id in the url - it is a 6 random digits combination.

 

Hope this helps!


That worked, thank you!


Reply