Need matomo logs in our server

Hi,

we have implemented the Matomo tracking in our webpage and we are able to see the tracking in Matomo dashboard. But we need to get the matomo logs in our server , how can we achieve that?

Hi,

Are you talking about Log Analytics?

See How to use Log Analytics tool User Guide - Analytics Platform - Matomo

Hi,
thanks for your response. Actually this page tells about “to import your server logs in Matomo” while I am looking for “Importing Matomo logs(tracking logs of my script) in my server from Matomo”. Exactly opposite. Let me know if you still need any clarification.

Hi,

You can use the Reporting API to get all data that is in Matomo:
https://developer.matomo.org/api-reference/reporting-api

Or you could use widgets if you want to embed single reports:
https://demo.matomo.org/index.php?module=Widgetize&action=index&idSite=62&period=day&date=yesterday