Title: Cannot remove deprecated tag
Last modified: August 4, 2023

---

# Cannot remove deprecated tag

 *  Resolved [tom coady](https://wordpress.org/support/users/tomcoady/)
 * (@tomcoady)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cannot-remove-deprecated-tag/)
 * Under Site Kit > Settings > Tag Manager I see
 * An existing tag GTM-WPK4ZC7 was found on the page.
 * If you prefer to collect data using that existing tag, please select the corresponding
   account and property above.
 * After removing and reinstalling the plugin the drop down options have disappeared;
   on the [https://analytics.google.com/analytics/web](https://analytics.google.com/analytics/web)
   settings page there is a redundant property created by monster for the site with
   a www prefix which I don’t have.
 * When I search the site source code I can only find this old tag in the staging
   subdirectory
 * `grep -r WPK4ZC7 *
   stage/wp-content/themes/storefront-child/header.php:})(window,
   document,'script','dataLayer','GTM-WPK4ZC7');stage/wp-content/themes/storefront-
   child/header.php:
 *  the new tag is where is should be:
 * `grep -r 9LKKQE6B54 *
   Binary file wp-content/themes/storefront-child/.header.
   php.swp matcheswp-content/themes/storefront-child/header.php:})(window,document,'
   script','dataLayer','G-9LKKQE6B54');wp-content/themes/storefront-child/header.
   php:
 * How can I removed the old tag so the new valid tags is seen by GA?

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

 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cannot-remove-deprecated-tag/#post-16946543)
 * Thanks for reaching out [@tomcoady](https://wordpress.org/support/users/tomcoady/).
   Based on your description it sounds like you may have a Tag Manager snippet (
   GTM-WPK4ZC7) placed manually or via another plugin or your theme. So I can help
   you determine the source of this snippet, please share the following:
    1. Your[ Site Health information](https://i.imgur.com/Rtkmsba.png). You can[ use this form](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/)
       to share privately if preferred.  
    2. When you mention “_After removing and reinstalling the plugin the drop down 
       options have disappeared_” can you share what dropdown option you are referring
       to? Is this within another plugin or Site Kit? Feel free to share a screenshot
       or recording of your experience.
 * Note also that you can remove any Google Analytics tag within your connected 
   Tag Manager container. That way there will be no Analytics tracking on your site,
   and you can choose to connect your site with your preferred property using only
   Site Kit.
 * Let me know if you have any questions with the above.
 *  Thread Starter [tom coady](https://wordpress.org/support/users/tomcoady/)
 * (@tomcoady)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cannot-remove-deprecated-tag/#post-16946683)
 * When I look at the tag manager settings it offered another site, so I selected
   new, then re-fetch but this reverted to the no options account drop-down: [https://imgur.com/a/JabYvXV](https://imgur.com/a/JabYvXV)
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cannot-remove-deprecated-tag/#post-16946788)
 * Many thanks for sharing your Site Health information [@tomcoady](https://wordpress.org/support/users/tomcoady/).
   I can see from reviewing your site that you’re using Site Kit to placed your 
   analytics snippet and this is [tracking visits as expected](https://i.imgur.com/DtjghQt.png).
 * I also did notice your Tag Manager snippet which was not placed via Site Kit.
   This may possibly be placed via your active GTM4WP plugin, or inserted to your
   theme files.
 * From reviewing your site manually and using the [tagassistant.google.com](https://tagassistant.google.com)
   service I don’t see any issue with your non-Site Kit inserted Tag Manager snippet
   and your Site Kit inserted Analytics snippets.
 * Let me know if you have any further questions on this. If you do prefer to use
   Site Kit to place your Tag Manager snippet I would firstly check your GTMWP plugin
   and your theme for possible additions.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cannot-remove-deprecated-tag/#post-16946863)
 * > When I look at the tag manager settings it offered another site, so I selected
   > new, then re-fetch but this reverted to the no options account drop-down: [https://imgur.com/a/JabYvXV](https://imgur.com/a/JabYvXV)
 * From reviewing your Site Health information I don’t see Tag Manager connected
   within Site Kit. It’s not required to connect Tag Manager within Site Kit if 
   you prefer to keep your non-Site Kit inserted Tag Manager container.
 * If you do wish to use Site Kit to insert your Tag Manager container, and you 
   don’t see your preferred container ID, let me know and I’d be happy to troubleshoot
   this with you. One cause may be that the Google account you used to set up Site
   Kit does not have access to the Tag Manager account that’s currently connected.
 * Do let me know anyway if you prefer to use Site Kit to place your Tag Manager
   snippet, if you’re happy to continue to use the current connected container (
   which is not placed by Site Kit), or if you wish to determine the source of your
   non-Site Kit placed Tag Manager snippet.
 *  Thread Starter [tom coady](https://wordpress.org/support/users/tomcoady/)
 * (@tomcoady)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cannot-remove-deprecated-tag/#post-16947315)
 * OK many thanks for your prompt and insightful assistance, I’ve managed to get
   analytics working perfectly now and I have disabled the GTM4WP plugin which was
   useful but now made redundant by Site Kit.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/cannot-remove-deprecated-tag/#post-16947568)
 * Glad to hear all is working and configured as you wish [@tomcoady](https://wordpress.org/support/users/tomcoady/).
   If you have any further Site Kit related queries be sure to reach out.

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

The topic ‘Cannot remove deprecated tag’ is closed to new replies.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

## Tags

 * [remove tag](https://wordpress.org/support/topic-tag/remove-tag/)

 * 8 replies
 * 2 participants
 * Last reply from: [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/cannot-remove-deprecated-tag/#post-16947568)
 * Status: resolved