WordPress Questions and Answers (CMA) - Extras - Geolocation (Tracking User's Location)


Extras - Geolocation

Back to User Guides

Note: This feature is relevant to GDPR compliance. Learn more: User Data Privacy and GDPR Compliance

With the WordPress Questions and Answers, you can track the geolocation of users who posted or voted on questions and answers. This information will be displayed in your logs.


Enabling And Configuring The Feature

Go to Admin Dashboard → CM Answers Pro → Settings → General tab.

Navigation to the plugin settings - WordPress Forum Plugin
Navigation to the plugin settings

In this tab, head down to the Other header.

Geolocation API key setting - WordPress Discussion Forum
Geolocation API key setting

Make sure to turn on the Enable logs setting. Learn more about logs and statistics.

Obtaining the Geolocation API Key

The plugin uses an external GeoLocation service called IPInfoDb and requires an API Key from it. It takes just a few minutes to obtain a free API key. The steps are:

  1. Register for a free account in http://ipinfodb.com/register.php.
  2. Validate the account by clicking the validation link sent by e-mail.
  3. Login to http://ipinfodb.com/.
  4. Fetch the API Key

    Obtaining the Geolocation API key - WordPress Q and A Plugin
    Obtaining the Geolocation API key
  5. Paste it to CM Answer's settings

    Adding Geolocation API Key to the plugin - Discussion Forum Plugin for WordPress
    Adding Geolocation API Key to the plugin

Log View

Now the log will show the country information. The following table shows two rows for comparison: One with the information and one without.

Example of logged geolocation - WordPress Question and Answer Plugin
Example of logged geolocation

The field "Country" will also be available on exported CSV files.


More information about the WordPress Questions and Answers plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.