Our system uses piwik. We have a Windows 2008 R2 server that runs piwik.
We need to know how to achieve this: automactially set up auto-archiving for all websites.
Our users can use our system to create certain apps; whenever an app gets created, our system calls piwik API to automatically create an “idSite” in piwik.
Now, many of these sites will be high traffic sites. So we do not want to manually schedule a task, for each site, in piwik, as instructed in this link:
What we need to do is: whenever a new idSite is created, we also want to “progranmmatically” set up the auto-archiving for this site.
Please let us know how to achieve this? Has anyone done the same or similar thing already?