API method for "only track visits and actions when..."

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?

Hey guys!

Can anyone share knowledge on this one, please?

I cannot be sure at this point. If you find that it does not, please create a bug report @ Issues · matomo-org/piwik · GitHub and we will fix it.