I have tried lots of trial and error, it never matched 100%
Best answer by Byrne C
@pratik-choudhari,
Thanks for your patience while I investigated this with my team. At this point, the best way to solve this would be for a member of our support team to go into your account and take a look at the calls you’re making and also the dashboard you’re comparing it to. It’s a bit tricky to diagnose the issue on the community forum without access to your account. Feel free to reference this thread in your support ticket, so our support team can get caught up on what we’ve already tried. If needed, we can have a support agent with developer/engineer experience take a closer look as well. If you create a ticket at klaviyo.com/support, we’ll look into this!
How much of a difference are you seeing? The difference you’re seeing is in the value of the conversions in the UI vs the value returned by the API, correct?
Hey again @pratik-choudhari. Can you confirm that the time frame in your API call is using the same timezone as the timezone in your account? That might be the issue!
@Byrne C That's right, the discrepancy is between UI dashboard data and API data.The timezone set in account is America/Montreal, I am using the same timezone in API requests. The difference I am seeing is 5-10%.
This will make sure that the time zone of your call matches up exactly with the time zone in your account, and you shouldn’t see any more discrepancies.
Thanks for your patience while I investigated this with my team. At this point, the best way to solve this would be for a member of our support team to go into your account and take a look at the calls you’re making and also the dashboard you’re comparing it to. It’s a bit tricky to diagnose the issue on the community forum without access to your account. Feel free to reference this thread in your support ticket, so our support team can get caught up on what we’ve already tried. If needed, we can have a support agent with developer/engineer experience take a closer look as well. If you create a ticket at klaviyo.com/support, we’ll look into this!