• I´m using severeal contact forms on my website and I integrated the script

    <script>
    document.addEventListener( 'wpcf7mailsent', function( event ) {
        ga('send', 'event', 'Contact Form', 'submit');
    }, false );
    </script>

    to track their submisson with GA.

    This works fine, but is there a possibilty to exclude a certain form?

    I know that I could use if-else in the header-section to exclude certain pages, but this won´t work, as it could be that there are two forms on one page and one should be tracked, but not the other?

    Thx!

  • The topic ‘Don´t track a specific form’ is closed to new replies.