I want to add a refer url to the form so that I can know where the customer comes from.
Please anyone can help?
for example: WPForms
I want to add a refer url to the form so that I can know where the customer comes from.
Please anyone can help?
for example: WPForms
{echo:wp_get_referer}
This works!
How can echo the Referer Page Title instead of URL? ![]()
Thanks!
Who does the page belong to, your site or someone else’s?
It is my site, not external link. For example:
My website has several course pages. Click the button to the Registration Form page. Then the Registration Form has a field to show Refer Page Title.
Thanks for help!
There are several solutions, but the simplest is probably to pass the title as a parameter in the link
_mysite.com/kurs?title=mytitle
Now you can get the value from the parameter as dynamic data
{url_parameter:title}
Yes, but how do you do dynamically?
So this is my problem:
in {what-to-put-here} I’ve tried to use echo functions but I got white pages…
So my idea is to add, let’s say, the context from where the user has clicked so in the next page I show them a different thing (using conditions). I want to add there the page slug where the listing is placed (I’m using a jet engine listing)
If they come from long term rental they see an enquiry form
If they come from daily, they see a book form
In your case, a different approach is needed. Create two buttons and set “Conditions” for them. There is a Conditions with Referrer Url

wow! that idea will work.
Many thanks