Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter asnh

    (@asnh)

    Solved this by adding custom JS to the page using Visual composer

    majority

    (@majority)

    I have the same problem exactly. The support article you link to assumes that the ONLY reason for a URL redirect would be for Google Analytics, which is just plain wrong!

    Can you please explain how you added the JS with Visual Composer?

    Thanks
    Mike

    Thread Starter asnh

    (@asnh)

    I agree there is other reasons for it, too!

    Sure!
    On the page I created a new element in Visual Composer called “Raw JS” and I added this code in there

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

    Hope this helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect after form submission’ is closed to new replies.