• Resolved rossbeechphotography

    (@rossbeechphotography)


    hi, I have errors on my amp page that I cant seem to fix.

    Custom JavaScript is not allowed

    it is affecting my pages not being found on google so I was wondering if anyone can help.

    here is the error

    <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-88565102-1’); ga(‘send’, ‘pageview’); </script>

    any help would be brilliant. I’m using elementor so not sure how to delete the error

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘AMP Custom JavaScript is not allowed’ is closed to new replies.