I have a following issue. I want to count statistics for one website but in two ways: with and without excluded IPs. The purpose is to compare traffic made by whole company to overall traffic. I’ve added two websites to Piwik referring to the same website. First is without any excluded IPs and the other one has several excluded IPs. Then I’ve modified default tracking code by putting the line _paq.push([“setSiteId”, “2”]); right after _paq.push([“setSiteId”, “1”]);
This doesn’t work obviously Now stats are counting only for the “excluded IPs” website.
The question is: what did i do wrong? How can I setup my piwik to show traffic stats of one website with and without excluded IPs?
I’ve updated my piwik to version 2.0.3 and used segmentation method mentioned by dali
I had issues with excluding IP range but fortunately 2.0.3 comes with new filters.
Now I can exclude IPs using following filters: equals, not equals, at most, at least, greater than, less than.