Pop-up Pro - Geo-IP Integration

Hi,

I see in the options for popup pro that you can geolocate by country but I was wondering if there is a way to integrate more specific location info. For instance, I use the MaxMind API to geolocate users on other sites, does this plugin have an option to integrate with 3rd party providers to get more granular geo-targetting.

  • Jude

    Hi there Lucas

    This is currently not possible without custom code, however the plugin is modular meaning you should be able to replace the GeoLocation provider with MaxMind pretty easily.

    This is something you can add in the wp-config.php to do this

    // The url that we are using to return the country.
    // It should only return the country code for the passed IP address!
    # Example:
    # define( 'PO_REMOTE_IP_URL', 'http://api.hostip.info/country.php?ip=%ip%' );
    if ( ! defined( 'PO_GLOBAL' ) ) {
    	define( 'PO_REMOTE_IP_URL', '' );
    }

    Cheers
    Jude

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.