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

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

    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: 

    Thank you!