AMP extension doesn’t remove script tag
-
There’s a script tag that’s added on every page by our theme including AMP pages. We were hoping this plugin extension for AMP could remove it from AMP pages but the issue seems to persist. This script tag is keeping our AMP pages from being indexed by Google.
Example URL is below:
The script tag appears just above the closing body tag:
<script type=”text/javascript”>(function() {window.addEventListener(“load”,function(){var elem = document.getElementById(“thegem-preloader-inline-css”); if (elem!==null) setTimeout(function() {elem.parentNode.removeChild(elem)}, 300); });})();</script>
Is the plugin AMP extension designed to deal with this sort of issue? All help appreciated.
The page I need help with: [log in to see the link]
The topic ‘AMP extension doesn’t remove script tag’ is closed to new replies.