Support » Plugin: AMP for WP - Accelerated Mobile Pages » Webmasters Error on ALL PAGES!

  • Google Webmasters is highlighting the code below on ALL of my pages on my website with the error message””The script tag contains invalid JSON that cannot be parsed. Status: Warning.”

    Please look into this before the warning becomes bigger problem!

    Thanks!

    <script type="application/json">{"vars":{"account":"UA-60126084-1"},"triggers":{"trackPageview":{"on":"visible","request":"pageview",},}} </script> </amp-analytics> <amp-pixel src="https://www.facebook.com/tr?id=1754826514753176&ev=PageView&noscript=1"></amp-pixel> <a id="scrollToTopButton" title="back to top" on="tap:backtotop.scrollTo(duration=500)" class="btt" ></a> <amp-animation id="showAnim" layout="nodisplay"> <script type="application/json">{"duration": "400ms","fill": "both","iterations": "1","direction": "alternate","animations": [{"selector": "#scrollToTopButton","keyframes": [{"opacity": "1","visibility": "visible"

    • This topic was modified 2 years, 7 months ago by sonnys.
Viewing 1 replies (of 1 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    That’s really strange,

    Can you please share the URL of your site where you are receiving the error?

Viewing 1 replies (of 1 total)
  • The topic ‘Webmasters Error on ALL PAGES!’ is closed to new replies.