track user locations with WordPress form submissions

How to Track User Locations with WordPress Form Submissions

Do you want to learn how to track user locations with WordPress form submissions? Knowing where site visitors filling out your forms are from can help you cater to their needs and turn more leads into paying customers.

In this article, we’ll show you how you can learn about the locations of your leads using WPForms and the Geolocation addon.

Why Track the Locations of Site Visitors?

Learning the locations of those filling out your WordPress forms, whether it’s a simple contact form, a t-shirt order form, or a volunteer application form, can help you better identify who is coming to your site and showing interest in what you have to offer.

From there, you’ll be able to make better data-driven business decisions about the types of products and services you offer, events you host, or job positions you open up to the public.

Here are some other reasons why tracking the geographic location of your leads is helpful:

  • Determine popular time zones and adjust your email marketing campaigns accordingly
  • Add location to your lead scoring efforts and find out what seasons your customers are in and promote season appropriate products
  • Learn where the majority of your volunteers are coming from and host an event in their city
  • Provide contests and free giveaway prizes that are specific to the popular cities or states your entrants come from
  • Use the location of site visitors to translate your forms into other languages
  • Use this information to target customers that may be located near a brick-and-mortar business location shop you own

The key to using to using the locations of your leads is to deliver the right content to the right people at the right time.

WPForms is the best WordPress Form Builder plugin. Get it for free!

Of course, you can’t cater to everyone, everywhere, all the time. But if you notice trends in the geographic locations of your site visitors, it’s wise to use this data to help you grow your business.

Now let’s take a look at how to find out the locations of site visitors filling out your WordPress forms.

How to Track User Locations with WordPress Form Submissions

Here’s a step by step guide to tracking your form user’s locations using a WordPress plugin.

Step 1: Create a New WordPress Form

The first thing you’ll need to do is install and activate the WPForms plugin. It’s the world’s best form builder and works as a fantastic WordPress locations plugin. For more details, see this step by step guide on how to install a plugin in WordPress.

Next, create a new WordPress form. For help with this step, you can check out our tutorial on how to create a simple contact form in WordPress. Just remember, no matter which type of WordPress form you create, you can track the location of your leads.

Simple Contact Form before setting up wordpress location

You can add additional fields to your WordPress form by dragging them from the left hand panel to the right hand panel.

Then, click on the field to make any changes. You can also click on a form field and drag it to rearrange the order on your contact form.

When your form looks the way you want it to, click Save.

Step 2: Install and Activate the Geolocation Addon

Once your WordPress form is ready, you’ll need to install and activate the WPForms Geolocation addon.

This addon lets you collect and store your site visitors’ geolocation data when they submit forms on your website. It collects the country, state, and city and stores this data with their form submissions.

To start, go to WPForms » Addons and find the one labeled Geolocation Addon.

Click Install Addon and then Activate.

wpforms geolocation addon to find user wordpress location

The Geolocation addon is now ready to start collecting site visitor location data since it’s a simple plug-and-play addon. In other words, there are no settings to configure. Once the addon is installed and activated, it’s ready to work for you.

Step 3: View Geolocation Data in Form Entries

Once someone submits a form on your website, the Geolocation addon automatically collects the site visitor’s location information in WordPress.

To view the geolocation data, go to WPForms » Entries and click View to access a form entry’s submission data.

view form entry data

Once you do this, you’ll see an interactive Google Map, as well as the following:

  • City, State
  • Zip code
  • Country
  • Approximate latitude and longitude

interactive map wordpress location

This information directly relates to the user that submitted the form. So you’ll get a custom map of where they’re located.

In Conclusion on Finding WordPress Location

And there you have it! You now know how to track user locations with WordPress form submissions using WPForms as a map plugin.

If you want to get more details about the people visiting your WordPress site, be sure to check out this helpful article on using Google Analytics to learn more about your site’s traffic and form conversions.

So, what are you waiting for? Get started with the most powerful WordPress forms plugin today.

And don’t forget, if you like this article, then please follow us on Facebook and Twitter.

Using WordPress and want to get WPForms for free?

Enter the URL to your WordPress website to install.


  1. Why is there not an option to store the Geolocation as a label so you can hand it off to a CRM automatically?

    1. Hi Matt,

      Unfortunately we don’t have a way to do this right now and we currently don’t have any built-in way to send data to CRM. However, I’ve made a note on our feature request list so we can keep it on our radar! Thanks for the suggestion 🙂

      1. Surely you can access the entry field like, entry.zipcode,, etc… is that possible or not?

      2. Hi Adam!
        Unfortunately, we don’t have this feature in WPForms currently.
        I apologize for any confusion!

        Have a good one 🙂

  2. Not on pro yet, so haven’t been able to test this out, but: is the Lat/Long to 4 decimal places as in the above photo? We’re a fiber company and this is useful in targeting our network areas…

    Would, as those above have mentioned, be useful to pass this to CRM of course 😉

    1. Hey Terry – Yes, it shows the values up to 4 decimal places as shown in the snapshot! For sending the form data to custom CRMs, you can try Zapier which is very useful in such automation and we have a Zapier addon available with our Pro(or higher) license.

      Have a good one 🙂

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.