How to add google analytics conversion tracking on contact form 7
-
Hi, i would like to know how to add javascript code from google analytics to track conversion every time that someone click to submit button. Thank you ??
Contact Form 7 Version 4.4.2
I inserted
on_sent_ok: “ga(‘send’, ‘event’, ‘Contact Form’, ‘submit’ , ‘Contact me’);”
and wordpress did not display “Your message was sent successfully. Thanks.”.I inserted
<script>on_sent_ok: “ga(‘send’, ‘event’, ‘Contact Form’, ‘submit’ , ‘Contact me’);”</script>
and wordpress displayed “Your message was sent successfully. Thanks.”.Is there any other solution that I can try?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to add google analytics conversion tracking on contact form 7’ is closed to new replies.