{"action":"closed","issue":{"url":"https://api.github.com/repos/CanonicalLtd/jujucharms.com/issues/197","labels_url":"https://api.github.com/repos/CanonicalLtd/jujucharms.com/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/CanonicalLtd/jujucharms.com/issues/197/comments","events_url":"https://api.github.com/repos/CanonicalLtd/jujucharms.com/issues/197/events","html_url":"https://github.com/CanonicalLtd/jujucharms.com/issues/197","id":126047499,"number":197,"title":"Remove google analytics and marketo tracking codes","user":{"login":"pmahnke","id":441217,"avatar_url":"https://avatars.githubusercontent.com/u/441217?v=3","gravatar_id":"","url":"https://api.github.com/users/pmahnke","html_url":"https://github.com/pmahnke","followers_url":"https://api.github.com/users/pmahnke/followers","following_url":"https://api.github.com/users/pmahnke/following{/other_user}","gists_url":"https://api.github.com/users/pmahnke/gists{/gist_id}","starred_url":"https://api.github.com/users/pmahnke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmahnke/subscriptions","organizations_url":"https://api.github.com/users/pmahnke/orgs","repos_url":"https://api.github.com/users/pmahnke/repos","events_url":"https://api.github.com/users/pmahnke/events{/privacy}","received_events_url":"https://api.github.com/users/pmahnke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CanonicalLtd/jujucharms.com/labels/fix-committed","name":"fix-committed","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"anthonydillon","id":1413534,"avatar_url":"https://avatars.githubusercontent.com/u/1413534?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonydillon","html_url":"https://github.com/anthonydillon","followers_url":"https://api.github.com/users/anthonydillon/followers","following_url":"https://api.github.com/users/anthonydillon/following{/other_user}","gists_url":"https://api.github.com/users/anthonydillon/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonydillon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonydillon/subscriptions","organizations_url":"https://api.github.com/users/anthonydillon/orgs","repos_url":"https://api.github.com/users/anthonydillon/repos","events_url":"https://api.github.com/users/anthonydillon/events{/privacy}","received_events_url":"https://api.github.com/users/anthonydillon/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-01-11T22:02:41Z","updated_at":"2016-01-19T17:39:07Z","closed_at":"2016-01-19T17:39:07Z","body":"In an effort to clean-up our tracking codes, we are moving to google tag manager -- which is already installed on the site.\r\n\r\nCan you remove the current google analytics code:\r\n\r\n<!-- google analytics -->\r\n<script>\r\n  var _gaq = _gaq || [];\r\n  _gaq.push(['_setAccount', 'UA-1018242-44']);\r\n  _gaq.push(['_trackPageview']);\r\n\r\n  (function() {\r\n  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\r\n  ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';\r\n  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\r\n  })();\r\n</script>\r\n\r\n and the marketo code:\r\n\r\n<!-- Marketo marketing automation web activity tracking script -->\r\n<script src='//munchkin.marketo.net/munchkin.js' type=\"text/javascript\"></script>\r\n<script>Munchkin.init('066-EOV-335');</script>\r\n\r\n\r\nIt will be added via GTM"}}