article89
Member
Posted 11 months 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!
http://wordpress.org/extend/plugins/custom-contact-forms/
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.
article89
Member
Posted 9 months 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.