Location Detection Methods in WP Statistics

WP Statistics provides three methods for detecting visitor location data: MaxMind, DB-IP, and Cloudflare Geolocation. Each method has its own advantages, and choosing the right one depends on your needs.

1. MaxMind (Default Method)

MaxMind is the default geolocation method in WP Statistics. It uses the MaxMind GeoIP database to detect country, region, and city based on the visitor’s IP address. To enable full location detection, the City Database is required.

Get MaxMind Premium

2. DB-IP

DB-IP is an alternative to MaxMind that may provide better region and city accuracy in some countries. Like MaxMind, it requires the City Database for full location detection.

Get DB-IP Premium

3. Cloudflare IP Geolocation (Recommended for Cloudflare Users)

Cloudflare Geolocation relies on Cloudflare’s network to provide location data. It requires enabling Visitor Location Headers in your Cloudflare account.

Learn how to enable Cloudflare Geolocation

Comparison Table

FeatureMaxMind (Free)MaxMind (Premium)DB-IP (Free)DB-IP (Premium)Cloudflare Geolocation
Country DetectionYesYes (Improved)YesYes (Improved)Yes
Region DetectionYesYes (Improved)Yes (Better in Some Countries)Yes (Improved)Yes
City DetectionYesYes (Improved)Yes (Better in Some Countries)Yes (Improved)Yes
External Database RequiredYesYesYesYesNo
Database Size~60MB~100MB~120MB~1.1GB
Cloudflare RequiredNoNoNoNoYes
Best ForGeneral UseHigh AccuracyBetter City DataMost Detailed Data (Requires Storage)Cloudflare Users

Which One Should You Use?

Let’s get started
Take your business to next level

Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.