In this article: About geolocation | Examples | How to set up geolocation-based content
If-So’s geolocation condition lets you tailor your website content according to the visitor’s physical location: continent, country, state, city, or even timezone.
To detect the user’s location, If-So uses an up-to-date database to pair between the IP address and the geographical location.
The accuracy of a location depends on many factors, most importantly, the ISP of the address. For some providers, there is street-level accuracy, and for most, city-level accuracy. In the least specific and rare cases, only country-level accuracy is available. Generally, accuracy is higher for fixed lines as opposed to cellular networks. Learn more about geolocation accuracy here.
As with any of If-So’s dynamic triggers, the choice is yours. Any content on your website can be customized. That includes titles, texts, images, calls to action, buttons, and more.
Geolocation usage is limited by the number of monthly sessions (it’s the only If-So condition that is limited). The beginning of a session is defined as when a visitor first visits a page with a geolocation trigger. The end of a session is when either a visitor closes the browser, or there have been more than 25 minutes of inactivity (it may vary slightly between browsers).
Click here for geolocation pricing options.
The geolocation Dynamic Keyword Insertion lets you display the user’s location using a simple shortcode.
The available shortcodes are:
Display the user’s country
[ifsoDKI type="geo" show="country"]
Display the user’s state
[ifsoDKI type="geo" show="state"]
Display the user’s city
[ifsoDKI type="geo" show="city"]
Display the user’s continent
[ifsoDKI type="geo" show="continent"]
Display the user’s timezone
[ifsoDKI type="geo" show="timezone"]
If you set up a geolocation trigger and it seems to not be working properly, there are a few common reasons to consider. Click here for the geolocation troubleshooting guide.
Learn more →