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

    Track form submissions in Google Analytics

    Asked by echoim on March 04, 2011 at 06:48 PM

    Hello,

    We'd like to know if its possible to track form submissions as completing a goal in Google Analytics.  We know we can track the page but we need to track after the form is submitted to show they completed that goal.  Thanks!

    custom thank you HTTP POST Google Analytics
  • Profile Image

    Answered by DanielGriffin on March 07, 2011 at 09:16 AM

    Hi there,

    To do this you would need to submit the form to your own custom thank-you page, and have the analytics code record it for you there.  You can also send any data you need to that thank-you page by POSTing it.

    1. In the form builder click the Thank You button and select Custom URL

    2. Next select Preferences, Advanced Settings and change the setting for Send Post Data to "Yes".

    Thanks,

    Daniel

  • Profile Image

    Answered by Mrkay on August 08, 2013 at 06:04 AM

    Hi,

    Instead of using goal tracking. I'd like to use Google Analytics Event Tracking on the submit button. However, due to the way the form is placed onto the site it is not possible to add the following code on the buuton:

    http://greatgrass.co/how-to-install-artificial-grass

    <a onclick="_gaq.push(['_trackEvent', 'resources', 'Email', 'full measure and install guide', 1, true])

     

    Thanks

  • Profile Image

    Answered by jefreylandicho on August 08, 2013 at 08:44 AM

    This might be possible by using form source code. Please follow the step below to install the event tracking on the submit button.

    1. Download the form Source Code.

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

    <button id="input_2" type="submit" class="form-submit-button">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.

    If you need further assistance, please contact us again.

  • Profile Image

    Answered by foxbox25 on October 25, 2013 at 09:19 AM

    Mrkay, did the solution above work for you in the end? I've tried copying the above in to a jot form source code and although the form functions on my site I'm not getting any results displayed in google analytics. Did you have to add any other code elsewhere on the page to push the info to GA or have I just made a balls up of copying?!

     

    Many thanks,

     

    Mark

  • Profile Image

    Answered by Mrkay on October 25, 2013 at 09:24 AM

    What is it your trying to do? @foxbox52

     

    We ended up using Goal tracking. We split the form up so they could choose option A, B, C. Each option would land on its very own thankyou page which is then tracked by a goal you can set up in GA and name it what you like.

     

    Much easier.

     

    Event tracking is used more to look at events that you can't track once they have been clicked for example a download of a file off your website. Using an event tracking code aknowledges the download and doesnt count the redirect (usually to a hosting area on the site) as a bounce. It means your exit data is much more accurate.

     

    Hope that helps

     

  • Profile Image

    Answered by foxbox25 on October 25, 2013 at 09:48 AM

    Thanks for the reply! We run a holiday cottage business and I've built our site using wix. It's html5  and accommodates GA to record visitors etc to the site but I can't attach GA code to indivdual buttons, pages etc due to the way the site builder works. I currently use a jotform as the original forms on wix were a bit rubbish and I've never got round to moving back to them.

     

    Anyway what I want to try to do is to track which referals to my site by advertising agencies result in an enquiry form submission. I can already see how long visitors stay on the site, pages they view etc with the standard GA offering but beyond setting goals around these metrics I can't get at who actually creates enquiries rather than just traffic if you see what I mean. My hope was that the suggestion above would allow GA to log the submission of my jotform and then me be able to see which site referred that visitor to me in the first place. Asking guests where they found us in person, via email or on a form inevitably results in "on the internet" as a response and I'm trying to get a bit closer than that!

     

    The wix site builder allows me to insert html on to my page but doesn't allow me to play with the html siting behind the page (if that makes sense) to add tags etc.

     

    Many thanks for taking the time to reply, our site is www.meadowviewcottages.co.uk if seeing the context of the form helps at all.

  • Profile Image

    Answered by EliezerN on October 25, 2013 at 11:15 AM

    @foxbox25

    Our support staff will be more than glad to assist so that you can accomplish what you need. In order to give you the proper assistance to you particular request we would appreciate if you open a new thread to post your question. That will allow us to better understand your requirements, it could be that the solution that worked for Mrkay  does not work for your case. So, once you post your question in a new thread we will do our best to help you to accomplish what you need.

    Thanks

  • Profile Image

    Answered by Carina on May 11, 2015 at 03:11 PM

    Sorry for the delay in getting back to you, but finally we have some good news. Today we launched Form Analytics, a new feature that will let you know how your form is being received:

    Form Analytics

     jotform form analytics

    You can see here more details:
     
    Let us know if we can assist you further.
  • Profile Image

    Answered by PearsonUK-forms on May 28, 2015 at 05:39 AM

    It looks awesome but can we pass the same information to google analytics. Cross domain integration using iframe and tracking analytics is very difficult using jotforms. I am struggling with this for months.

    Is there a good news Jotform??
  • Profile Image

    Answered by Carina on May 28, 2015 at 09:31 AM

    @PearsonUK-forms

    I moved your question to a new thread so it can be addressed by our team:

    http://www.jotform.com/answers/577643 

    Let us know if we can assist you further.   

  • Profile Image

    Answered by Simon king  on May 04, 2016 at 10:47 AM

    i read all thing very carefully it my website much https://www.cheapgrass.co.uk/

    thanks for share answer 

  • Profile Image
    JotForm Support

    Answered by david on May 04, 2016 at 11:46 AM

    Very welcome, glad things are working the way you would like.  If there is anything we can assist you with, please create a new thread and we will be happy to help.