Title: Container code missing for codeless injection
Last modified: August 22, 2018

---

# Container code missing for codeless injection

 *  Resolved [amueller](https://wordpress.org/support/users/amueller/)
 * (@amueller)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/container-code-missing-for-codeless-injection/)
 * Hello, when I set the option to insert the container code in the footer, it places
   the <noscript> tag near the footer as expected. However, when I set the codeless
   injection option, the <noscript> option does not appear anywhere in the html 
   code. Only the header script is there.
 * GTM still functions without the <noscript> tag, but Google Search Console won’t
   let me use GTM to verify ownership of the site without the <noscript> tag. I 
   had to insert a custom meta tag to verify ownership. I would prefer to verify
   with GTM if possible.
 * Any insight on why the <noscript> code is missing from the site with codeless
   injection?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcontainer-code-missing-for-codeless-injection%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * (@duracelltomi)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/container-code-missing-for-codeless-injection/#post-10616255)
 * Hi,
 * The codeless option hooks into the body_class() function so that the noscript
   tag can be added just after this opening body tag. Your site is missing this 
   function call, this is why you do not see it at all.
 * Please revise your theme code according to what you can see on this WP article:
   
   [https://developer.wordpress.org/reference/functions/body_class/](https://developer.wordpress.org/reference/functions/body_class/)

Viewing 1 replies (of 1 total)

The topic ‘Container code missing for codeless injection’ is closed to new replies.

 * ![](https://ps.w.org/duracelltomi-google-tag-manager/assets/icon-256x256.png?
   rev=1708451)
 * [GTM4WP - A Google Tag Manager (GTM) plugin for WordPress](https://wordpress.org/plugins/duracelltomi-google-tag-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duracelltomi-google-tag-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/container-code-missing-for-codeless-injection/#post-10616255)
 * Status: resolved