{referer} not updating

For some reason my hidden field with {referer} is not displaying the proper referer. I’m thinking that it is using a cached URL. I’m not sure. Does anyone know of a way to debug this? Currently every entry shows the same referring URL regardless of where the form was submitted.

If your page is being cached, that’s for sure one thing to turn off.

Once the page has been excluded from cache, empty your browser cache too, reload the page, and try again.

If issue persists, check the following documentation page to understand how the referer data is obtained and try the snippet on the documentation: Capturing HTTP Referrer URL - Gravity Forms Documentation

The snippet has a custom logging statement, so if you enable logging, you would be able to check the log and see which value is the server returning to Gravity Forms.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

© 2008 - 2021. Gravity Forms is a project by Rocketgenius Inc.