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

    How can I capture the SOURCE from the destination URL utm_source tag?

    Asked by maverickbankcard on October 05, 2012 at 01:17 PM

    I have ads on referral sites with manually tagged destination URL's such as: www.maverickbankcard.com/apply?utm_source=uniquesite.com&utm_medium=banner...etc.

    Is there a way to capture the entire URL, or better yet, just extract the "uniquesite.com" source information using Jotforms?

    Page URL:
    www.maverickbankcard.com/apply

  • Profile Image
    JotForm Support

    Answered by NeilVicente on October 05, 2012 at 01:41 PM

    These solutions may be what you're looking for:

    http://www.jotform.com/help/95-How-to-Know-the-Exact-URL-of-a-Page-From-Which-a-Submission-Came

    http://www.jotform.com/help/84-How-to-Use-a-Single-Form-in-Multiple-Sites-and-Know-Which-Site-a-Submission-Came-From

    Let me know what you think. Feel free to ask if you have further questions or concerns.

    Thanks!

  • Profile Image

    Answered by maverickbankcard on October 05, 2012 at 03:43 PM

    Extracting the URL is a solution that will work; http://www.jotform.com/help/95-How-to-Know-the-Exact-URL-of-a-Page-From-Which-a-Submission-Came 

    The ORIGINAL embed script works fine on my Wordpress site.  However, the modified URL TRACKING script does not.  The page becomes formated improperly (the footer overlaps the content area).  The two codes follow:

    ORIGINAL:

    <script type="text/javascript" src="//form.jotform.us/jsform/22257790850155"></script>

     

    URL TRACKING:

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


  • Profile Image
    JotForm Support

    Answered by Mike_T on October 05, 2012 at 05:11 PM

    Please try with the following code:

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

    If that does not work for you, please let us know.

  • Profile Image
    JotForm Support

    Answered by Mike_T on October 05, 2012 at 05:13 PM

    I am sorry it should be form.jotform.us not form.jotformeu.us.

    So the code is:

    <script type="text/javascript">
    document.write("<script src=\"http://form.jotform.us/jsform/22257790850155?source_url=" + window.location.href + "\"></" + "script>");
    </script>