{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/piwik-sdk-android/issues/18","labels_url":"https://api.github.com/repos/piwik/piwik-sdk-android/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik-sdk-android/issues/18/comments","events_url":"https://api.github.com/repos/piwik/piwik-sdk-android/issues/18/events","html_url":"https://github.com/piwik/piwik-sdk-android/issues/18","id":58123024,"number":18,"title":"User visits do not seem to be tracked properly.","user":{"login":"sdunnin","id":1950736,"avatar_url":"https://avatars.githubusercontent.com/u/1950736?v=3","gravatar_id":"","url":"https://api.github.com/users/sdunnin","html_url":"https://github.com/sdunnin","followers_url":"https://api.github.com/users/sdunnin/followers","following_url":"https://api.github.com/users/sdunnin/following{/other_user}","gists_url":"https://api.github.com/users/sdunnin/gists{/gist_id}","starred_url":"https://api.github.com/users/sdunnin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdunnin/subscriptions","organizations_url":"https://api.github.com/users/sdunnin/orgs","repos_url":"https://api.github.com/users/sdunnin/repos","events_url":"https://api.github.com/users/sdunnin/events{/privacy}","received_events_url":"https://api.github.com/users/sdunnin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-18T20:25:38Z","updated_at":"2015-04-14T23:29:21Z","closed_at":null,"body":"We are registering visits from an Android application. When viewing from the dashboard visits and unique visitors are accurately reflected, however, when calling API method VisitsSummary.getUsers and providing parameter &segment=visitorType==returning the value returned is always zero. The user visits all register as new users even though the users have multiple visits across several days. \r\n\r\nWebsite visits reported via the javascript client do report new vs. returning visitors. Both Javascript and Java clients are sending the userid via the uid paramater."},"comment":{"url":"https://api.github.com/repos/piwik/piwik-sdk-android/issues/comments/93110333","html_url":"https://github.com/piwik/piwik-sdk-android/issues/18#issuecomment-93110333","issue_url":"https://api.github.com/repos/piwik/piwik-sdk-android/issues/18","id":93110333,"user":{"login":"d4rken","id":1439229,"avatar_url":"https://avatars.githubusercontent.com/u/1439229?v=3","gravatar_id":"","url":"https://api.github.com/users/d4rken","html_url":"https://github.com/d4rken","followers_url":"https://api.github.com/users/d4rken/followers","following_url":"https://api.github.com/users/d4rken/following{/other_user}","gists_url":"https://api.github.com/users/d4rken/gists{/gist_id}","starred_url":"https://api.github.com/users/d4rken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d4rken/subscriptions","organizations_url":"https://api.github.com/users/d4rken/orgs","repos_url":"https://api.github.com/users/d4rken/repos","events_url":"https://api.github.com/users/d4rken/events{/privacy}","received_events_url":"https://api.github.com/users/d4rken/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T23:29:21Z","updated_at":"2015-04-14T23:29:21Z","body":"See #50.\r\nNot transmitting \"_idvc\", \"_viewts\" and \"_idts\" was the problem.\r\nFiltering for visitor type \"returning\" does now also work.\r\nI'll be deploying this soon in a larger test again, but tests on my demo server were already pretty promising.\r\n\r\n@mattab I'd still love to know why the server doesn't do this for us, but I'm now betting on performance concerns.\r\n@sdunnin Try the dev branch after the PRs have been merged and let me know whether it's working.\r\n@dotsbb After merging the PR we can close this again ;)."}}