Passing Google Analytics tags as text into a jotform field

  • Profile Image
    Asked 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. 

    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?

  • Profile Image
    Answered 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. 

    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: 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 on December 06, 2016 at 03:41 PM

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

  • Profile Image
    Answered 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!