Skip to main content
Solved

“Unsubscribed" count on UI doesn't match API metric


Forum|alt.badge.img+3

Hi there,

I’ve faced the discrepancy in “Unsubscribed" metric between UI and API for campaign 01HSG6F014BXXNPQSQ76RPG2AB “ag-040124-MonthlyBirthdayInspo_6am”.

UI has 514 “Unsubscribed" events:

However, in API I found 2 metrics:

  1. VYpqKR “Unsubscribed from Email Marketing” has 333:
  1. XxudPw “Clicked email to unsubscribe” has 316:

 

Please explain which metric I should use in API to get the “Unsubscribed" value I see in UI.

 

Kind regards,

Evgeniy

Best answer by Brian Turcotte

Hey @imp_dev!

My apologies for the delay. 

 

I would recommend using the new Reporting API for campaigns instead of the Query Metrics Aggregates endpoint, as the Reporting API pulls from the same source as the UI.

 

Best,

Brian

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

4 replies

Brian Turcotte
Forum|alt.badge.img+37

Hi @imp_dev!

I’ll check on this internally and I’ll update the thread ASAP!
 

- Brian


Forum|alt.badge.img+3
  • Author
  • Contributor IV
  • 8 replies
  • May 14, 2024

Hi @Brian Turcotte ,

Thank you for looking at my question!

Kind regards,
Evgeniy


Forum|alt.badge.img+3
  • Author
  • Contributor IV
  • 8 replies
  • May 21, 2024

Hi @Brian Turcotte ,

Any update here?


Brian Turcotte
Forum|alt.badge.img+37
  • Klaviyo Alum
  • 1393 replies
  • Answer
  • June 14, 2024

Hey @imp_dev!

My apologies for the delay. 

 

I would recommend using the new Reporting API for campaigns instead of the Query Metrics Aggregates endpoint, as the Reporting API pulls from the same source as the UI.

 

Best,

Brian