Can I integrate the form with Google Analytics event tracking?

This documentation page is for Quform version 1 and may not be applicable for Quform 2 click here to visit the documentation for Quform 2.

Yes. Add the event tracking script in the Form Builder at Settings → General → Successful submit options → Message. Add the code below your success message text.

Google Universal Anayltics

1
2
3
4
Your message has been sent, thanks.
<script>
ga('send', 'event', 'contact form', 'submission');
</script>
Your message has been sent, thanks.
<script>
ga('send', 'event', 'contact form', 'submission');
</script>

Old Google Analytics

1
2
3
4
Your message has been sent, thanks.
<script>
_gaq.push(['_trackEvent', 'contact form', 'submission']);
</script>
Your message has been sent, thanks.
<script>
_gaq.push(['_trackEvent', 'contact form', 'submission']);
</script>
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy