We love AJAX, we don't love tracking its behaviour, find out how easy this can be in our video tutorial.

Video toolkit;

Contact form 7 DOM Events; – https://contactform7.com/dom-events/

Contact Form 7 Event Listener:

<script>
document.addEventListener( ‘wpcf7mailsent’, function( event ) {
window.dataLayer.push({
“event” : “cf7submission”,
“formId” : event.detail.contactFormId,
“response” : event.detail.inputs
})
});
</script>