How to Install and Use the Geolocation Addon with WPForms

Would you like to learn more about the locations of your visitors? With our Geolocation addon, you can collect geographical data on each of your leads. In this article, we will show you how to install and use the Geolocation addon for WPForms.

Requirements: You will need a Pro license level or higher to access the Geolocation addon.

Setting Up Geolocation in WPForms

Before we get started, be sure to install WPForms on your WordPress site.

Then, go ahead and install the Geolocation addon on your site. For more details, see our step by step guide on how to install addons in WPForms.

The Geolocation addon works out of the box, and there are no settings for it.

Once you’ve installed and activated the addon, all form submissions will collect and store geolocation data for your users.

To view the geolocation data, go to WPForms » Entries and click View to open an individual entry page.

View individual entry page in WPForms

In addition to an interactive Google Map, you’ll see details such as city, state, country, and zip code, as well as an approximate latitude/longitude for the user’s town.

Geolocation Data in Entry

Including Geolocation in Form Notification Emails

If you’d like, you can also include geolocation data in automatic notification emails for your forms.

Note: For extremely large websites or those with a large volume of form submissions, it is not recommended to include geolocation data in notification emails as it could impact server speed.

To set this up, open the form builder and go to Settings » Notifications. Then scroll to the Message and add the following Smart Tag to the body of your message: {entry_geolocation}

Add geolocation smart tag to notification email

When the notification email is sent out, it will now include location data for the user as well as a small image of a Google Map. Clicking this image will open the pinned location in Google Maps.

WPForms Geolocation in notification email

Note: Geolocation data is stored in entries and can be displayed in notification emails, however the {entry_geolocation} Smart Tag is not currently able to be sent to third party integrations such as Zapier connections.

That’s it! You can now collect geolocation data to learn more about your users.

Next, would you also like to send our different notification emails depending on the user’s form selections? To learn how, be sure to check out our tutorial on conditional form notifications.