Support » Plugin: AMP for WP - Accelerated Mobile Pages » redirection and amp test

  • Hi

    Thanks for your plugin.
    2 issues i have : redirection upon from submit and amp test failure.

    1/ redirection upon from submit

    The form is send : ok
    But the redirection is not successful
    Nothing is happening visitor side.

    Look below what i use to use redirection from submit button for CF7

    <script>
    document.addEventListener( ‘wpcf7mailsent’, function( event ) {
        location = ‘https://mywebsite.com/thankyoupage/&#8217;;
    }, false );
    </script>

    2/ Amp test 

    The amp is not valide :https://search.google.com/test/amp?id=6ELnuTOY-RenljrTqDbOmg

    Look also here : https://www.screencast.com/t/zJWAMFPD65jV

    Thanks for the help

Viewing 1 replies (of 1 total)
  • Hi,

    Ok the point 2 have been fixed through another way :
    need to add some code here :http://take.ms/EQ8nV
    code <script async custom-template="amp-mustache" src="https://cdn.ampproject.org/v0/amp-mustache-0.1.js"></script>

    Now remain the other one regarding redirection upon submission

    Regards

    • This reply was modified 1 year, 10 months ago by moz261.
Viewing 1 replies (of 1 total)
  • The topic ‘redirection and amp test’ is closed to new replies.