Skip to main content
Contributor IV
May 6, 2024
Solved

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

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

This topic has been closed for replies.
Brian Turcotte
Klaviyo Alum
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

4 replies

Brian Turcotte
Klaviyo Alum
May 10, 2024

Hi @imp_dev!

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

- Brian

imp_devAuthor
Contributor IV
May 14, 2024

Hi @Brian Turcotte ,

Thank you for looking at my question!

Kind regards,
Evgeniy

imp_devAuthor
Contributor IV
May 21, 2024

Hi @Brian Turcotte ,

Any update here?

Brian Turcotte
Klaviyo Alum
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