Custom Contact Forms
Track form submission on submit click using Google Analytics (3 posts)

  1. article89
    Posted 4 years ago #

    By using google analytics. I'm trying to track the number of times the form submit button is clicked.

    If this is the code I need to use, where do I insert it?

    onClick="_gaq.push(['_trackEvent', 'Form', 'SubmitClick']);"

    If it's not the code, what is the right code and where do I insert it?

    Thanks in advance!


  2. i3v
    Posted 3 years ago #

    Contact form 7 seem to enable such a feature:

    Though, I, myself, can't see any effect, there's 0 google analytics goals.. Maybe I'm doing something wrong.

  3. article89
    Posted 3 years ago #

    Hey i3v, thanks for the response. I've been looking for an answer for very long now. If I knew PHP in depth I'd probably be able to make it work. I found a similar solution to the one you suggested but the problem is that I don't have a page where the user lands after submitting a form nor do I have change in the URL to make it trackable. It all happens in the same page.

    But thanks again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Contact Forms
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic