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:
- /tr/jobsearch-and-application
- /tr/eu-blue-card
- /tr/visa-skilled-workers
- /tr/visa-intitation-letter
- /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