What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Tracking successful clicking on the button (Google Analytics)

    Asked by Mosflat on September 22, 2015 at 04:40 AM


    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!

    Page URL:

  • Profile Image

    Answered by Boris 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.