WordPress.org

Support

Support » How-To and Troubleshooting » Detecting browser locale

Detecting browser locale

  • Hi

    I am trying to figure out the best way to get a visitors browser locale so I can display a specific ad for them

    The ads I have are either US or UK and my visitors are split pretty evenly across both sides of the pond.

    Can anyone offer some assistance on how to detect a visitors location please? Preferably in PHP

  • The topic ‘Detecting browser locale’ is closed to new replies.