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.
Since it is not possible to embed script in the thank you page (filtered for security reasons). I suggest to try my colleague's suggestion on this thread https://www.jotform.com/answers/30225.
Then paste it on your thank you message, source code window. Example:
On a side note, you may want to consider the Jotform Form Analytics https://www.jotform.com/form-analytics/.