[Plugin: Google Analytics for WordPress] Analytics code placed two times in same page
-
Google support warned me that I have two portions for Analytics code placed in the same page and that I should remove one.
Url is http:http://canonpowershotg12review.org
How can I remove it and which of the two?
Below are the two codes:
1)
<script type=”text/javascript”>//<![CDATA[
// Google Analytics for WordPress by Yoast v4.2.7 | http://yoast.com/wordpress/google-analytics/
var _gaq = _gaq || [];
_gaq.push([‘_setAccount’, ‘UA-34313591-1’]);
_gaq.push([‘_trackPageview’]);
(function () {
var ga = document.createElement(‘script’);
ga.type = ‘text/javascript’;
ga.async = true;
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
var s = document.getElementsByTagName(‘script’)[0];
s.parentNode.insertBefore(ga, s);
})();
//]]></script>2)
<script type=”text/javascript”>var _gaq = _gaq || [];
_gaq.push([‘_setAccount’, ‘UA-34313591-1’]);
_gaq.push([‘_trackPageview’]);(function() {
var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
})();</script>
http://ww.wp.xz.cn/extend/plugins/google-analytics-for-wordpress/
The topic ‘[Plugin: Google Analytics for WordPress] Analytics code placed two times in same page’ is closed to new replies.