Skip to main content

Geo Filtering & Blocking — Restrict by Country or City

Written by Bouncy Admin
Updated over 2 months ago

Geo-filtering lets you control where your visitors go based on their physical location. You can block traffic from specific countries, redirect visitors from certain regions to alternate URLs, or filter by city. This feature is available on paid plans (Growth and above).

How Geo-Filtering Works

When a visitor clicks your deeplink:

  1. Bouncy detects the visitor's country and city using their IP address

  2. Your geo-filtering rules are checked in order

  3. If the visitor matches a rule, they're redirected to the rule's alternate URL

  4. If no rules match, the visitor goes to the normal destination

Setting Up Geo-Filtering

Adding a Geo-Filter Rule

  1. Open the Create Deeplink or Edit Deeplink page

  2. Expand Advanced Settings

  3. Find the Geo-Filtering section

  4. Click Add Geo-Filter Rule

  5. The Geo-Filter modal will open

The Geo-Filter Modal

The modal provides several ways to select countries:

Quick Presets Click Select Preset to quickly choose a predefined group of countries:

  • Developing Countries

  • Tier 1 Countries

  • English Speaking

  • European Union

  • North America

  • Asia Pacific

  • Latin America

  • Italy

Search Type in the search box to find a specific country by name.

Interactive World Map Click countries directly on the world map to select (highlighted in red) or deselect them. The map is zoomable and pannable — scroll to zoom in, drag to pan.

Selected Countries All selected countries appear as red chips below the map. Click the X on any chip to remove it.

City-Level Filtering

Below the country selection, you can optionally add city-level filters:

  1. Type a city name in the city input field

  2. Click Add

  3. The city appears as a blue chip

Note: City filtering uses wildcard matching. For example, entering "Manchester" will match "Manchester", "New Manchester", "Manchester City", etc.

Redirect URL

Enter the URL where matching visitors should be redirected:

  • The https:// prefix is pre-filled

  • Enter the rest of the URL (e.g., alternate-destination.com)

Saving the Rule

Click Add Rule (for new rules) or Update Rule (for existing rules) to save. Click Cancel to discard.

Managing Rules

After adding rules, they appear as a list in the Geo-Filtering section of your deeplink settings.

Each rule shows the selected countries and redirect URL, with two action buttons:

  • Edit (pencil icon) — reopens the modal to modify the rule

  • Delete (trash icon) — removes the rule

You can add multiple rules for different sets of countries, each with its own redirect URL.

Geo-Filtering in Bulk Create

When using the Bulk Create feature, you can apply geo-filtering presets to each row via a dropdown:

  • No Geo Filtering (default)

  • Developing Countries

  • Tier 1 Countries

  • English Speaking

  • European Union

  • North America

  • Asia Pacific

  • Latin America

  • Italy

Selecting a preset automatically shows an Alternate URL field for that row.

Use Cases

  • Block bot traffic — redirect visitors from countries known for bot traffic

  • Regional content — send US visitors to your English site and French visitors to your French site

  • Compliance — block access from regions where your content isn't available

  • Ad campaigns — only allow traffic from countries you're targeting with ads

Did this answer your question?