Get referrer widget is not capturing correct URL.

  • Profile Image
    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:, and then fill out the form on the referrer link shows when it should show  However, if I put a link to on the Swash 900 page, then fill out the form, the referrer link properly shows  Any thoughts on how to fix this?
  • Profile Image
    Answered on May 24, 2016 at 01:19 PM

    Your form 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 and here is my second form: 

    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: 

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


  • Profile Image
    Answered on May 24, 2016 at 05: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:

  • Profile Image
    Answered on May 24, 2016 at 06: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: 

    Then I went back and then clicked on the link that redirected me to the page where your form is embedded from this link: 

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

    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. 

  • Profile Image
    Answered on May 24, 2016 at 07: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.  to duplicate, START at this link: and then fill out the form.  Then fill out the second form, and you'll see it doesn't pull the proper link

  • Profile Image
    Answered 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.

  • Profile Image
    Answered 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! 

  • Profile Image
    Answered 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.

    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.

    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}

    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{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.

    Here's a cloned demo so you can see it in action: 

    If you need further assistance, please let us know.