Skip to main content

Overview

Geographic restrictions allow you to control who can access your shortened URLs based on their location. This is useful for:
  • Regional campaigns
  • Compliance with local regulations
  • Content licensing restrictions
  • Targeted marketing

Allow Specific Countries

Only allow access from specific countries:

Block Specific Countries

Block access from specific countries:

Country Codes

Use ISO 3166-1 alpha-2 country codes: Full list of country codes

Device Restrictions

Combine with device restrictions:

Regional Campaigns

Create region-specific campaigns:

Access Denied Page

When users from restricted locations try to access the URL, they see a custom message explaining the restriction.

Analytics by Country

Track which countries are trying to access your URLs:

Best Practices

Use allowedCountries for exclusive regional content
Use blockedCountries for compliance requirements
Test restrictions before launching campaigns
Monitor analytics to understand blocked traffic
Provide clear messaging for restricted users

Example: Multi-Region Campaign Manager