Segmenting form submission sources

  • easyf
    Asked on January 23, 2015 at 2: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

  • easyf
    Replied 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.

  • Welvin Support Team Lead
    Replied on January 24, 2015 at 4: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

  • easyf
    Replied on January 25, 2015 at 1: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