If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Hello, I am trying to find a way, how to add event handler to the submit button in contact form in this theme.
I would like to track, when users successfully submit my contact form in Google Analytics. Could you please give me some hints? I know one way that I can do that. to add onClick method to the button, and provide necessary _gaq push method. But where I can locate the code for submit button? Or maybe you know better solution?
Perfect solution for me, would be to add an event when your ajax method fires, if form was sent successfully!
The topic ‘Contact form submit button event handler’ is closed to new replies.