Scorpion Control in San Antonio

document.addEventListener( 'wpcf7mailsent', function( event ) { if ( '190' == event.detail.contactFormId ) { // Sends sumissions on form 947 to the first thank you page location = '/thank-you/'; } }, false ); document.addEventListener( 'wpcf7mailsent', function( event ) { if ( '343' == event.detail.contactFormId ) { // Sends sumissions on form 947 to the first thank you page location = '/thank-you-2/'; } }, false );