How to add google analytics goal tracking code in thank you page?

  • nvwm
    Asked on February 17, 2016 at 5: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?

  • Ashwin JotForm Support
    Replied on February 18, 2016 at 2: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!