Event Listener code
-
I want to track conversion when a form (created with WPforms) is sent.
If I was using Contact 7 forms the code would be:
<script>
document.addEventListener( ‘wpcf7mailsent’, function( event ) {
gtag(‘event’, ‘conversion’, {‘send_to’: ‘TRACKING-CODE-HERE’});
}, false );
</script>BUT, for design reasons, I want to use WPforms.
Can support please advise what should I use to replace ‘wpcf7mailsent’ ?
Thanks heaps
Mike
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Event Listener code’ is closed to new replies.