Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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!

    Thanks!

    • This topic was modified 5 months, 3 weeks ago by  PPjev.
    #234212
    #234325
    This reply has been marked as private.
    #234332

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

    #234345

    You are welcome, glad we could help :)

    Regards,
    
Josue

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

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