Title: Google AMP validation error: component &#8216;script&#8217; tag missing
Last modified: August 13, 2020

---

# Google AMP validation error: component ‘script’ tag missing

 *  [diermez](https://wordpress.org/support/users/diermez/)
 * (@diermez)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/google-amp-validation-error-component-script-tag-missing/)
 * After activate the plugin, I have many amp errors in different pages, from google
   search control like :
    A tag on this page requires an AMP component ‘script’ 
   tag, which is missing A required AMP HTML tag is missing from this document A
   tag was found outside the document header that is only allowed as a direct child
   tag of the document. …
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-amp-validation-error-component-script-tag-missing%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [weeblrpress](https://wordpress.org/support/users/weeblrpress/)
 * (@weeblrpress)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/google-amp-validation-error-component-script-tag-missing/#post-13250796)
 * Hi
 * You seem to have customized this AMP page a lot. From just looking at the source
   code I can spot the following:
 * 1 – Make sure you disable WP Rocket on AMP pages. WP Rocket is inserting invalid
   content in your pages
    2 – Same for Analytics. Disable on AMP pages whatever 
   code or plugin you have for analytics and strictly only use the Analytics provided
   by weeblrAMP (full version) 3 – There is also some custom CSS, likely added by
   Elementor. Not sure how you can remove it without also disabling Elementor on
   AMP pages but in that case you’ll miss the elementor content. The full version
   of weeblrAMP has support for Elementor, that is it can read the Elementor content–
   but of course, it cannot recreate all the Elementor widgets on an AMP page so
   some customization is expected.
 * Best regards

Viewing 1 replies (of 1 total)

The topic ‘Google AMP validation error: component ‘script’ tag missing’ is closed
to new replies.

 * ![](https://ps.w.org/weeblramp/assets/icon-256x256.png?rev=2308087)
 * [AMP on WordPress - weeblrAMP CE](https://wordpress.org/plugins/weeblramp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/weeblramp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/weeblramp/)
 * [Active Topics](https://wordpress.org/support/plugin/weeblramp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/weeblramp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/weeblramp/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [weeblrpress](https://wordpress.org/support/users/weeblrpress/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/google-amp-validation-error-component-script-tag-missing/#post-13250796)
 * Status: not resolved