If you use Image or Video in header you can enable this option to detect user location on homepage

Demo – https://london.wpresidence.net/

Help: how to add image in header – http://help.wpresidence.net/article/1-30-3-header-image-and-parallax-effe/

Help: how to add video in header – http://help.wpresidence.net/article/1-30-3-video-header-option-for-each-page-post/