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

    Segmenting form submission sources

    Asked by easyf on January 23, 2015 at 02:08 PM

    Hi,

    I am sending traffic to my form from several different lead sources. Is there a way that I can set a parameter in the referring url which is pickup up by the form and passed on submission?

    For example, if the parameter is utm=trafficsource1 then when a visitor from that traffic source submits their info on my jotform the lead submission email/form will have a value leadsource = trafficsource1

     

    Thanks

    JotForm source different submission email
  • Profile Image

    Answered by Shadae on January 23, 2015 at 04:11 PM

    Hi easyf,

    To confirm, is your form located on different sites and you would like to know which sites your submissions are being sent from?

    If that is the case, you can view a work-around on this thread: http://www.jotform.com/answers/19992-How-Can-I-Differentiate-When-I-Use-the-Same-Form-on-Different-Sites 

    If you are only using the form on one location but have links to the form in different locations. You can provide users with the link using URL parameters on each site, to populate the hidden box with the information.

    http://www.jotform.com/help/71-Prepopulating-fields-to-your-JotForm-via-URL-parameters

    I hope this helps, please inform us if you need further assistance.

     

  • Profile Image

    Answered by easyf on January 24, 2015 at 12:40 AM

    Hi,

    The form is on one site and there are multiple sources referring to the one form. I want to track the referral source. I have created a hidden field per the instructions however it is not populating with the value I am passing in the url.

    The landing page with the form follows this format: http://www.example.com/landing-page/?leadsource=xyz

    in this example leadsource is the part of the hidden field name after the dash so the code looks like this name="q15_leadsource"

    When I navigate to the url I created and submit a form the email confirmation email does not have the proper xyz value for the lead source. It is blank.

  • Profile Image

    Answered by Shadae on January 24, 2015 at 07:50 AM

    Hi easyf,

    The format that the URL would take is http://www.example.com/landing-page/?{leadsource}=xyz

    You would use the "Name" option and not the "ID"

    Using the name without the brackets would cause the field not to populate.

    I hope this helps, please inform us if you need further assistance.

    Thank you.

  • Profile Image
    JotForm Support

    Answered by Welvin on January 24, 2015 at 04:20 PM

    If you have recently responded to this thread, unfortunately, it failed come here. Please access this thread and send your last message.

    http://www.jotform.com/answers/502262

     

    As for getting the referrer, you can use our Get Referrer Widget: http://widgets.jotform.com/widget/get_referrer.

    Here's how you can add a widget to your form: http://www.jotform.com/help/252-How-to-Add-a-Widget-to-your-Form. Try it and let us know for the result!

    Thanks

  • Profile Image

    Answered by easyf on January 25, 2015 at 01:05 AM

    Hi Shadae,

    I have implemented the url as per your instructions but it still doesn't populate the form. I have the form implemented on the page by copying and pasting the source code. Does that effect it at all?

    Welvin, the implementation you mention is not the one I'm looking for. I need to populate the form value based on the dynamic value passed in the url.

    Thanks

  • Profile Image

    Answered by Shadae on January 25, 2015 at 07:22 AM

    Hi easyf,

    Thank you for provide us with that additional information.

    Embedding your form using the full source code can prevent the parameters from being passed through the URL.

    Please try to using the iFrame embed method. How to Grab the iFrame Embed Code.

    I hope this helps, please inform us if you need further assistance.