{"action":"created","issue":{"url":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/105","labels_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/105/comments","events_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/105/events","html_url":"https://github.com/OneBusAway/onebusaway-android/issues/105","id":27627464,"number":105,"title":"Add Google Analytics","user":{"login":"barbeau","id":928045,"avatar_url":"https://avatars.githubusercontent.com/u/928045?v=3","gravatar_id":"","url":"https://api.github.com/users/barbeau","html_url":"https://github.com/barbeau","followers_url":"https://api.github.com/users/barbeau/followers","following_url":"https://api.github.com/users/barbeau/following{/other_user}","gists_url":"https://api.github.com/users/barbeau/gists{/gist_id}","starred_url":"https://api.github.com/users/barbeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbeau/subscriptions","organizations_url":"https://api.github.com/users/barbeau/orgs","repos_url":"https://api.github.com/users/barbeau/repos","events_url":"https://api.github.com/users/barbeau/events{/privacy}","received_events_url":"https://api.github.com/users/barbeau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OneBusAway/onebusaway-android/labels/enhancement","name":"enhancement","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":63,"created_at":"2014-02-14T21:49:47Z","updated_at":"2015-01-28T19:58:07Z","closed_at":null,"body":"As discussed in https://github.com/OneBusAway/onebusaway-iphone/issues/263#issuecomment-35123537, we'd like to add Google Analytics to both the OBA iOS and Android apps to have better information about how they are being used.  As recommended in [GA Best Practices](https://support.google.com/analytics/answer/2587087), we plan to use the same property for both apps:\r\n\r\n>*Track different platforms of an app in the same property.*\r\nIf you’ve developed the same app for different platforms (i.e., MyApp for Android and MyApp for iOS), track them in the same property. You can then set up [new views](https://support.google.com/analytics/answer/2614741) to organize and compare the performances in your Google Analytics reports. If your iOS and Android apps differ greatly in performance or usage, you might want to track each platform in separate properties.\r\n\r\nTracking data is needed for research projects such as [StopInfo](https://github.com/OneBusAway/onebusaway-android/issues/103)."},"comment":{"url":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/comments/71904233","html_url":"https://github.com/OneBusAway/onebusaway-android/issues/105#issuecomment-71904233","issue_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/105","id":71904233,"user":{"login":"barbeau","id":928045,"avatar_url":"https://avatars.githubusercontent.com/u/928045?v=3","gravatar_id":"","url":"https://api.github.com/users/barbeau","html_url":"https://github.com/barbeau","followers_url":"https://api.github.com/users/barbeau/followers","following_url":"https://api.github.com/users/barbeau/following{/other_user}","gists_url":"https://api.github.com/users/barbeau/gists{/gist_id}","starred_url":"https://api.github.com/users/barbeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbeau/subscriptions","organizations_url":"https://api.github.com/users/barbeau/orgs","repos_url":"https://api.github.com/users/barbeau/repos","events_url":"https://api.github.com/users/barbeau/events{/privacy}","received_events_url":"https://api.github.com/users/barbeau/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T19:58:07Z","updated_at":"2015-01-28T19:58:07Z","body":"Interestingly, if you go to create a new property in GA console, you get this message:\r\n\r\n>**Already tracking an app with Google Analytics? You might not need this step!**\r\nAn existing tracking ID can be reused in multiple app versions, app editions, and across platforms. In some cases, one tracking ID can also be used in multiple apps. Using an existing or new tracking ID affects how data appears in your reports.\r\n\r\n>Review the [Best Practices for Mobile App Analytics](https://support.google.com/analytics/answer/2587087) set up to find out if you should get a new tracking ID or use an existing tracking ID.\r\n\r\nThis in turn links to the best practices guide that tells you to use different properties for different platforms."}}