{"action":"created","issue":{"url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/2313","repository_url":"https://api.github.com/repos/AgileVentures/WebsiteOne","labels_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/2313/labels{/name}","comments_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/2313/comments","events_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/2313/events","html_url":"https://github.com/AgileVentures/WebsiteOne/issues/2313","id":317267700,"number":2313,"title":"add google analytics user id tracking","user":{"login":"tansaku","id":30216,"avatar_url":"https://avatars3.githubusercontent.com/u/30216?v=4","gravatar_id":"","url":"https://api.github.com/users/tansaku","html_url":"https://github.com/tansaku","followers_url":"https://api.github.com/users/tansaku/followers","following_url":"https://api.github.com/users/tansaku/following{/other_user}","gists_url":"https://api.github.com/users/tansaku/gists{/gist_id}","starred_url":"https://api.github.com/users/tansaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tansaku/subscriptions","organizations_url":"https://api.github.com/users/tansaku/orgs","repos_url":"https://api.github.com/users/tansaku/repos","events_url":"https://api.github.com/users/tansaku/events{/privacy}","received_events_url":"https://api.github.com/users/tansaku/received_events","type":"User","site_admin":false},"labels":[{"id":321047900,"url":"https://api.github.com/repos/AgileVentures/WebsiteOne/labels/in%20progress","name":"in progress","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-24T15:01:55Z","updated_at":"2018-05-17T14:46:41Z","closed_at":null,"author_association":"MEMBER","body":"we tried and failed with https://github.com/AgileVentures/WebsiteOne/issues/1760 but perhaps we can try again ..."},"comment":{"url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/comments/389892762","html_url":"https://github.com/AgileVentures/WebsiteOne/issues/2313#issuecomment-389892762","issue_url":"https://api.github.com/repos/AgileVentures/WebsiteOne/issues/2313","id":389892762,"user":{"login":"tansaku","id":30216,"avatar_url":"https://avatars3.githubusercontent.com/u/30216?v=4","gravatar_id":"","url":"https://api.github.com/users/tansaku","html_url":"https://github.com/tansaku","followers_url":"https://api.github.com/users/tansaku/followers","following_url":"https://api.github.com/users/tansaku/following{/other_user}","gists_url":"https://api.github.com/users/tansaku/gists{/gist_id}","starred_url":"https://api.github.com/users/tansaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tansaku/subscriptions","organizations_url":"https://api.github.com/users/tansaku/orgs","repos_url":"https://api.github.com/users/tansaku/repos","events_url":"https://api.github.com/users/tansaku/events{/privacy}","received_events_url":"https://api.github.com/users/tansaku/received_events","type":"User","site_admin":false},"created_at":"2018-05-17T14:46:41Z","updated_at":"2018-05-17T14:46:41Z","author_association":"MEMBER","body":"(re-posting from slack for the record)\r\n\r\n@Hess3000 asked\r\n\r\n> hey does anyone know how to get Google Analytics running in local host? Also does anyone know if the old legacy Google Analytics Js - ga.js (installed on websiteone) is compatible with the newer analytics.js?\r\n\r\n I think we don't usually run google analytics running on localhost - but perhaps you just mean, get it so that #websiteone will run it on localhost?\r\nif just that then you can start Rails setting this environment variable:\r\n\r\n```ENABLE_GOOGLE_ANALYTICS=true bundle exec rails s```\r\nand I'm not sure about compatibility between the older ga.js and analytics.js - that's precisely the issue we had adding user tracking previously, i.e. the user tracking code is designed for analytics.js - we added it to ga.js, but because ENABLE_GOOGLE_ANALYTICS is not set to true anywhere except in production, we never saw that it broke it\r\nso I think ideally we want to upgrade to the newer analytics.js if possible ..."}}
{"actor":{"display_login":"tansaku"}}