When someone contacts you from your website using a contact form you set up, such as Contact Form 7 for WordPress, you can get their IP address and then estimate their geographic location. The WordPress plugin called Contact Form DB can export all of those that filled out and sent the Contact Us form from the Contact Form 7 plugin. You can export the list to a Microsoft Excel file. You then can get the approximate location of that person by using a web site.
How To
Try https://www.iplocation.net/ to get the geographic location given an IP address. You won’t get an exact street location by you should be able to get the city or town name.
Accuracy of geolocation database varies depending on which database you use. For IP-to-country database, some vendors claim to offer 98% to 99% accuracy although typical Ip2Country database accuracy is more like 95%. For IP-to-Region (or City), accuracy ranges anywhere from 50% to 75% if neighboring cities are treated as correct.