Hello,
I wanna add that Javascript snippet in my header.php. Can anyone help me please?
Here’s the javascript I wanna add.
< script type=“text/javascript”>
document.addEventListener( ‘wpcf7mailsent’, function( event ) {
location = ‘YOUR URL’;
}, false );
Here’s what I see when I go to the theme editor

Thanks