document.addEventListener('wpcf7mailsent', function( event ) { location = 'http://ecomade.rs/kontakt/'; }, false );