Skip to content

GeoIP Target Redirection and Target Filter Redirector using GeoIP API (JS)

License

Notifications You must be signed in to change notification settings

OpenAff/geoip-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoIP Target Filter

Introduction

GeoIP Target Redirection and Target Filter Redirection!

These are a JavaScript based GeoIP scripts which lets you:

  1. Redirect targeted visitors to their appropriate URLs, useful if you have pages/sites/offers which are targeted to specific countries or pages/sites in local language.
  2. Filter out targeted and non-targeted visitors in mass a.k.a White-list countries or Black-list countries so their visitors go to a specific URL.

You can also use this script for various other use-cases like:

  • Display banners / images / ads to targeted visitors
  • Load local offers
  • Show country specific pop-ups
  • For tracking purposes
  • Sky is the limit, use it for just about anything!

Usage

  1. geoip-target-redirect.html Use this file or content to redirect visitors to country specific links.
  2. geoip-target-filter.html Use this file or content to filter visitors based on the countries aka geo-filtering in mass.

Contributions

Contributions are welcome, Please create a PR.

Issues

Create a new issue if you have any problems/suggestions/feedback.

Credits

License

The MIT License (MIT). Please see License File for more information.