I know that there is an Auto Value field within Caspio Bridge to capture the URL for the datapage, but is there a way to capture the referring URL that led the user to that DataPage?
This would be similar to the PHP command $_SERVER['HTTP_REFERER']
If we have a contact form on a page http://www.domain.com/contact.htm, we would like to know what page the visitor came from to land on that contact form. For example, I would like to have a hidden field on the Caspio DataPage for "Referrer" that would display "http://www.domain.com/page.htm" if that is the page they were on before going to the contact.htm page.
Using PHP forms, we could use HTTP_REFERER to capture that information and add it to a hidden field.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
aukirk
I know that there is an Auto Value field within Caspio Bridge to capture the URL for the datapage, but is there a way to capture the referring URL that led the user to that DataPage?
This would be similar to the PHP command $_SERVER['HTTP_REFERER']
If we have a contact form on a page http://www.domain.com/contact.htm, we would like to know what page the visitor came from to land on that contact form. For example, I would like to have a hidden field on the Caspio DataPage for "Referrer" that would display "http://www.domain.com/page.htm" if that is the page they were on before going to the contact.htm page.
Using PHP forms, we could use HTTP_REFERER to capture that information and add it to a hidden field.
Any help would be greatly appreciated.
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.