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

    Passing Google Analytics tags as text into a jotform field

    Asked by jdt3901 on December 06, 2016 at 10:50 AM

    We have payment and salesforce integrations on a jotform, and we use Google Analytics to build google tags into our form URL, using Google's URL builder. 

    I would like to pass the tags as text into hidden fields on the form, so when the leads are sent to salesforce, we have them in fields on the lead record. Is this possible? Just to be clear, my question is whether I can pass the value of the GA tags into hidden jotform fields without having to alter the URL that Google's URL builder is giving me.

    I know how to pass a URL to a hidden field. Here's an example:

    Here I'm passing "ye1" to a hidden field.

    https://form.jotform.com/63403671578158?input51=ye1 

    Google tags have standard names: "utm_campaign" is one of them. Is it possible to get Jotform to read "utm_campaign" as a hidden field name and fill in whatever value follows it?

    Page URL:
    https://form.jotform.com/63334475371154

  • Profile Image
    JotForm Support

    Answered by Welvin on December 06, 2016 at 12:37 PM

    Please try using the textbox field and hide it through its properties. Then, change its field name. Check if this works. 

    https://www.jotform.com/help/146-How-to-find-field-IDs-and-names 

    Note, Jotform has a prefix in the field names so you might want to configure that in your own builder. If you cannot get this to work then I'm afraid this is not possible.

    Another workaround would be to get the source codes and change it's field name there: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form. You have to embed the source codes after since there is no way you can import it back in the form builder.

    Let us know if you need any further assistance.

  • Profile Image

    Answered by jdt3901 on December 06, 2016 at 03:41 PM

    I think what you suggested is working. Thanks, Welvin.

  • Profile Image
    JotForm Support

    Answered by Nik_C on December 06, 2016 at 06:10 PM

    On behalf of my colleague, you're welcome!

    Do not hesitate to contact us if you have any further questions.

    Thank you!