WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Google Analytics for WordPress] how to remove jquery (2 posts)

  1. magonzalez987
    Member
    Posted 2 years ago #

    a

  2. Ingenius Dastard
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.