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