I ran into the same thing and was hoping there was a way to do it inside of the tool so that my past stats could be cleaned up.
Simple fix if you are using PHP is to wrap the Piwik call in an If statement that checks the server… ex:
<? if ($_SERVER['SERVER_NAME'] == "www.chatmap.io") { ?> <? } ?>Note, we redirect everything to use www. … if you want to check for using both www or not, you could check the position of your domain…
if(strrpos($_SERVER[‘SERVER_NAME’], “chatmap.io”)) { … etc. }