-
wstanRADAsked on April 5, 2017 at 4:21 PM
On my form, I'm trying to add some tracking code to the custom thank you page I have setup from the conditional logic. I place the code, hit OK and save. When I go back in to the file to check that the code is there, it's missing. Can I not add code to the thank you page?
-
Kevin Support Team LeadReplied on April 5, 2017 at 6:35 PM
Unfortunately, it's not possible to add JavaScript code and most of the HTML tags are not allowed either, this is why you can see the code removed when you re-open the wizard, in fact, you cannot add JavaScript code in the Form Builder.
You would need to redirect your user to a different page where, hosted on your own server, where you will have your own tracking code.
Here's also a guide that will help you to conditionally change the thank you page with conditions: https://www.jotform.com/help/317-Change-Thank-you-URL-Based-on-a-Condition
Hope this helps.