How to add new bulk websites ?


(Maskasites) #1

I would like to add 40 sites on Matomo. I find many codes but impossible to include this on my accommodation.
I use a shared hosting and I have access to root.
Do you have code ready to integrate all of this using the API?
thank you in advance

This page is 404 https://matomo.org/docs/analytics-api/reference/#SitesManager


(Lukas Winkler) #2

Hi,

Where did you find the broken link?

You can find the page you are looking for here: Reporting API Reference: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3 and SitesManager.addSite should do what you want.