AMP page shows code
-
When try to visit https://fototrekking.com/contacto/lista-de-correo/amp/ the page shows code (as you see in pic).

Thanks a lot again,
-
Hi @sureno
This stuff is a js script. Plugin should strip (I don´t know why don´t do that)
This page never will work in apm version because the form need these java script to work and in amp version javascript are not allowed.
The isue for the dev team must be search why is not striped, you will not hope to get the email form in amp version.Lo que se ve es codigo javascript que deberia haber sido eliminado por el plugin, no esperes que el formulario funcione en la version amp, a lo sumo mostraria el texto estatico, pero no el formulario.
Muchas gracias/thanks a lot @lofesa
Maybe a possible solution is hide this AMP page?
Yes, it is. Maybe you can explore how to make an wmp-form to the amp version of the page, amp-form is a inluded js file that permit some form funtionalitys. But at the moment, disable amp for this page is a workaruond. Amp-forms need ssl, but you have it.
Puedes intentar crear un formulario con amp-forms y que ese formulario sea visible en la version amp, quizas con el custom amp content del plugin.
Thanks again
Hey @sureno
This code surely is from Mailchimp. So are you using any Mailchimp plugin or adding some mailchimp code?
Regards,
AhmedHi @ahmedkaludi
The point is that the plugin don´t strip some thing that is between <script> and </script> tags. I opened a github issue whit thisHey @lofesa
Yes, that’s true. I just wanted to double check with him so that we can test it extensively.
Regards,
AhmedHi @azmak,
Sure, It’s not a plugin generated code, it’s a code from mailchimp.
The AMP for this page is enable now.
Thanks a lot
Hey @sureno
can you please tell how to recreate this issue and also the url for the plugin your using for mailchimp
Regards
KhaledHey @sureno
I have gone through the URL ( https://fototrekking.com/contacto/lista-de-correo/amp/ ) you have given above, it seems fine, have a look here
If you need any help from my side to solve any such issues in future, please let me know
Regards
KhaledThanks a lot @azmak
Any idea about the time you realese form support for AMP?
Hey @sureno
Form is very complex in AMP version, I would say very soon we will have form support
Regards
khaled
The topic ‘AMP page shows code’ is closed to new replies.