lio77
1
Hi guys,
Two quick questions:
Q1 - is there API method to change boolean option for website which is in admin section:
Only track visits and actions when the action URL starts with one of the above URLs.
Q2 - if I check this option will “www.” subdomain be also tracked automatically?
lio77
2
Hey guys!
Can anyone share knowledge on this one, please?
matthieu
(Matthieu Aubry)
3
I cannot be sure at this point. If you find that it does not, please create a bug report @ https://github.com/piwik/piwik/issues and we will fix it.
Just reviving a post from 2016 (almost 10 years to the day) 
It looks like in the documentation it should be able to be done with this;
SitesManager.addSite (string siteName, urls = ‘’, ecommerce = ‘’, siteSearch = ‘’, searchKeywordParameters = ‘’, searchCategoryParameters = ‘’, excludedIps = ‘’, excludedQueryParameters = ‘’, timezone = ‘’, currency = ‘’, group = ‘’, startDate = ‘’, excludedUserAgents = ‘’, keepURLFragments = ‘’, type = ‘’, settingValues = ‘’, excludeUnknownUrls = ‘’, excludedReferrers = ‘’)[ No example available ]
But it doesnt seem to be working at all. Has anyone else managed to complete this?