Can I include script in your thank you page?

  • goshow
    Asked on June 20, 2016 at 6:49 AM

    We are using your thankyou page at present when users complete the form. And we would like to include a facebook pixel in there (with javascript) to track conversions. But from what I can tell everytime I include javascript it gets stripped out.


    Is there any way to achieve this without going to hosting in our own site?

  • Welvin Support Team Lead
    Replied on June 20, 2016 at 9:04 AM

    Unfortunately, scripts are not allowed in any part of the form including the default thank you page. We did this for security reasons. A workaround would be to create a custom thank you HTML or a page in your website and add the script there. Add this as your custom thank you URL in the form:

    https://www.jotform.com/help/38-Redirecting-Users-to-a-Different-Page 

    This will require you to host the page on your website.