Im using metric-aggregates request to get metrics data(https://developers.klaviyo.com/en/reference/query_metric_aggregates), I am unable to get campaign IDs for conversion metric like placed order from BigCommerce, I am getting response with empty dimensions only. But I am able to see data in the dashboard.
Help me with this.
Solved
Unable to get conversion metrics by campaign ID in query_metric_aggregates request
Best answer by Brian Turcotte
Hi
My apologies for the delay here! I think the issue may come down to the dimension name that you are using. If you are being returned an empty dimensions
response, it means that the event you are querying does not have that type of dimension in association. Although I understand that this could be disorienting, it probably just means that your Placed Order metric uses a different identifying dimension.
If you are using some variation of Campaign ID, you may have better luck using “Campaign Name” under the “by” attribute:
"by": [
"Campaign Name"
I hope this helps!
- Brian
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.