Title: Google Analytics Displaying code
Last modified: August 20, 2016

---

# Google Analytics Displaying code

 *  [holmberges](https://wordpress.org/support/users/holmberges/)
 * (@holmberges)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-displaying-code/)
 * I installed Google Analytics on my site and then quickly uninstalled it because
   it is displaying this code on the top of my pages (not the home page and not 
   the categories pages) above my header:
 * function() { var ga = document.createElement(‘script’); ga.type = ‘text/javascript’;
   ga.async = true; ga.src = (‘https:’ == document.location.protocol ? ‘[https://ssl&#8217](https://ssl&#8217);:‘
   [http://www&#8217](http://www&#8217);) + ‘.google-analytics.com/ga.js’; var s
   = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);})();
 * I have no idea how to get rid of this piece of code. I deleted by Google Analytics
   account and deactivated and deleted the plugin and it is still there. Please 
   help.
 * [http://wordpress.org/extend/plugins/analytics/](http://wordpress.org/extend/plugins/analytics/)

 The topic ‘Google Analytics Displaying code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/analytics.svg)
 * [analytics](https://wordpress.org/plugins/analytics/)
 * [Support Threads](https://wordpress.org/support/plugin/analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/analytics/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [holmberges](https://wordpress.org/support/users/holmberges/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-displaying-code/)
 * Status: not resolved