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.

  • Profile Image

    Run Script After Form Submission

    Asked by onepoint on January 30, 2012 at 11:38 AM

    Hey guys,

    Right now I presently have our form re-directing to a thank you page on our website. With the latest version of our form swapping over to a light box, I would like to integrate the thank you message back into the form for a clean look.

    If I place our conversion tracking script (through google) into the thank you message, will jotform allow it execute upon completion of the form? Also, since the form is hosted with jotform, will google be able to track the script?

    Thanks for the help guys, you've been great!

    Page URL:

  • Profile Image
    JotForm Support

    Answered by NeilVicente on January 30, 2012 at 12:06 PM


    It is not possible to insert scripts on a form's 'built-in' thank you message, but you can use the tracking pixel codes such as this:

    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1021225130/?label=_pcNCI7-1gIQqtH65gM&amp;guid=ON&amp;script=0"/>

    Tracking pixel codes are found together with your conversion script codes. These are provided by Google in case JavaScript is not enabled in a user's browser.

    So far, our users have not had any problems with using this method. Try it and see if it suits your needs.