WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Google Analytics for WordPress] how to remove jquery

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

Viewing 1 replies (of 1 total)
  • 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 ‘[Resolved] [Plugin: Google Analytics for WordPress] how to remove jquery’ is closed to new replies.
Skip to toolbar