The building block of all geo-targeting in GeoSwap
A segment is a reusable group of visitors you want to target. Think of it like an audience in Google Ads, but for your website. You define who belongs in a segment — by country, state, city, radius, or IP address — and then use that segment across every GeoSwap product.
Create a segment once, and it works everywhere. Use it in your redirects, your notification bars, your content rules, your popups, your geo links — all of them. One segment, unlimited uses.
Create a segment called "Europe" with all 27 EU countries. Now use that same segment in your geo redirects (send EU visitors to your .eu domain), your notification bars (show a GDPR consent notice), and your content rules (display Euro pricing). Update the segment once — say you add the UK after a policy change — and every rule using it updates automatically.
Traditional geo-targeting tools make you pick countries on every single rule. Have 20 redirect rules for Europe? You picked 27 countries 20 times. Need to add a country? Update all 20 rules manually. Miss one and you have a gap in your targeting.
Create your "Europe" segment once. Use it in any rule across any product. Update the segment and every rule that references it updates instantly. No searching through rules. No missed updates. No inconsistencies.
This is especially powerful for agencies managing dozens of rules across multiple products. Change one segment, and your entire geo-targeting strategy updates in sync.
Every segment uses one match type. Here are the seven types you can choose from, with real-world examples for each.
Target visitors from specific countries. Pick one or more countries from the list, and any visitor located in those countries will match.
"US & Canada" — United States and Canada
Redirect North American visitors to your .com store, or show USD pricing to US visitors.
Target everyone EXCEPT specific countries. This is the inverse of country matching — every visitor who is NOT in the listed countries will match.
"Not US" — Everyone outside the United States
Show a shipping notice to international visitors, or display a language switcher to non-English countries.
"Not Country" segments include search engine bots (they have no identifiable country). This can cause bots to be redirected away from your pages, hurting SEO. Consider using positive country matching instead — it's safer and more predictable.
Target visitors in specific US states or Canadian provinces. This uses region-level IP geolocation, which is highly accurate for most areas.
"California & New York" — Visitors from CA and NY
Show state-specific tax notices, legal disclaimers, or promotions for regional events.
Target everyone except specific states or provinces. Like Not Country, this is an exclusion-based match — anyone NOT in the listed regions will match.
"Not Texas" — Everyone outside Texas
Show a promotion everywhere except states where a regulation applies.
Target visitors in specific cities. City-level matching depends on IP geolocation accuracy, which is roughly 80% for cities. Best used for informational content rather than hard restrictions.
"London, Paris, Berlin"
Show city-specific promotions, event notices, or store locator banners.
Draw a circle on the map by setting a center point (latitude and longitude) and a radius in kilometers. Any visitor within that circle matches.
50km around your store in downtown Chicago
Show "Visit our store!" banners to nearby visitors, or target attendees near a conference venue.
Target specific IP addresses or IP ranges. Supports individual IPs, IPv6 addresses, and CIDR notation for ranges.
192.168.1.0/24 or a specific office IP
Internal testing before going live, targeting partner networks, or office-only previews.
Don't want to build segments from scratch? GeoSwap includes ready-made templates for the most common regions. One click and you have a professionally-curated segment with all the right countries.
Every workspace comes with a special segment called All Countries. It's auto-created when you set up your workspace and it matches every visitor, regardless of location.
Matches all visitors — it's your universal catch-all
Can't be edited or deleted — it's always there as a safety net
Used as the default fallback for Geo Routes and new rules
Perfect for your lowest-priority variant: "if nothing else matches, show this"
The workflow is simple: create a segment, then use it in any product. Here's the flow.
Go to Segments in your dashboard and click New Segment. Pick a match type, add your locations, and give it a descriptive name.
When you create a rule in Geo Redirects, Geo Content, Geo Links, Geo Bars, Geo Popups, or any other product — you'll pick a segment for each variant. Your saved segments appear in a dropdown, ready to use.
Need to add a country? Edit the segment. Every rule that uses it picks up the change immediately. No need to hunt through rules or worry about missed updates.
The Segments page in your dashboard shows all your segments at a glance — with match type, included locations, and how many rules reference each one.

Name segments descriptively: "EU — GDPR Region" is better than "Segment 1". Your future self will thank you.
Use labels to organize segments by purpose — marketing, compliance, testing, client name.
Check segment usage before deleting. The dashboard shows which rules reference each segment, so you won't accidentally break anything.
Start with presets for common regions, then customize. It's faster than building from scratch.
Use positive matching (Country) over negative matching (Not Country) whenever possible. It's more predictable and SEO-safe.
Segments define who you're targeting. Variants define what they see.