WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by IP2Location v2.13.9

IP2Location Tags

Displays visitor’s geolocation information, geo-targeting and customize the page content for different countries based on users location.

IP2Location Tags

The facts

Rating
3.7★ from 9
Active installs
200+
Price
Free
Last updated
21 Aug 2026
Added
Nov 2009
Requires WP
2.0
Tested up to
WP 7.1
Downloads
29,022

Our analysis

AI-assisted

IP2Location Tags is a WordPress plugin that allows you to serve specific content to visitors based on their geographic location as determined by their IP address. It detects visitors' IP addresses and translates them into geolocation information, enabling you to engage users with localized content relevant to their location.

The plugin displays various information about the visitor, including country code, country name, region name, city name, and more. It supports both IP2Location BIN data and a web service for IP geolocation lookup, providing flexibility in how you manage and update the geolocation data.

Best for: This plugin is suitable for websites that want to provide localized content to their visitors based on geographic location.

What it does well

  • Displays detailed visitor information based on IP address
  • Supports both BIN data and web service for geolocation
  • Allows customization of content based on visitor location
  • Easy to update BIN data through a wizard

Where it falls short

  • Limited to IP-based geolocation; may not be accurate for all users
  • No information on compatibility with newer WordPress versions beyond 7.1

Verdict

IP2Location Tags offers useful features for geo-targeting content, though its effectiveness may vary based on the accuracy of IP geolocation.

From the developer

IP2Location's own description of IP2Location Tags, lightly tidied.

IP2Location Tags helps you to serve specific content to website visitors based on geographic location for different countries and regions via IP address lookup.

This plugin provides a relatively easy way to detect visitors’ IP addresses and translate it into geolocation information, and then keep visitors better engaged with localized information or content that’s most relevant to them.

Key Features

  • Displays visitor’s’ information such as
    • Country code
    • Country name
    • Country flag
    • Region name
    • City name
    • Latitude and longitude
    • ZIP code
    • ISP
    • Domain name
    • Time zone
    • Net speed
    • IDD code
    • Area code
    • Weather station code & name
    • MNC, MCC, mobile carrier name
    • Elevation
    • Usage type
    • Address type
    • Category

    This plugin supports both IP2Location IP geolocation BIN data and web service for IP geolocation lookup. If you are using the BIN data, you can update the BIN data every month by using the wizard on the settings page for the most accurate result. Alternatively, you can also manually download and update the BIN data file using the below links:

    BIN file download: IP2Location Commercial database | IP2Location LITE database (free edition)

    If you are using the IP2Location IP geolocation web service, please visit IP2Location Web Service for details.

    Get visitor’s location information with Variable Tag

    Usage example

    Display visitor’s IP address, country name, region name and city name.
    Your IP is {ip:ipAddress}
    You are in {ip:countryName}, {ip:regionName}, {ip:cityName}

    Geo-targeting: Customize the post content with IP2Location Tag

    Syntax to show content for specific country
    [ip:XX[,XX]..[,XX]]Your content here.[/ip]
    Note: XX is a two-character ISO-3166 country code.

    Example
    To show the content for United States or Canada visitors only.
    [ip:US,CA]Only visitors from United States or Canada can view this line.[/ip]

    Syntax to show content for specific country and region
    [ip:XX:YY[,XX:YY]..[,XX:YY]]Your content here.[/ip]
    Note: XX is a two-character ISO-3166 country code and YY is a ISO-3166-2 sub-division code.

    Example
    To show the content for California or New York visitors only.
    [ip:US:CA,US:NY]Only visitors from California or New York can view this line.[/ip]

    Syntax to hide the content from specific country
    [ip:*,-XX[,-XX]..[,-XX]]Your content here.[/ip]
    Note: XX is a two-character ISO-3166 country code.

    Read the full description on the official page →

Tagged as

Alternatives

Other plugins for maps and locations.

Meta Box

Meta Box plugin is a powerful, professional developer toolkit to create custom meta boxes and custom fields fo...

Free 500k+ installs 4.8★ (165)
WP Go Maps

The easiest to use WordPress map plugin! Create a custom map, map block, store locator or map widget with high...

Free 300k+ installs 4.8★ (3,035)
SlimStat Analytics

Real-time WordPress analytics that stay on your own server: pageviews, outbound links, WooCommerce funnels, al...

Free 70k+ installs 4.8★ (817)
Open User Map

Create custom interactive maps with free Leaflet-based styles, no Google Maps API key, frontend marker submiss...

Free 10k+ installs 5★ (67)
WP Store Locator

An easy to use location management system that enables users to search for nearby physical stores.

Free 50k+ installs 4.8★ (312)
Leaflet Map

Interactive maps and markers on your posts and pages with simple shortcodes.

Free 30k+ installs 4.9★ (58)