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”: “https://schema.org”,
“@type”:”Person”,
“url”: “”,
“name”:”Ectoplasm”,
“jobTitle”:””,
“description”:””,
“potentialAction”: { “@type”: “SearchAction”, “target”: “https://blank.com?s={search_string}”, “query-input”: “required name=search_string” },
“sameAs”: [“https://twitter.com/blanke”,”https://www.facebook.com/blank”%5D}
</script>
- The topic ‘User-authored JavaScript found on page’ is closed to new replies.