Viewing 14 replies - 1 through 14 (of 14 total)
  • 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.

    Thread Starter sureno

    (@sureno)

    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.

    Thread Starter sureno

    (@sureno)

    Thanks again

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hey @sureno

    This code surely is from Mailchimp. So are you using any Mailchimp plugin or adding some mailchimp code?

    Regards,
    Ahmed

    Hi @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 this

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hey @lofesa

    Yes, that’s true. I just wanted to double check with him so that we can test it extensively.

    Regards,
    Ahmed

    Thread Starter sureno

    (@sureno)

    Hi @ahmedkaludi,

    Yes, this is mailchimp code.

    Thanks a lot again,

    Hey @sureno

    can you exactly tell me the name of the plugin that is adding this or are you adding it anywhere ??

    also please enable AMP on this page for few hours

    Regards
    Khaled

    • This reply was modified 9 years, 3 months ago by Khaled.
    Thread Starter sureno

    (@sureno)

    Hi @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
    Khaled

    Hey @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
    Khaled

    Thread Starter sureno

    (@sureno)

    Thanks 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

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘AMP page shows code’ is closed to new replies.