Title: [Plugin: Google Analytics for WordPress] Analytics code placed two times in same page
Last modified: August 20, 2016

---

# [Plugin: Google Analytics for WordPress] Analytics code placed two times in same page

 *  [fabthi](https://wordpress.org/support/users/fabthi/)
 * (@fabthi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/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](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/](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://wordpress.org/extend/plugins/google-analytics-for-wordpress/](http://wordpress.org/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.

 * ![](https://ps.w.org/google-analytics-for-wordpress/assets/icon.svg?rev=2976619)
 * [MonsterInsights - Google Analytics Dashboard for WordPress (Website Stats Made Easy)](https://wordpress.org/plugins/google-analytics-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-for-wordpress/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [fabthi](https://wordpress.org/support/users/fabthi/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-analytics-code-placed-two-times-in-same-page/)
 * Status: not resolved