Title: User-authored JavaScript found on page
Last modified: March 2, 2017

---

# User-authored JavaScript found on page

 *  [ectoplasm123](https://wordpress.org/support/users/ectoplasm123/)
 * (@ectoplasm123)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/user-authored-javascript-found-on-page/)
 * Hi, the plugin works great, seems to be the only one that actually works without
   a million errors on it.
 * Anyways, I’m suffering this this one single issue so my page isn’t being validated
   on google amp. It’s this “User-authored JavaScript found on page”
 * when I go to find out whats causing it, it’s this. Any ideas people? thank you!!
 * The tag ‘script’ is disallowed except in specific forms. 1 instance in total
 * <script>
    (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){(
   i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,
   m) })(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);
 *  ga(‘create’, ‘UA-xxxxxxx’, ‘auto’);
    ga(‘send’, ‘pageview’); </script><meta 
   name=”msvalidate.01″ content=”fbe25c9bec6b4654947ecd579ad201bb”/> <script type
   =”application/ld+json”> { “@context”: “[http://schema.org&#8221](http://schema.org&#8221);,“
   @type”:”Person”, “url”: “”, “name”:”Ectoplasm”, “jobTitle”:””, “description”:””,“
   potentialAction”: { “@type”: “SearchAction”, “target”: “[http://blank.com?s=](http://blank.com?s=){
   search_string}”, “query-input”: “required name=search_string” }, “sameAs”: [“
   [https://twitter.com/blanke&#8221](https://twitter.com/blanke&#8221);,”[https://www.facebook.com/blank”%5D](https://www.facebook.com/blank”%5D)}
   </script>
    -  This topic was modified 9 years, 2 months ago by [ectoplasm123](https://wordpress.org/support/users/ectoplasm123/).

The topic ‘User-authored JavaScript found on page’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/better-amp_635660.svg)
 * [Better AMP - WordPress Complete AMP](https://wordpress.org/plugins/better-amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-amp/)
 * [Active Topics](https://wordpress.org/support/plugin/better-amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-amp/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ectoplasm123](https://wordpress.org/support/users/ectoplasm123/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/user-authored-javascript-found-on-page/)
 * Status: not resolved