Title: ip address detection incorrect
Last modified: November 2, 2024

---

# ip address detection incorrect

 *  Resolved [fordiy](https://wordpress.org/support/users/fordiy/)
 * (@fordiy)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/ip-address-table-incorrect/)
 * My address is located in Australia, but it is recognized as being in Canada. 
   Additionally, the Cloudflare IP addresses detection are incorrect.
    -  This topic was modified 1 year, 7 months ago by [fordiy](https://wordpress.org/support/users/fordiy/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fip-address-table-incorrect%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * (@bensibley)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/ip-address-table-incorrect/#post-18110844)
 * Hi there,
 * Thanks for using Independent Analytics!
 * These are the headers that IA checks, in this order:
    - HTTP_X_FORWARDED_FOR
    - HTTP_X_FORWARDED
    - HTTP_FORWARDED_FOR
    - HTTP_FORWARDED
    - REMOTE_ADDR
    - HTTP_CF_CONNECTING_IP
    - HTTP_CLIENT_IP
    - HTTP_INCAP_CLIENT_IP
    - HTTP_CF_CONNECTING_IP
 * It sounds like one of these could be returning the location of the CDN or server,
   rather than your location. If you have a custom configuration, we have an easy
   way to supply a custom header instead: [https://independentwp.com/knowledgebase/developer/detect-ip-address-custom-headers/](https://independentwp.com/knowledgebase/developer/detect-ip-address-custom-headers/)
 * That will allow you to use a different header to get the proper IP address from
   the visitor.

Viewing 1 replies (of 1 total)

The topic ‘ip address detection incorrect’ is closed to new replies.

 * ![](https://ps.w.org/independent-analytics/assets/icon.svg?rev=3504049)
 * [Independent Analytics - WordPress Analytics Plugin](https://wordpress.org/plugins/independent-analytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/independent-analytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/independent-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/independent-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/independent-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/independent-analytics/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ben Sibley](https://wordpress.org/support/users/bensibley/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/ip-address-table-incorrect/#post-18110844)
 * Status: resolved