default location according to the ip address of site user

  • 2
  • Question
  • Updated 6 years ago
i want to show the default location according to the ip address of site user . how can i show the deafault location according ip of the user of site
Photo of deepika123


  • 1 Post
  • 0 Reply Likes

Posted 7 years ago

  • 2
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 124 Reply Likes
use the query search "autoip"
Photo of Mike Hagquist

Mike Hagquist

  • 1 Post
  • 0 Reply Likes
Brendan, can you give an example of how to do this with the weather sticker code? I have tried several ways and keep getting URL errors. I'm not a programmer. I tried to post my code here but was not successful at that either!

In my weather sticker code statement, if I change query=43085 with query=autoip and remove zip=43085 I get URL errors.

Photo of WunderWilliam


  • 267 Posts
  • 18 Reply Likes
This will show you the closest stations, as well as current conditions based on IP:
Photo of Jasen Burkett

Jasen Burkett

  • 4 Posts
  • 0 Reply Likes
How can we get the users ip use that to get their zip code, and the store that into a cookie and also use that zip given to enter into our ZIP HERE


Thanks for help in advance