Insert a Javascript snippet on header.php

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

@MrTyree Can you help me please?

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.