I would like to know why idSite is a construct parameter.
I'm integrating a company system with matomo and I'll have many websites to interact with and add other programatically.
I saw that this package provide an addSite method, but I cannot use it before instantiate an object, and I cannot instantiate one before have a site on matomo, so it doesnt make sense to me.
Is there any other way to add a site or create a matomo object without known the idSite?
I would like to know why idSite is a construct parameter.
I'm integrating a company system with matomo and I'll have many websites to interact with and add other programatically.
I saw that this package provide an addSite method, but I cannot use it before instantiate an object, and I cannot instantiate one before have a site on matomo, so it doesnt make sense to me.
Is there any other way to add a site or create a matomo object without known the idSite?