{"action":"opened","issue":{"url":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/695","repository_url":"https://api.github.com/repos/OneBusAway/onebusaway-android","labels_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/695/labels{/name}","comments_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/695/comments","events_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/issues/695/events","html_url":"https://github.com/OneBusAway/onebusaway-android/issues/695","id":177275453,"number":695,"title":"Obtaining demographics and interest data from 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,"assignees":[],"milestone":{"url":"https://api.github.com/repos/OneBusAway/onebusaway-android/milestones/3","html_url":"https://github.com/OneBusAway/onebusaway-android/milestones/Future","labels_url":"https://api.github.com/repos/OneBusAway/onebusaway-android/milestones/3/labels","id":1322985,"number":3,"title":"Future","description":"Nice-to-have things without a specific priority or deadline","creator":{"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},"open_issues":42,"closed_issues":3,"state":"open","created_at":"2015-09-24T22:23:58Z","updated_at":"2016-09-15T20:06:04Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-09-15T20:06:04Z","updated_at":"2016-09-15T20:06:04Z","closed_at":null,"body":"**Summary:** \r\n\r\nApparently Google Analytics has the capability to provide user demographics and interest reports based on things Google collects about them.\r\n\r\nIn the GA console, it says:\r\n\r\n>Demographics and Interest Reports\r\nThe Demographics and Interest sections include Overview reports, along with new Age, Gender, and Interest Categories reports.\r\n\r\n>They allow you to better understand who your users are.\r\nYou can segment the rest of your Analytics data by these same characteristics so you can understand how converting and non-converting users differ (and many other such comparisons).\r\nThese are the same demographics & interest categories used to target ads on the Google Display Network. Use these insights about your users to refine your ad campaign strategies.\r\nNot all of your users may have demographics associated with them, so these reports may only represent a subset of your users and may not be representative of your overall site composition.\r\n[Learn more](https://support.google.com/adwords/answer/2580383?hl=en&utm_id=ad) about how Google determines user demographics.\r\n[Learn more](https://support.google.com/adwords/answer/2497941?hl=en&utm_id=ad) about how Google determines user interest categories.\r\nBefore enabling Demographics and Interest Reports you may need to update your privacy policy according to [this policy](https://support.google.com/analytics/answer/2700409?hl=en&utm_id=ad).\r\n[Learn more](https://support.google.com/analytics/answer/2799357?hl=en&utm_id=ad) about the new reports\r\n\r\nTo get access to that data, we'd need to add the following code to the app (according to https://support.google.com/analytics/answer/2444872?hl=en&utm_id=ad#app):\r\n\r\n~~~\r\nTo enable these features for Android, modify your Analytics tracking code to collect the advertising id. Call the enableAdvertisingIdCollection method on the tracker for which you want to enable these features. For example:\r\n\r\n// Get tracker.\r\nTracker t = ((AnalyticsSampleApp) getActivity().getApplication()).getTracker(\r\nTrackerName.APP_TRACKER);\r\n\r\n// Enable Display Features.\r\nt.enableAdvertisingIdCollection(true);\r\n~~~\r\n\r\nWe need to carefully read the above linked documents to understand what additional user information (if any) we would be giving away by enabling this, and what we get in return."}}
{"actor":{"display_login":"barbeau"}}