How can I track completed forms that have been referred from another website?

  • Profile Image
    annette7061
    Asked on March 27, 2011 at 10:17 AM
  • Profile Image
    allanftd
    Answered on March 27, 2011 at 12:38 PM

    Hi annette7061,

    Thank you for contacting us regarding your concern. Do you mean you want to identify which page the enquiry form that your visitor has filled out came from? If it is, please follow these steps: 

    1) Open your form in editing

    2) On the left accordion menu put a hidden field on your form (on Power Tools> Hidden box)

    3) Change the label of your field to "pageAddress"

    4) Save your form.

    5) Take the full source code of your form (Share>Advanced Options> Full Source code)

    6) There should be a similar line below right before the tag </form> starting with

    <input type="hidden" class="form-hidden" ...

    <input type="hidden" class="form-hidden" value="" id="input_5" name="q5_pageaddress5" />

    Keep note of the id of this line. For this example it is input_5

    7) Paste the html source code of your form to your page but you will need to add these lines right after </form> tag

    <script>

    document.getElementById('input_5').value=location.href;

    </script>

     

    NOTE: I have used the id I have found in step 6 in the code. You will need to change the input_5 with your id that you have found in step 6.

    Please try the steps above and let us know if it works for you or not. Thank you for using JotForm!

    JOTFORM SUPPORT

  • Profile Image
    abajan
    Answered on March 27, 2011 at 01:17 PM

    I wasn't sure if that was what was meant or if the user wanted to know the page the visitor came from to land on the page containing the form. We will find out soon enough.

  • Profile Image
    annette7061
    Answered on March 27, 2011 at 01:34 PM

    I am placing the jotform on a website with other sites referring to this jotform. I need to know when a form is completed and submitted which website originally referred it.

  • Profile Image
    obi-wan
    Answered on March 27, 2011 at 04:05 PM

    If you want to track your visitors and find out from which website outside of your website your visitor came from, we recommend that you use Google Analytics. For this purpose you will need to download your full source code, add the code provided from Google Analytics to your form and then publish these pages/files on your website.

    I believe this link below would be useful to :

    http://www.mahalo.com/how-to-use-google-analytics-for-beginners/

    To get your full source code you can follow steps below:

    1. Open your form
    2. Click on "Setup & Share" tab
    3. Click on "Embed Form" on top menu
    4. Click on "Source" icon

    then you will get a window like below:

     

    You can get your full source code when you click the link that arrow points in this picture.