Track form submissions in Google Analytics

  • Profile Image
    Asked on March 04, 2011 at 06:48 PM


    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!

  • Profile Image
    Answered 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".



  • Profile Image
    Answered on August 08, 2013 at 06:04 AM


    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:

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



  • Profile Image
    Answered 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,



  • Profile Image
    Answered 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 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 if seeing the context of the form helps at all.

  • Profile Image
    Answered 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 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 on May 28, 2015 at 09:31 AM


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

    Let us know if we can assist you further.   

  • Profile Image
    Simon king 
    Answered on May 04, 2016 at 10:47 AM

    i read all thing very carefully it my website much

    thanks for share answer 

  • Profile Image
    Answered 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.

  • Profile Image
    Answered on March 20, 2017 at 12:21 PM

    I am not getting there with this for some reason. I have got the custom page configured, when I use the form it is going there. I have post data set to yes but when I try to verify in GA it says it has not been used, which it definitely has been. Any ideas?

  • Profile Image
    Answered on March 20, 2017 at 01:32 PM

    Depending on your needs, you can simply use the Google analytics widget in your form:

    Or simply add your tracking script to your custom thank you page.

    The suggestion made in this thread is if you need to handle passing form data to Google Analytics. 

    If there is something I am missing, if you wouldn't mind creating a new thread describing the setup you are trying to achieve, we will be happy to see what we can do: