After setting up a contact form, using CONTACT FORM 7 for one of my websites, I realised that I needed to know which page the replies were coming from, so in my first attempt, I requested them to copy and past from the URL bar. Easy enough for some, but not everyone knows what a URL bar is.
Then I searched around and saw some pretty complex ways of doing it, and I do mean complex!!
But in the end, hidden in a small comment, I saw this [_url]
So, in the message body of the form I was making I just added [_url] at the bottom of the form, and tested the contact email, and lo and behold, I got the sending page URL at the bottom of the incoming email.
This is my final message body layout, with the URL now moved to the top:
From: [your-name] <[your-email]>
This mail is sent via…
IP:[wpcf7.remote_ip] part, shows the submitters IP address, from which you can check their real location at sites such as www.maxmind.com or check if that IP is a common spammer source at sites like: www.stopforumspam.com
Please let me know if this helps you.
493.1 - 585,729