Dynamic content based on user location

Hello!

I believe this is simple but wanted to get some guidance. On my index page I would like to display dynamic content based on the conditions below.

IF Current User is Logged In OR Not A User THEN display Locations according to their geography ELSE display random locations

For example, if I have my location services turned on (mobile or web) OR am a registered user of the App, and I live in New York, display stores closest to my location in New York. If neither of those two statements are true then display random stores from any location.

I know this is simple when using a current user but how can this be achieved with a non registered user who has location services turned on?

Thanks!

Hi there @portageusa,

I believe you can use the “Current geographic position” option to set this up. I attached a screenshot below of what that might look like.

Hope this helps! :blush: