WordPress.org

Support

Support » Plugins and Hacks » How to get rid of GA code after deactivating GA for WordPress.

How to get rid of GA code after deactivating GA for WordPress.

  • I previously had Google Analytics for WordPress by Yoast.com and have since deactivated it.. However when i look at the source, I still see it in the header.. Is this normal, must I totally remove the entire plugin from the plugin directory to make the code go away…

    I know it is still being installed, since it is not there when you look at the header using ftp but is there when you look at a live header once the page is generated..

    I need it gone to make sure it does not interfere with my manual insertion of GA code.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andy Christian

    @stdestiny

    Contributor Day Volunteer

    Did you manually add the code to your theme’s footer.php? If so, you’ll have to manually delete it.

    I think you might not have read the post carefully enough.. As above I stated that i know the system is adding the code since when I look at the header using FTP the Yoast GA code is not there, but when you view the page in the browser and look at the code … there it is and it was not there in the static footer… only in the dynamic header..

    Any other ideas.. should I try totally reomoveing the plugin from my site to see it that does it… I wanted to leave it in case I want to use it in the future… makes not sense…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to get rid of GA code after deactivating GA for WordPress.’ is closed to new replies.
Skip to toolbar