In this article: About geolocation | Usage examples | How to set up geolocation-based content
About If>So’s Geolocation
If>So’s geolocation condition lets you tailor your website content according to the visitor’s phisical location: country, city, state, continent or timezone.
How can your site benefit from geolocation-based content? Examples:
- Make special promotions in specific countries
- Highlight different products in different locations
- Invite close-by visitors to visit your business
- Direct visitors to the closest branch
- Show dedicated messages to visitors from certain locations. “free shipping around the UK” for example.
How does it work?
To detect the user’s location, If>So uses an up to date database to pair between the IP address to a geographical location.
How accurate are the locations in the database?
The accuracy of a location depends on many factors, the most important being the ISP the address belongs to. For some providers there is a street-level accuracy, for most city level, for the worst and rare cases only country level, and a lot of intermediate situations. Accuracy is also generally higher for fixed lines than it is for cellular networks.
Which content can be customized using the geolocation condition?
Same as on all If>So’s dynamic triggers, any content of the website can be customized. That includes titles, texts, images, call to actions, and buttons.
Monthly sessions limit
Geolocation usage is limited by monthly sessions (It is the only If>So’s function that is limited). A session is defined as beginning when a visitor first visits a page with a geolocation trigger and ends when a visitor closes the browser or after 25 minutes.
Click here for the geolocation pricing options.
How to set up a geolocation-based content?
- On your WordPress dashboard, go to “If>So → Add New Trigger”
- Click on “Select a condition” and select “Geolocation“.
- Start typing a country, city, state or a continent name and use the autocomplete list to select a location. You can choose as many locations as you want. Press the x button to remove an entry from the targeted locations.
- In the content field, set the content to be displayed if the visitors’ location matches your targeting
- In the default content field, set content to be displayed if the visitors’ location does not match your targeting (optional, can be left blank).
- Press “Publish” and paste the shortcode generated by If>So in your website.
Troubleshooting the geolocation condition
If you set up a geolocation trigger and it seems to you that it is not working, there are a few common reasons that should be considered before investigating any further. Click here for a geolocation troubleshooting guide.