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 to add google analytics goal tracking code in thank you page?

    Asked by nvwm on February 17, 2016 at 05:53 PM

    I'm trying to set up submissions to our form as a goal in GA. Our eNL Sign Up form is embedded in a sidebar, so the "thank you" page doesn't actually go to another page, it stays on the same URL. Do you know how I can set this up to track when someone hits Submit on the form?

  • Profile Image
    JotForm Support

    Answered by ashwin_d on February 18, 2016 at 02:34 AM

    Hello nvwm,

    Unfortunately it is not possible to add goal tracking in thank you message of your form. The only possibility is to create your own thank you page and add your goal tracking code. You can set your forms custom thank you URL to redirect to your own thank you page. The following guide should help you how to redirect users to your own page:  http://www.jotform.com/help/38-Redirecting-Users-to-a-Different-Page 

    You may also like to take a look at our "Form Analytics" feature and see if that fits into your requirement. You may also like to take a look at our blog post as well:  http://www.jotform.com/blog/150-Introducing-Form-Analytics 

    Thank you!