Extracting Data from Matomo API using Google Apps Script
How to extract analytics data from Matomo into a Google Sheet using Google Apps Script.
Suppose you have data in Matomo that you want to easily present on a Google Sheet. The script below will help you extract the data from Matomo using the API and parse it into the JSON. From there, you can go one step further and publish the data directly to a Google Sheet.