Mediawiki+piwik integration not showing unique visitor count properly

We have integrated mediawiki with piwik,It shows unique user till the user is logged in.But if the same user is logging out and then logging in it takes him as a new user and incremenmts the count.We want view count of unique users regardless of how many times they have logged in.