How to find where the form was submitted

  • Profile Image
    vmgbpo
    Asked on May 08, 2013 at 08:54 AM

    This is not working on my website. Here is a example page

    http://www.vmgmart.com/agro-shredder-machine/

    I fill up that yellow form created with jotform but the referral URL is not getting captured.

    Can some one please help me to make this work ?

    Thank you.



    This is a re-post of a comment on Capture the Page URL Where the Form is Embedded

  • Profile Image
    sidharth_kch
    Answered on May 08, 2013 at 09:19 AM

    @vmgbpo

    I checked your form and see that referral URL implementation is not complete. You have added the hidden box but not changed the embed script as required.

    Please follow this guide for more information on this: http://www.jotform.com/help/95-How-to-Know-the-Exact-URL-of-a-Page-From-Which-a-Submission-Came

    Please follow the guide and change the embed script of your form.

    Let us know if you need further assistance on this.

    Thanks,

    Sidharth

  • Profile Image
    vmgbpo
    Answered on May 08, 2013 at 11:50 AM

    Sidharth

    I now followed the guide and modified embed form as follows:

    <script type="text/javascript">

    document.write("<script src=\"http://form.jotformpro.com/jsform/31172090027948?referrer= 

    " + window.location.href + "\"></

    " + "script>

    ");

    </script>

    But when I paste this code the form is not getting displayed. 

  • Profile Image
    pinoytech
    Answered on May 08, 2013 at 12:16 PM

    @vmgbpo,

    I have check your website where your form embedded and I found this codes only.

     

    <script type="text/javascript">

    document.write("<script src="http://form.jotformpro.com/jsform/31172090027948?referrer= 

    " + window.location.href + ""></

    " + "script>

    ");

    </script>

     

     

    I think the issue is had something to with the backslash (\) highlighted by yellow of your form code. Can you please re-embed your form code into your website?

    Your form code should be like this:

    <script type="text/javascript">

    document.write(" <script src=\"http://form.jotformpro.com/jsform/31172090027948?referrer= " + window.location.href + " \ "></ " + " script>");

    </script>

    Thank you!

     

  • Profile Image
    jefreylandicho
    Answered on May 08, 2013 at 12:31 PM

    Please try using this embed code below.

    <script type="text/javascript">

    document.write("<script src=\"http://form.jotform.com/jsform/31172090027948?referrer= " + window.location.href + "\"></" + "script> ");

    The form is not displaying due the added space in the script example that was provided.

  • Profile Image
    vmgbpo
    Answered on May 08, 2013 at 11:12 PM

    Hi

    I pasted 

    <script type="text/javascript">document.write("<script src="http://form.jotform.com/jsform/31172090027948?referrer= " window.location.href ""></" + "script");</script>

     

    But the form is not getting displyaed at

    http://www.vmgmart.com/torque/

     

    I seem to be missing something.  The modified embeded code to capture the page URL used to work perfectly for me on an earlier website...but not able to figure out where I am going wrong

     


  • Profile Image
    Welvin
    Answered on May 09, 2013 at 01:31 AM

    Hi,

    There's some missing strings with the codes, please use this codes instead;

    <script type="text/javascript">document.write("<script src=\"http://form.jotformpro.com/jsform/31172090027948?referrer=" + window.location.href + "\"></" + "script>");</script>

     

    Thanks

  • Profile Image
    vmgbpo
    Answered on May 09, 2013 at 04:22 AM

    Thanks Welvin. The embeded code you provided works perfectly 

    Thank you to every one on this thread for taking so much effort to help.

  • Profile Image
    moonzkie
    Answered on May 09, 2013 at 07:36 AM

    Hi,

    In behalf of my colleagues, we are glad to hear that the codes worked for you.

    If you have any further inquiries, please do not hesitate to contact us anytime.

    Thank you.

  • Profile Image
    Orimoon
    Answered on June 27, 2013 at 03:25 PM

    is not working I put this code on my website

     

    <script type="text/javascript">

    document.write(" <script src=\"http://form.jotformeu.com/jsform/31015992669361?website= " + window.location.href + " \"></ " + " script> ");

    </script>

     

     

    www.equipaori.com/adesao 

  • Profile Image
    pinoytech
    Answered on June 27, 2013 at 04:17 PM

    @Orimoon,

    Can you please try this if it works?

    <script type="text/javascript">document.write("<script src=\"http://form.jotformeu.com/jsform/31015992669361?website=" + window.location.href + "\"></" + "script>");</script>

    If doesn't work, kindly open a separate thread for further assistance?

    Thank you!