Title: Removed Plugin &#8211; Still injecting code
Last modified: November 18, 2019

---

# Removed Plugin – Still injecting code

 *  Resolved [daveystarr](https://wordpress.org/support/users/daveystarr/)
 * (@daveystarr)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/removed-plugin-still-injecting-code/)
 * I have de-activated and uninstalled your plugin, but it is still injecting code
   into all my pages on the site. In addition to that, it seems to be also stripping
   my new Google Tag Manager code out, so I am not able to add any new code.
 * I know it’s your code because this is what it looks like when I inspect the page:
 * <!– BEGIN ExactMetrics v5.3.9 Universal Analytics – [https://exactmetrics.com/](https://exactmetrics.com/)–
   >
    <script> (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||
   function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(
   o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(
   a,m) })(window,document,’script’,’[https://www.google-analytics.com/analytics.js&#8217](https://www.google-analytics.com/analytics.js&#8217);,’
   ga’); ga(‘create’, ‘UA-59905145-1’, ‘auto’); ga(‘send’, ‘pageview’); </script
   > <!– END ExactMetrics Universal Analytics –>
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremoved-plugin-still-injecting-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [themightyant](https://wordpress.org/support/users/themightyant/)
 * (@themightyant)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/removed-plugin-still-injecting-code/#post-12166669)
 * Does your site have a caching plugin enabled or your server have caching enabled?
   This is the most likely cause. Alternatively has the theme been amended to hard
   code this into the theme files?
 * If the plugin is disabled this will not appear in normal circumstances.
 *  Plugin Author [chriscct7](https://wordpress.org/support/users/chriscct7/)
 * (@chriscct7)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/removed-plugin-still-injecting-code/#post-12167319)
 * Yeah like the person above said, it sounds like you’re using a caching plugin
   or service, because a WordPress plugin can’t add code after it’s uninstalled….
   it’s not possible.
 * It’s likely your caching plugin is still serving a version of your page prior
   to when you deactivated it, thus also why your GTM container isn’t appearing.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Removed Plugin – Still injecting code’ is closed to new replies.

 * ![](https://ps.w.org/google-analytics-dashboard-for-wp/assets/icon.svg?rev=2243225)
 * [ExactMetrics - Google Analytics Dashboard for WordPress (Website Stats Plugin)](https://wordpress.org/plugins/google-analytics-dashboard-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-dashboard-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-dashboard-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-dashboard-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-dashboard-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-dashboard-for-wp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [chriscct7](https://wordpress.org/support/users/chriscct7/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/removed-plugin-still-injecting-code/#post-12167319)
 * Status: resolved