Get referrer widget is not capturing correct URL.

  • manybidets
    Asked on May 24, 2016 at 12:57 PM
    Second question, when using the; "get referrer widget"  It works if I put a link on one page to the page the form is on, but if I direct a customer to the page from another form, it just shows the current link.  In other words, if you enter your email address here: http://www.manybidets.com/swash-900/, and then fill out the form on http://www.manybidets.com/best-price-test the referrer link shows http://www.manybidets.com/best-price-test when it should show http://www.manybidets.com/swash-900/.  However, if I put a link to http://www.manybidets.com/best-price-test on the Swash 900 page, then fill out the form, the referrer link properly shows http://www.manybidets.com/swash-900/  Any thoughts on how to fix this?
  • BJoanna
    Replied on May 24, 2016 at 1:19 PM

    Your form http://www.manybidets.com/best-price-test has payment field, so I was not able to test it because of credit card details. 

    However I made my two test forms and I was not able to replicate mentioned issue. I added get referrer widget on my second form. My first form is redirecting to second form. When second form is submitted Referrer URL is URL of my first form. 

    I added value of Referrer field on thank you page of my second form. Here is my main form https://form.jotform.com/61444870571963 and here is my second form: https://form.jotform.com/61445549805967 

    Feel free to test them.

    I have also inspected webpages you provided and I saw that you have embedded your forms with script code. We recommend using of iFrame code. Please try to re-embed your forms with iFrame code to see if that will resolve your issue. Inside of this guide you can find how to get iFrame code of your form: https://www.jotform.com/help/148-Getting-the-Form-iFrame-Code 

    Hope this will help. Let us know if you need further assistance.

     

  • manybidets
    Replied on May 24, 2016 at 5:22 PM

    I'm still not having any luck.  I can't use the iframe because it looks odd on the page, but regardless, it doesn't work either.  I tried each of the embed options, and none of them work.  I changed the form so it doesn't include payment information.  This should allow you to run through the process and see where the problem comes from.  The second link is now: http://www.manybidets.com/best-price-request-from-product/

  • Kevin Support Team Lead
    Replied on May 24, 2016 at 6:43 PM

    I have submitted your form the first time and I can see the widget is taking the same URL when there is not a previous URL: 

    Get referrer widget is not capturing correct URL Screenshot 30

    Then I went back and then clicked on the link that redirected me to the page where your form is embedded from this link: http://www.manybidets.com/bidet-seat-reviews/ 

    When submitted the form and checked the submission I see the referrer value is correct: 

    Get referrer widget is not capturing correct URL Screenshot 41

    Please try again and get back to us if the issue still persists, also provide us the link that should be in the referrer value, and the one that redirects to the link where your form is embedded on, we will be glad to further test it. 

  • manybidets
    Replied on May 24, 2016 at 7:01 PM

    You're not following the steps I listed out, thus you're not seeing the problem...  The problem is when linking through the first form, which you didn't do above...  Here's a video showing the exact problem.  http://screencast.com/t/mhGqkejqzHe  to duplicate, START at this link: http://www.manybidets.com/bb-2000-bliss-bidet-seat-elongated/ and then fill out the form.  Then fill out the second form, and you'll see it doesn't pull the proper link

  • Chriistian Jotform Support
    Replied on May 24, 2016 at 10:15 PM

    Thank you for the explanation in the video. It appears that the referral widget is not capturing the original widget. Can you please try removing the previous referrer widget, then clearing your form cache? Here's how: How to Clear Your Form Cache? Once you have cleared the cache, add a new referral widget to your form.
    If the issue still persists, please let us know.

  • manybidets
    Replied on May 24, 2016 at 10:27 PM

    Thanks for those additional steps!  I tried them just now, but the problem is still happening.  Any other thoughts?  For my needs, I could also be in good shape if there was a way to pass the; "get form page URL widget" details from the first form on to the second, but I was unable to find a way to do this either.  Thoughts?  Thanks again! 

  • Chriistian Jotform Support
    Replied on May 25, 2016 at 12:21 AM

    We can indeed pass the "get form page URL widget" from the first form to the second. Simply follow the steps below.

    1. First add a textbox field for the "Best Price with Phone" form. This is where we will store the URL from the first form.

    Get referrer widget is not capturing correct URL Screenshot 50

    2. Now you will need to identify the name of the textbox we just added. You can do so by following this guide: How to find field IDs and names. In this instance, the name of the textbox field that I added to the demo is pageUrl.

    Get referrer widget is not capturing correct URL Screenshot 61

    3. Then we will move on to the first form (Email for best price). We need to identify the name of the Get page URL widget. You can do that by checking the email notification. In my demo, the name of the get page url widget is {clickTo}

    Get referrer widget is not capturing correct URL Screenshot 72

    4. Once we have identified the names, we can now setup the link for the Thank You page. You can see in the yellow highlighted text that we combined the names of the field in the redirect link. The pageUrl is the textbox on the second form and the {clickTo} is from the first form. You can find out more information on how we achieved this by checking this guide: How to Automatically Pass Form Data to Another Form

    http://www.manybidets.com/best-price-request-from-product/?pageUrl={clickTo} 

    5. Insert the link to the Thank You page of the first form (Email for best price). Once you have done so, when a user submits the first form, they will be redirected to the second form. And the second form should have the url from the first form passed to the textbox on the second form.

    Get referrer widget is not capturing correct URL Screenshot 83

    Here's a cloned demo so you can see it in action: https://form.jotform.com/61448713538966 

    If you need further assistance, please let us know.