contact form 7 redirect plugin after submit code example
Example: contact form 7 redirect after submission without a plugin
<script>
document.addEventListener( 'wpcf7mailsent', function( event ) {
location = 'http://example.com/';
}, false );
</script>