Question

AMP analytics error

  • Posted January 25, 2022
  • HTML

Hi, I’m not an html développer but manage a website. We ask a developer to create the web site an now, I only do some adjustment. I try to put some tap to be able to follow the list on my web site. After adding some line I have a lot of trouble site the google inspection AMP.

  • Custom Java Script not allow,
  • Tag is only allow in the body section
  • only amp-boilerplate and amp-custom style tag are allowed and only in the document head

I believe that was only like on the place were I put my amp analytic attribute, but can understand were to put what

Can some body help me by checking the html code on www.viafelica.ch (main page)

Thank in advance

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

The URL that you’ve shared does not seem to be loading on my end.

Can you share some more details for the site, like what platform was used to build the site?

If it was WordPress, I could suggest using a plugin for your AMP pages like this one here for example:

https://wordpress.org/plugins/accelerated-mobile-pages/

Best, Bobby