Title: [Plugin: Google Analytics for WordPress]  how to remove jquery
Last modified: August 20, 2016

---

# [Plugin: Google Analytics for WordPress] how to remove jquery

 *  Resolved [magonzalez987](https://wordpress.org/support/users/magonzalez987/)
 * (@magonzalez987)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-how-to-remove-jquery/)
 * a

Viewing 1 replies (of 1 total)

 *  [Ilir](https://wordpress.org/support/users/ipruthi/)
 * (@ipruthi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-how-to-remove-jquery/#post-2240003)
 * Since magonzalez987 didn’t write back how he fixed this, I would like to add 
   this info:
 * * Open up file “googleanalytics.php”
    * Find lines:
 *     ```
       if ( yoast_ga_do_tracking()
       			&& isset( $yoast_ga_options["trackcommentform"] )
       			&& $yoast_ga_options["trackcommentform"]
       			&& ( 'open' == $post->comment_status ) )
                   wp_enqueue_script('jquery');
       ```
   
 * * Comment out the lines above and you’re good.
 * Since WordPress upgrade 3.4, the presence of 2 jQuery libraries messed up my 
   site for a good few hours until I figured out it was Google Analytics plugin.
 * Take care everyone, share the knowledge.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Google Analytics for WordPress] how to remove jquery’ is closed
to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Ilir](https://wordpress.org/support/users/ipruthi/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-how-to-remove-jquery/#post-2240003)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
