gtag event needs updating?
-
https://contactform7.com/tracking-form-submissions-with-google-analytics/ uses the old Google Analytics code. The new GA code uses Google Tag Manager and gtag. This is a problem bc this uses ga and doesn’t seem to be recording conversions:
<script>
document.addEventListener( ‘wpcf7mailsent’, function( event ) {
ga(‘send’, ‘event’, ‘Contact Form’, ‘submit’);
}, false );
</script>The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘gtag event needs updating?’ is closed to new replies.