We'll create fresh WordPress site with GTM Code Visibility installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Allows admins to add Google Tag Manager code to your site and use it only when site is switched to “Search Engine Visibility”.
Use Settings->Reading: check/uncheck “Search Engine Visibility” and add code to “GTM code fields”.