document.addEventListener( 'wpcf7submit', function( event ) { if ( 'wpcf7-f761-p286-o1' == event.detail.contactFormId ) { var trd_img = new Image(1,1); trd_img.src = 'https://prod.trendemon.com/apis/loadflame/pixel?user_id=1970&conv_id=3163 https://prod.trendemon.com/apis/loadflame/pixel?user_id=1970&conv_id=3163 '; } }, false );