{"action":"closed","issue":{"url":"https://api.github.com/repos/awesomemotive/google-analytics-for-wordpress/issues/395","repository_url":"https://api.github.com/repos/awesomemotive/google-analytics-for-wordpress","labels_url":"https://api.github.com/repos/awesomemotive/google-analytics-for-wordpress/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/awesomemotive/google-analytics-for-wordpress/issues/395/comments","events_url":"https://api.github.com/repos/awesomemotive/google-analytics-for-wordpress/issues/395/events","html_url":"https://github.com/awesomemotive/google-analytics-for-wordpress/issues/395","id":90979095,"number":395,"title":"Script is different from Google script, Google receives no data","user":{"login":"helgatheviking","id":507025,"avatar_url":"https://avatars.githubusercontent.com/u/507025?v=3","gravatar_id":"","url":"https://api.github.com/users/helgatheviking","html_url":"https://github.com/helgatheviking","followers_url":"https://api.github.com/users/helgatheviking/followers","following_url":"https://api.github.com/users/helgatheviking/following{/other_user}","gists_url":"https://api.github.com/users/helgatheviking/gists{/gist_id}","starred_url":"https://api.github.com/users/helgatheviking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helgatheviking/subscriptions","organizations_url":"https://api.github.com/users/helgatheviking/orgs","repos_url":"https://api.github.com/users/helgatheviking/repos","events_url":"https://api.github.com/users/helgatheviking/events{/privacy}","received_events_url":"https://api.github.com/users/helgatheviking/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/awesomemotive/google-analytics-for-wordpress/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/awesomemotive/google-analytics-for-wordpress/labels/Waiting%20for%20feedback","name":"Waiting for feedback","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-06-25T14:23:24Z","updated_at":"2016-07-30T04:01:03Z","closed_at":"2016-07-30T04:01:03Z","body":"The script generated by the Yoast plugin looks different from the script suggested by Google in my analytics account.\r\n\r\nGoogle's script:\r\n\r\n```\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','//www.google-analytics.com/analytics.js','ga');\r\n\r\n  ga('create', 'XXXXXXXX', 'auto');\r\n  ga('send', 'pageview');\r\n\r\n</script>\r\n```\r\n\r\nThe Yoast script:\r\n\r\n```\r\n<script type=\"text/javascript\">\r\n\r\n\tvar _gaq = _gaq || [];\r\n\t_gaq.push(['_setAccount', 'XXXXXXXX']);\r\n\t_gaq.push(['_gat._forceSSL']);\r\n\t_gaq.push(['_trackPageview']);\r\n\r\n\t(function () {\r\n\t\tvar ga = document.createElement('script');\r\n\t\tga.type = 'text/javascript';\r\n\t\tga.async = true;\r\n\t\tga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\r\n\t\tvar s = document.getElementsByTagName('script')[0];\r\n\t\ts.parentNode.insertBefore(ga, s);\r\n\t})();\r\n\r\n</script>\r\n```\r\n\r\nIs there a reason for this? Could this be the reason that Google isn't getting any data from my site?"}}
{"actor":{"display_login":"chriscct7"}}