Skip to main content
Solved

Unable to fetch campaign statistics from API

  • September 1, 2021
  • 2 replies
  • 473 views

Forum|alt.badge.img+2

Hello,,

 

We are building an API integration with Klyaviyo API where we want to fetch data of multi-metric reports.

Can anyone help us where can we find the end point or any other way to pull the multi-metric reports via API?

Best answer by retention

Hi @Shri09 - Welcome to the community.  Unfortunately, as far as I know, there’s no Campaign analytics API yet.  You can export those results as a CSV and import it into your tools.

See here:

Here’s a document about doing this too:

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

retention
Partner - Platinum
Forum|alt.badge.img+62
  • 2025 Champion
  • 944 replies
  • Answer
  • September 1, 2021

Hi @Shri09 - Welcome to the community.  Unfortunately, as far as I know, there’s no Campaign analytics API yet.  You can export those results as a CSV and import it into your tools.

See here:

Here’s a document about doing this too:


alex.hong
Forum|alt.badge.img+58
  • Klaviyo Alum
  • 1552 replies
  • September 3, 2021

Hi @Shri09 ,

 

Although we do not have a built in method to get campaign analytics via API, this article provides some more detailed instructions around how to pull revenue attributed to your Flow and Campaign messages. In this case you'll want to use the endpoint mentioned under Conversions to pull metrics. I would recommend first using the Campaign API to pull all of your Message IDs here. Then you can loop through those with the Metrics API call to pull the events by attributed message.

 

Hope this helped!

Alex