Execute JavaScript code
based on geolocation

Run JavaScript code on your website based on a visitor's country, state or city. Execute third-party tools such as popups, forms and tracking scripts based on visitor geolocation.

Get started in minutes + No credit card required



Geo based JavaScript
made simple.

Run third-party JS snippets based on location
Execute custom geolocation JavaScript code
Run cookie consent scripts for EU visitors only
Easy to set up and integrate into most websites
Run third-party popups and trackers based on location

Do you use a popup or lead capture tool to display visitor location? Wrap these scripts with Geo JavaScript and ensure that they're only seen by visitors from selected locations.

Execute custom geolocation JavaScript code

Do you run customized JavaScript that you need to execute in particular locations? Just drop in your code into our tool to enable execution for visitors from specific locations.

Run cookie consent scripts for EU visitors only

With GDPR in action, you may need to run particular services for EU visitors or non-EU visitors. Our Geo JavaScript tool can easily execute these scripts specifically for EU or non-EU visitors.

Easy to set up and integrate into any website

Our geolocation JavaScript code is easy to set up and integrate. Just drop in your third-party JavaScript code into our location rules and add our code to your website.


Use advanced website localization to
increase conversions

Boost visitor experience

Boost user experience by geo targeting page content.

Increase audience trust

Make your audience 'feel local' by geo personalizing web elements.

Skyrocket conversions

See an instant boost in coversion using geo personalization.


Execute geo targeted JavaScript
in minutes.

location rules.

Use our intuitive dashboard to create location segments. Specify JavaScript to execute for each location segment.


code into website.

Copy a one-time install JavaScript snippet into your website footer.

Your traffic
experiences geo targeting

Your visitor's browser will execute the location based JavaScript if their location matches.

"Exactly what we needed. Collecting interest locally, for a national website"

- Salvatore S. (Digital Director)

geolocation segmentation

Continent, country, state & city JavaScript

Execute JavaScript based on visitor country, state/region or major city. Our tool is effective in all countries, states and cities worldwide.

IP address & IP range JavaScript

Execute JavaScript based on a visitor's IP address or an entire IP range. Useful for targeting specific user groups, companies or known visitors.

Radius based JavaScript

Use latitude-longitude-radius to 'capture' an area surrounding a point. Minimum allowable radius is 50km.

Inclusion & exclusion rules

Use inclusion & exclusion rules for easier targeting. For example, execute JavaScript for visitors from the US except those from California.

geo JavaScript rules.

Multiple JavaScript rules

Create as many geolocation JavaScript rules as you wish, each with its own locations. Each rule can have its own JavaScript.

Default JavaScript rule for non matching locations

Optionally execute JavaScript for visitors who don't match any rules. Useful if you need to run JavaScript for general visitors.

Execute JavaScript on specific pages & subpages

Specify if the JavaScript is to execute on all pages, a specific page or all sub pages of a website.

"Great software with incredible support"

- Keith C. (Director IT)


Latest resources

Guide to redirection and geolocation SEO
At Geo Targetly, one of our core services is to offer clients geo-based redirection. We answer ‘How is geo redirecting going to affect my geolocation SEO?’
Everything you need to know about IP geolocation
IP geolocation sounds like complicated internet jargon when, in reality, it refers to one of the most essential services for businesses and law enforcement agencies.
Hreflang tag SEO guide for multi-regional websites
Correctly implemented hreflang tags are super essential in ensuring search engine crawlers can understand the site structure of a multi-regional / multilingual website.


Total events processed


Server uptime


Geo personalization events/month

Powering geo personalization for
2000+ SMBs & enterprises.

Scalable to handle millions of visitors a day

- Bullet proof scalable servers to handle your demand

Compatible with leading
CMS & eCommerce platforms.

Shopify geo targetingBig Commerce geo targetingSquarespace geo targetingWordpress geo targetingJavascript HTML Shopify geo targetingMagento geo targetingWIX geo targetingWebflow geo targetingPrestashop geo targetingJoomla geo targetingClick Funnels geo targetingWoo Commerce geo targetingOpen Cart geo targetingHubspot geo targetingDrupal geo targetingKentico geo targetingContentful geo targetinggeo targeting on all platforms

"Hands down one of the best marketing tools you are not using"

Chad T. - Web & Digital Media Director

Get started in minutes
No credit card required
Free on-boarding support
Your Privacy

We uses cookies to improve your experience on our site, analyse site traffic and to show you relevant content. By using our website, you consent to our use of cookies. For more information please, see our Privacy Policy