Country · State · City · One script tag

Geoblocking
for any website

Block or redirect visitors by country, state, or city. Works on any site, any framework. No server config, no DNS changes, no edge workers.

<script src="https://ackgeo.com/geo.js?key=akg_your_key" ></script>
Features

Country rules

Block or allow entire countries using ISO codes. Unlimited country rules on all plans including free.

State & region rules

Target U.S. states or international regions with ISO subdivision codes. 2 free, unlimited on Pro.

City-level rules

Pinpoint a specific city by name. 2 cities free, unlimited on Pro and above.

Custom redirects

Send blocked visitors to your own page, a waitlist, or a regional mirror. Custom URLs on Pro.

Instant setup

One script tag in your <head>. Rules apply in real-time with no infrastructure changes.

Traffic analytics

Hit counts, blocked requests, and country breakdowns. Up to 1 year of history on Business.

Use cases

Content licensing & rights

Restrict streaming, articles, or downloads to regions where you hold distribution rights.

Regulatory compliance

Block visitors from GDPR regions, OFAC-sanctioned countries, or jurisdictions where your service isn't licensed.

Staged rollouts

Launch in one country first. Block everywhere else during beta, then open up region by region.

Regional pricing pages

Redirect visitors to country-specific pricing, currency, or landing pages automatically.

Waitlists & invite-only

Keep your app invite-only by city or country during early access. Open the door on your schedule.

Selective visibility

Keep certain content or tools visible only in specific regions — quietly limit reach without public explanation.

How it works

Set up in 3 minutes

No server config, no edge workers, no DNS changes. Just a script tag.

1

Create a free account

Sign up with your email. No credit card required.

2

Add your site & rules

Enter your domain and configure which countries, states, or cities to block.

3

Paste the snippet

Copy your unique script tag and paste it into your site's <head>.

4

Watch the stats

Real-time hit counter and geo breakdown in your dashboard.

Try it now

Block everyone except you

No account needed. We detect your IP and generate a working snippet right now.

Your IP will be permanently whitelisted. Everyone else gets blocked.

Detecting your IP…