Support » Plugin: CF7 to Zapier » redirect to a page after sent

  • Resolved Marius


    hi, works great but i use:

    document.addEventListener( 'wpcf7mailsent', function( event ) {
             if ( '2187' == event.detail.contactFormId ) {
        location = '';
    }, false );

    to redirect after sent.

    after using your plugin redirect to a page after sent not working anymore, what i need to change?
    i have try to on/off “Send CF7 mail as usually” but is the same.


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mario Valney


    Hi @mmichtus,how are you doing?

    I’ll make some tests and will provide a solution soon.
    By this time, can you provide the link to your CF7 if it’s available, please?


    Plugin Author Mario Valney


    I tested here (“Send CF7 mail as usually” is off) and the event is fired.

    Maybe CF7 Id changed?

    sorry, my mistake i have test this on staging (and i have removed the scripts from there). everthing works great. thank you for your time.

    Plugin Author Mario Valney


    It’s OK 😀

    Thank you for your review.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘redirect to a page after sent’ is closed to new replies.