Support » Plugin: Custom Contact Forms » [Plugin: Custom Contact Forms] Track form submission on submit click using Google Analytics

  • article89

    (@article89)


    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!

    http://wordpress.org/extend/plugins/custom-contact-forms/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Contact form 7 seem to enable such a feature:
    http://contactform7.com/tracking-form-submissions-with-google-analytics/

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

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Custom Contact Forms] Track form submission on submit click using Google Analytics’ is closed to new replies.