How to calculate the total Visits & Unique visitors using Live visits API


We are extracting Live visits via API into Talend integration tool, and when trying to aggregate the data
& define some KPIs like Visits and Unique visitors, the totals are not compliant with Matomo UI:
Visits equal to the count of all distinct visit IDs, unique visitors KPI is equal to the count of distinct visit and visitor IDs.
The totals that I am getting are different than the numbers being displayed in the “Simple Dashboard”
Can you guide me on how to make totals compliant?


1 Like