Title: AMP?
Last modified: January 24, 2020

---

# AMP?

 *  Resolved [davidandrewsmithjr](https://wordpress.org/support/users/davidandrewsmithjr/)
 * (@davidandrewsmithjr)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/amp-37/)
 * Does it work with AMP??

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

 *  Plugin Contributor [gambitph](https://wordpress.org/support/users/gambitph/)
 * (@gambitph)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/amp-37/#post-12416982)
 * We’re still investigating AMP compatibility.
 * We’ll update you once we’ve fixed the AMP issues. 😊
 *  Plugin Contributor [gambitph](https://wordpress.org/support/users/gambitph/)
 * (@gambitph)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/amp-37/#post-12489621)
 * Setting this thread as resolved due to inactivity.
 *  [designative](https://wordpress.org/support/users/designative/)
 * (@designative)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/amp-37/#post-12910200)
 * I’m getting some validation errors from the AMP plugin:
 * “Arbitrary JavaScript is not allowed in AMP. You cannot use JS <script> tags 
   unless they are for loading AMP components (which the AMP plugin will add for
   you automatically). In order for a page to be served as AMP, the invalid JS code
   must be removed from the page. Learn more about how AMP works. As an alternative
   to using custom JS, please consider using a pre-built AMP functionality, including
   actions and events (as opposed to JS event handler attributes like onclick) and
   the amp-bind component; you may also add custom JS if encapsulated in the amp-
   script.
    If you remove the invalid markup then it will not block this page from
   being served as AMP. Note that you need to check what impact the removal of the
   invalid markup has on the page to see if the result is acceptable. If you keep
   the invalid markup, then the page will not be served as AMP.
 * Error code
    DISALLOWED_TAG Invalid markup <script … >
 * Element attributes
    src …/wp-content/plugins/stackable-ultimate-gutenberg-blocks/
   dist/frontend_blocks.js Element name script Parent element head

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

The topic ‘AMP?’ is closed to new replies.

 * ![](https://ps.w.org/stackable-ultimate-gutenberg-blocks/assets/icon-256x256.
   png?rev=2749547)
 * [Stackable - Page Builder Gutenberg Blocks](https://wordpress.org/plugins/stackable-ultimate-gutenberg-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stackable-ultimate-gutenberg-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stackable-ultimate-gutenberg-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/stackable-ultimate-gutenberg-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stackable-ultimate-gutenberg-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stackable-ultimate-gutenberg-blocks/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [designative](https://wordpress.org/support/users/designative/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/amp-37/#post-12910200)
 * Status: resolved