Geolify is a powerful geolocation targeting plugin for WordPress

https://wordpress.org/plugins/geolify/
Geolify is a plugin that allows you to create geo targeted URL redirects and popups for your WordPress blog. It also allows you to get accurate visitor location data such as continent, country, state, city, latitude and longitude in your WordPress blog using a simple list of shortcodes.