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

    where in the source code do I put google analytics tracking?

    Asked by nywebdev on November 09, 2012 at 02:12 PM

    I am trying to test 3 different form flows and have my site randomly 1 of 3 different forms every time it loads. Where in the source code do I add seperate google analytics tracking to each form?

  • Profile Image

    Answered by fxr on November 09, 2012 at 03:22 PM

    Are the forms being embedded onto exactly the same web page or 3 different ones? 

    If its 3 different ones, I would just put the analytics code on the actual webpage(s) hosting the forms. 

  • Profile Image

    Answered by nywebdev on November 14, 2012 at 02:00 PM

    the forms are being embedded all on the same URL, but they are in individual posts (using wordpress).  the posts are randomly chosen with each page visit/refresh.  we want to track each individual form separately on the one URL to determine which one performs the best.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on November 14, 2012 at 03:05 PM


    I think you will need to add two goals to your campaign - one for when the individual form loads and the other on the form's thank you page/message. Since you will be testing conversion for three different forms, you will need to add individual tracking codes on the separate posts that contain the forms.

    The conversion goal tracking will have to be placed on the form's thank you page/message. Since the default thank you page/message cannot accept scripts, a tracking pixel should suffice.

    If you're okay with adding a custom Thank You URL (self-hosted page), then you can use the longer version of the tracking script.

    You can find more information here: