Debugging

You are here:

Cache mode

To avoid the waste of resources when "Cache mode" is turned on we save the user geolocation once it’s generated. That means that if you change your location using a VPN you will still see the first location you used to visit the site unless you deactivate cache mode.

Debugging options

In order to debug properly the plugin we added some methods to make it easier for you. The first thing we recommend is simple visiting the debug Data page in your wp-admin area. Or you could creating a test page and paste the following shortcode (you need to have GeotargetingPRo installed):

[geot_debug]

Using a VPN

You can use any VPN software like “Hola Internet” to change your location.

Query string parameters

You can pass some query strings to your site url in order to see the page as if you were from certain country. Ajax mode needs to be disabled in order to use them.

  • geot_debug : Accepts country name . It’s required for all the query string debug options eg: domain.com/?geot_debug=United States
  • geot_debug_iso : Accepts country ISO CODE . Eg: domain.com/?geot_debug=United+States&geot_debug_iso=US
  • geot_state : Accepts State names. Eg: domain.com/?geot_debug=US&geot_state=Florida
  • geot_state_code : State iso code. Eg: domain.com/?geot_debug=US&geot_state=Florida&geot_state_code=FL
  • geot_city : City name. Eg: domain.com/?geot_debug=US&geot_state=Florida&geot_state_code=FL&geot_city=Miami
  • geot_zip: Eg: domain.com/?geot_debug=US&geot_state=Florida&geot_state_code=FL&geot_city=Miami&geot_zip=33166