{"action":"created","issue":{"url":"https://api.github.com/repos/Jasig/cas/issues/1063","repository_url":"https://api.github.com/repos/Jasig/cas","labels_url":"https://api.github.com/repos/Jasig/cas/issues/1063/labels{/name}","comments_url":"https://api.github.com/repos/Jasig/cas/issues/1063/comments","events_url":"https://api.github.com/repos/Jasig/cas/issues/1063/events","html_url":"https://github.com/Jasig/cas/issues/1063","id":98047815,"number":1063,"title":"Add support for Google Analytics tracking","user":{"login":"mmoayyed","id":1205228,"avatar_url":"https://avatars.githubusercontent.com/u/1205228?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoayyed","html_url":"https://github.com/mmoayyed","followers_url":"https://api.github.com/users/mmoayyed/followers","following_url":"https://api.github.com/users/mmoayyed/following{/other_user}","gists_url":"https://api.github.com/users/mmoayyed/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoayyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoayyed/subscriptions","organizations_url":"https://api.github.com/users/mmoayyed/orgs","repos_url":"https://api.github.com/users/mmoayyed/repos","events_url":"https://api.github.com/users/mmoayyed/events{/privacy}","received_events_url":"https://api.github.com/users/mmoayyed/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Jasig/cas/labels/Audit%20&%20Logs","name":"Audit & Logs","color":"5319e7"},{"url":"https://api.github.com/repos/Jasig/cas/labels/Major","name":"Major","color":"eb6420"},{"url":"https://api.github.com/repos/Jasig/cas/labels/New%20Feature","name":"New Feature","color":"207de5"},{"url":"https://api.github.com/repos/Jasig/cas/labels/Web","name":"Web","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Jasig/cas/milestones/15","html_url":"https://github.com/Jasig/cas/milestones/5.0.0","labels_url":"https://api.github.com/repos/Jasig/cas/milestones/15/labels","id":1349862,"number":15,"title":"5.0.0","description":"CAS version 5.0.0 release","creator":{"login":"mmoayyed","id":1205228,"avatar_url":"https://avatars.githubusercontent.com/u/1205228?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoayyed","html_url":"https://github.com/mmoayyed","followers_url":"https://api.github.com/users/mmoayyed/followers","following_url":"https://api.github.com/users/mmoayyed/following{/other_user}","gists_url":"https://api.github.com/users/mmoayyed/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoayyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoayyed/subscriptions","organizations_url":"https://api.github.com/users/mmoayyed/orgs","repos_url":"https://api.github.com/users/mmoayyed/repos","events_url":"https://api.github.com/users/mmoayyed/events{/privacy}","received_events_url":"https://api.github.com/users/mmoayyed/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":176,"state":"open","created_at":"2015-10-12T01:28:38Z","updated_at":"2016-05-01T01:30:43Z","due_on":"2016-07-20T07:00:00Z","closed_at":null},"comments":2,"created_at":"2015-07-29T23:05:24Z","updated_at":"2016-05-01T01:31:34Z","closed_at":null,"body":"https://developers.google.com/analytics/devguides/collection/analyticsjs/"},"comment":{"url":"https://api.github.com/repos/Jasig/cas/issues/comments/216007014","html_url":"https://github.com/Jasig/cas/issues/1063#issuecomment-216007014","issue_url":"https://api.github.com/repos/Jasig/cas/issues/1063","id":216007014,"user":{"login":"mmoayyed","id":1205228,"avatar_url":"https://avatars.githubusercontent.com/u/1205228?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoayyed","html_url":"https://github.com/mmoayyed","followers_url":"https://api.github.com/users/mmoayyed/followers","following_url":"https://api.github.com/users/mmoayyed/following{/other_user}","gists_url":"https://api.github.com/users/mmoayyed/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoayyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoayyed/subscriptions","organizations_url":"https://api.github.com/users/mmoayyed/orgs","repos_url":"https://api.github.com/users/mmoayyed/repos","events_url":"https://api.github.com/users/mmoayyed/events{/privacy}","received_events_url":"https://api.github.com/users/mmoayyed/received_events","type":"User","site_admin":false},"created_at":"2016-05-01T01:31:33Z","updated_at":"2016-05-01T01:31:33Z","body":"Conditionally declare this for all pages based on a property:\r\n\r\n```html\r\n<script>\r\n  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\r\n  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\r\n  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\r\n  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');\r\n\r\n  ga('create', 'UA-77169355-2', 'auto');\r\n  ga('send', 'pageview');\r\n\r\n</script>\r\n```"}}