Geo targeting in Claspo lets you control where a widget appears. You can show it in all locations or limit it to certain countries, regions, or cities.
This makes it easier to personalize the experience — visitors in different places may see different offers or messages. Why use it:
Show a banner only where your delivery service is available.
Highlight local events or store openings.
Adapt the message: someone in London could see ‘Courier delivery today’, while visitors in the rest of the UK see ‘Free shipping details’.
Hide the widget in selected regions (Do not show in selected locations) where it isn’t relevant — for example, don’t show a U.S. promo to European visitors.
How Claspo determines location
Claspo uses the visitor’s IP address to identify their location. This information is matched against IP geolocation databases to detect the country, region, or city. While country-level data is very accurate, the precision for regions and cities depends on the quality of the IP database — large cities are usually reliable, but smaller areas may vary.
If you already know your visitor’s location — for example, if they’re logged in and you have their shipping address — you can pass that information via JavaScript API. To use this custom data in your widget display logic, set up a ‘JavaScript Variable’ rule instead of the built-in ‘In locations’ option.
How to set it up
Open your widget in the Claspo builder.
Go to Triggering → In locations.
Choose one option:
Show in all locations — widget visible everywhere (default).
Show in selected locations — widget visible only where you choose.
Do not show in selected locations — hides it in chosen places.
4. Click Select locations.
Pick a country.
Looking for a smaller area? Cities and regions are there too.
Use the search bar to find it faster.
5. Save your changes.
Testing & troubleshooting
Once geo rules are on, it’s worth checking if the widget shows up where and when it should. Here’s what usually helps:
Use a VPN. That’s one way to check how the widget looks in another country. Just connect, reload the site, and see if it appears.
Can’t see your widget? It might be blocked for your country or city. Open your targeting settings and double-check the exclusions.
Test on multiple devices. Location rules work across desktop and mobile, but always check both to confirm the widget appears as expected.