Title: Google Analytics Code Does Not Work With This Plugin
Last modified: August 24, 2016

---

# Google Analytics Code Does Not Work With This Plugin

 *  [emeraldwave](https://wordpress.org/support/users/emeraldwave/)
 * (@emeraldwave)
 * [11 years ago](https://wordpress.org/support/topic/google-analytics-code-does-not-work-with-this-plugin/)
 * Hi,
    When I have Google Universal Analytics code in my head, together with this
   plugin installed, the Analytics code stops tracking.
 * The plugin seems to be adding additional codes to the Analtyics one.
 * This happens whether I install the Analytics code manually or using Joost Analytics
   Plugin. Moving the placement of the Analtyics code in the head does not help.
 * Otherwise this plugin works great at re-ordering the scripts.
 * How can we solve this critical issue?
 * [https://wordpress.org/plugins/performance-optimization-order-styles-and-javascript/](https://wordpress.org/plugins/performance-optimization-order-styles-and-javascript/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [emeraldwave](https://wordpress.org/support/users/emeraldwave/)
 * (@emeraldwave)
 * [11 years ago](https://wordpress.org/support/topic/google-analytics-code-does-not-work-with-this-plugin/#post-6104456)
 * Here is a sample of the extra code it is adding inside the Google Analytics code:
 *     ```
       <script type="text/javascript">{"@context":"http:\/\/schema.org","@type":"WebSite","url":"http:\/\/www.mydomain.com\/","name":"My Website Name"}
       var icl_lang = 'en';var icl_home = 'http://www.mydomain.com/';
       Google Analytics Script Goes Here
       </script>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Google Analytics Code Does Not Work With This Plugin’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/performance-optimization-order-styles-
   and-javascript.svg)
 * [Performance Optimization: Order Styles and Javascript](https://wordpress.org/plugins/performance-optimization-order-styles-and-javascript/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/performance-optimization-order-styles-and-javascript/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/performance-optimization-order-styles-and-javascript/)
 * [Active Topics](https://wordpress.org/support/plugin/performance-optimization-order-styles-and-javascript/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/performance-optimization-order-styles-and-javascript/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/performance-optimization-order-styles-and-javascript/reviews/)

## Tags

 * [clash](https://wordpress.org/support/topic-tag/clash/)

 * 1 reply
 * 1 participant
 * Last reply from: [emeraldwave](https://wordpress.org/support/users/emeraldwave/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/google-analytics-code-does-not-work-with-this-plugin/#post-6104456)
 * Status: not resolved