Tracking successful clicking on the button (Google Analytics)

  • Profile Image
    Mosflat
    Asked on September 22, 2015 at 04:40 AM

    Hello!

    Is there a possibility to track clicks on the button for google analytics?

    In other words can i add javascript event (onclick, onsubmit) to the button???

    With best regards!

  • Profile Image
    Boris
    Answered on September 22, 2015 at 09:00 AM

    We do not allow adding custom JavaScript into your forms, but we do have a Google Analytics widget that you can add to your form. (manual: How to Add a Widget to your Form)

    We also have Form Analytics directly in Jotform, as well as other analytics widgets, which may be of help.

    If these tools are not enough for your needs, you can also download the source code of your form, and add your scripts directly into the source code. The down-side of this method is that you will have to download the source and modify it manually each time that you make changes or updates to your online form in JotForm.

    I hope this helps. Please let us know if you need further assistance.