{"issue":{"state":"open","created_at":"2011-11-29T07:34:02Z","updated_at":"2011-11-29T07:34:06Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"comments":4,"body":"The new GA code includes async support to improve page rendering during file download.\nhttp://googlecode.blogspot.com/2009/12/google-analytics-launches-asynchronous.html\n\n```\n<script type=\"text/javascript\">\n\n  var _gaq = _gaq || [];\n  _gaq.push(['_setAccount', 'UA-XXXXX-X']);\n  _gaq.push(['_trackPageview']);\n\n  (function() {\n    var ga = document.createElement('script');\n    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : \n        'http://www') + '.google-analytics.com/ga.js';\n    ga.setAttribute('async', 'true');\n    document.documentElement.firstChild.appendChild(ga);\n  })();\n\n</script>\n```\n\n[Download the attachments](http://www.contao.org/tl_files/tickets/1233.zip \"Download the attachments of this ticket\")\n\n--- _Originally created by mhurd on December 2nd, 2009, at 04:57pm (ID 1233)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"id":2379880,"labels":[{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/test/labels/Feature"},{"name":"frontend","color":"e6e6e6","url":"https://api.github.com/repos/contao/test/labels/frontend"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":1233,"title":"Update Google Analytics (async mode)","closed_at":null,"html_url":"https://github.com/contao/test/issues/1233","url":"https://api.github.com/repos/contao/test/issues/1233","milestone":{"state":"open","created_at":"2011-11-29T05:26:57Z","due_on":null,"closed_issues":1,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"number":25,"description":"Contao 2.9.0 (minor release)","title":"2.9.0","open_issues":1,"url":"https://api.github.com/repos/contao/test/milestones/25"}},"action":"created","comment":{"created_at":"2011-11-29T07:34:06Z","updated_at":"2011-11-29T07:34:06Z","user":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"body":"From version 2.9.RC1, Google Analytics support is only available through the template `moo_analytics` (or any custom `moo_` template that you create). It is not possible to enter an Urchin ID directly in the page layout anymore. See commit:98a3220a7ab73939a17a6a3d26d9d8ec for the code changes.\n\n--- _Originally created on June 3rd, 2010, at 02:38pm_","id":2919610,"url":"https://api.github.com/repos/contao/test/issues/comments/2919610"}}