document.addEventListener('wpcf7mailsent', function( event ) { location = 'https://ditlevsenhumandevelopment.dk/mange-tak/'; }, false );