Geolocation IP Detection
Provides geographic information detected by an IP adress. This can be used in themes or other plugins, as a shortcode, or via CSS body classes. The city & country names are translated in different languages (supported languages). Features: You can use one of these data sources (see comparison): Free (default source): HostIP.info (IPv4 only) Free with registration: Maxmind GeoIP2 Lite City, automatically updated weekly Commercial: Maxmind GeoIP2 City or Maxmind GeoIP2 Country Commercial Web-API: Maxmind GeoIP2 Precision (City, Country or Insights) Hosting-Provider dependent: Cloudflare or Amazon AWS CloudFront (Country) Free or Commercial Web-API: Ipstack Commercial Web-API via AWS Marketplace: Fastah Provides these 5 functions (see API Documentation): geoip_detect2_get_info_from_ip($ip, $locales = array('en'), $options = array()): Lookup Geo-Information of the specified IP geoip_detect2_get_info_from_current_ip($locales = array('en'), $options = array()): Lookup Geo-Information of the current website user geoip_detect2_get_current_source_description(...): Return a human-readable label of the currently chosen source. geoip_detect2_get_external_ip_adress(): Fetch the internet adress of the webserver geoip_detect2_get_client_ip(): Get client IP (even if it is behind a reverse proxy) For the property names, see the results of a specific IP in the wordpress backend (under Tools > Geolocation IP Detection). You can include these properties into your posts and pages by using the shortcode [geoip_detect2 property="country.name" default="(country could not be detected)" lang="en"] (where ‘country.name’ can be one of the other property names as well, and ‘default’ and ‘lang’ are optional). You can show or hide content by using a shortcode [geoip_detect2_show_if country="FR, DE" not_city="Berlin"]TEXT[/geoip_detect2_show_if]. See Shortcode Documentation. When enabled on the options page, it adds CSS classes to the body tag such as geoip-province-HE, geoip-country-DE and geoip-continent-EU. If you are using a page cache, it is recommended to use the AJAX mode (see AJAX) When enabled on the options page, the client IP respects a reverse proxy of the server. If you are using Contact Form 7, you can use these shortcodes: A select input with all countries, the detected country being selected by default: [geoip_detect2_countries mycountry] A text input that is pre-filled with the detected city (or other property): [geoip_detect2_text_input city property:city lang:fr id:id class:class default:Paris] Geolocation information for the email text: [geoip_detect2_user_info] If you are using WP Forms, you can use this shortcode: Geolocation information for the email text: [geoip_detect2_user_info] Together with SVG Flags you can show the flag of the detected country: [geoip_detect2_current_flag] (see documentation) See Documentation for more info. How can I use these functions? You could choose the currency of the store based on the country name You could pre-fill the shipping country You could show the store nearest to your customer You show or hide content specific to a geographic target group Etc. … You tell me! I’m rather curious what you’ll do with this plugin! Be careful to comply to the applicable laws. For example Regulation (EU) 2018/302 … If you need to get the user’s timezone, it is more accurate to use JS solutions. System Requirements: You will need at least PHP 7.2.5 . Also, if you use the plugin WooCommerce, you’ll need at least WooCommerce 3.9.0 . GDPR: See Is this plugin GDPR-compliant? This extension is “charity-ware”. If you are happy with it, please leave a tip for the benefit of this charity. (See FAQ for more infos.) Here are other ways to contribute to the development of this plugin. This product can provide GeoLite2 data created by MaxMind, available from http://www.maxmind.com. Troubleshooting Does geoip_detect2_get_info_from_current_ip() return the same country, regardless of where you are visiting the site from? Maybe your server has a reverse proxy configured. You can check this: Go to the options page and look for “reverse proxy”. Are there 2 IPs listed there? If so, which one corresponds to your public IP? Or maybe you are using a site cache plugin. Then enable the option Disable caching a page that contains a shortcode or API call to geo-dependent functions. More Troubleshooting Hints
Top keywords
- detect214×1.97%
- geoip14×1.97%
- geoip detect214×1.97%
- country13×1.83%
- ip13×1.83%
- see9×1.26%
- city8×1.12%
- info7×0.98%
- maxmind6×0.84%
- shortcode6×0.84%
- show6×0.84%
- current5×0.70%
Store Locator Widget
A fully featured store locator plugin that is incredibly quick and easy to configure, add locations and embed in your WordPress site. Our store locator is fully customisable and adjustable for all types of service or business including custom Google Maps and Markers, with different layouts to suit all themese. All plans allow completely unrestricted and unlimited usage. You can customize the text used throughout the locator to suit it to your business so you aren’t just limited to stores – we have locators for dentists, karate dojos, vodka distilleries and pretty much everything you can think of! Add multiple language support at the click of a button if your site services non-English speaking countries. Get started in minutes with no coding Get your locator up and running by simply pasting a code snippet into your website or online store platform. Integrates with any platform Our software works with every major web platform including Shopify, Squarespace, Joomla, Magento, Droopal, BigCommerce, Volusion, Wix, WordPress, Facebook and more. Powerful Google Maps with Geolocation Our powerful store locator supports automatic geolocation, address autocompletion, distances in miles or kms, search within radius and more. Unlimited usage We’re ready for your business to grow as all our plans offer unlimited usage. Simple location management Upload location lists via CSV or Excel, synchronise from a Google Sheet or use our Location Management API, the choice is yours. Fully customizable Customize the look and feel of your Store Locator to make it your own – all wording, colors, fonts, map style, distance units, sizing – everything can be tweaked! Sample Customer Reviews (all reviews are taken from https://www.reviews.io/company-reviews/store/store-locator-widgets) ★★★★★ “Super responsive team, very customizable widget, awesomely easy for consumers to use!! Utilizing for two of my companies :-)” – Lisa Fleck ★★★★★ “I am extremely happy with the Store Locator product, it’s so easy to use and feature suggestions are taken on board and implemented. The customer service is fantastic, by far the best support I’ve come across – thank you for helping with all my queries Tom.” – Chrissy ★★★★★ “Comprehensive features, simple setup, excellent service, good prices.” – Jack Jordan Major features Unlimited Traffic No matter which plan you choose, we don’t limit store locator page views or traffic. Automatic Geolocation Choose whether customers are autoamtically geolocated on the map when the store locator loads, which allows you to immediately display the closest store to their current location. Not just a Store Locator – we support any kind of location requirement You’re not just limited to a store locator. As all text – buttons, links, titles etc – is customizable, you can use it to host any kind of locator – dealers, distributors, doctors and teachers, the list of what our customers have used us for goes on. Search Filters Create clickable search filters for your stores with options like “Open 24 Hours” or “Wheelchair Accessible” and more! Distance Calculations Built in real-time distance calculator showing the distance to each store in miles or kilometres. Directions Customers can get directions from their location to any of your locations with one click. Directions are inside the store locator so your customers don’t need to leave your store. Flexible Search Options Search by address, zip or postal code, or just city. Fully Customizable Customize the look and feel of the Store Locator. Font colors, drop pin, change the units from KM to Miles, customize your map size, where it starts geographically and much more. Multilingual Support Customize all the titles, wording, button text, results text. Change the wording to fit your style or even change everything to your language of choice! Responsive Mobile-friendly design Right out of the box Store Locator Pro comes with a beautiful touch mobile layout that looks great on all devices. It’s fully responsive design is suitable for phones, tablets and any kind of small screen device. Multi-platform Support We support Shopify, BigCommerce, Volusion, Magento, 3dCart, OpenCart, Squarespace, WordPress, Drupal, Joomla, Wix and just about every other platform out there. Store Locator Pro integrates with sites written in any language – HTML, PHP, Ruby, Python, ASP, .NET and more. Powerful Analytics Suite (Premium and Ultimate plans only) Visualize where customers want your product on a heatmap and in a detailed report. See where customers are searching but not finding your stores. Export it all to CSV, PDF or Excel. Supports Google Maps customizations (Ultimate plans only) Custom markers / pins – choose from our selection or upload your own. Multiple markers so you can differentiate location types. Custom colors and map styles are all available out of the box. Set the initial Map location Set the start zoom and location for the map. Preload all the map pins or not, your choice. Prevent competitors from stealing your list Limit the number of results returned per search so competitors can’t get your full distribution list. Synchronise with Google Docs We now support automatic synchronisation with Google Docs Sheets. Update your date in a single sheet and your Store Locator automatically updates it’s store list. Let your retailers / stockists submit their own store location Our store location submission form can be embedded on your own web page allowing retailers to submit their own store to be added to your store locator. REST API Location Management If you’d like to integrate your location management workflow with our systems, we offer a REST based API which makes this easy. Free Image uploading and hosting All plans include free image uploading and hosting. Upload images to our lightning fast content delivery network for use in your locator. Help and Support If you run into any issues, need any help installing or uploading your store list then don’t worry, we are here to help! Just use the chat function on the https://www.storelocatorwidgets.com website to get in touch with us. We also have a comprehensive support section for all aspects of the StoreLocatorWidgets.com service which is found here: https://www.storelocatorwidgets.com/Support.