Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5981

UI and API have different results for the same segment of data

$
0
0

I’m working with Matomo on prem, using both UI and APIs to prepare reports and analyse data.

Recently I have found that UI and API provide different results:

Example 1:
In UI, in specific segment (languageCode==tr, deviceType==desktop, countyCode == tr) the top list of pages for September 2024 looks next:

  1. /tr/jobsearch-and-application
  2. /tr/eu-blue-card
  3. /tr/visa-skilled-workers
  4. /tr/visa-intitation-letter
  5. /tr/wbs?gad_source

But when I try to export data, using autogenerated API button, it is missing entry number 5, and has /tr/recognition?gad_source=1 instead. Item number 5 is on the 6th place and has totally other number of pageviews, than in UI

Example 2:
I’m selecting September as month to get results, but for some reason autogenerated url has date set: 2024-09-12? which doesn’t seem to be end of September? Alas, how can I very my scripts that call API are correct if UI presenting me with different data?

Additionally, if I try to generate the report on 20th, the date seems to be end of month(looks like some weird dependency on current date is involved)

Could you please help me understanding what is the correct way to use API and UI, and how to check them against each other? Could this be a bug?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5981

Trending Articles