Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #234148

    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!


    • This topic was modified 1 year, 8 months ago by  PPjev.
    This reply has been marked as private.

    OK, i found what was the problem. I had to escape single quotations. Thanks!


    You are welcome, glad we could help :)


Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Contact form submit button event handler’ is closed to new replies.