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

    How do I track form submits with Google Analytics?

    Asked by Alexander on October 12, 2013 at 02:18 PM

    How do I track form submits with Google Analytics?

     

    Thank you!

     

    --Alexander

    analytics form submits
  • Profile Image

    Answered by jedcadorna on October 12, 2013 at 06:02 PM

    Hi Alexander,

     

    This can be done by downoading your form source and embed the google analytics into your source code. 

    1. Get your form source

    2.Find the submit button syntax. e.g.

    <button id="input_7" type="submit" class="form-submit-button form-submit-button-simple_blue">

    SUBMIT

    </button>

     

    3. Edit the submit button and add the tracking code. e.g.

    <button id="input_2" type="submit" class="form-submit-button" onclick="_gaq.push(['_trackEvent', 'resources', 'Email', 'full measure and install guide', 1, true]" )>Submit</button>

     

    4. Replace the current embed code in your website with form Source code.

     

    Let us know if you have other questions.

    Thanks,