Skip to main content
Contributor IV
May 6, 2024 3:23 PM UTC
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
Jun 14, 2024 5:36 PM UTC

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 7:37 PM UTC

Hi @imp_dev!

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

- Brian

imp_devAuthor
Contributor IV
May 14, 2024 6:26 AM UTC

Hi @Brian Turcotte ,

Thank you for looking at my question!

Kind regards,
Evgeniy

imp_devAuthor
Contributor IV
May 21, 2024 3:34 AM UTC

Hi @Brian Turcotte ,

Any update here?

Brian Turcotte
Klaviyo Alum
Jun 14, 2024 5:36 PM UTC

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