My index page keeps asking for the users location when they land… even though I’ve removed all location based searches, inputs, and conditionals from the page. Is there something I am missing?
I’m am trying to get my app to stop asking user for location on homepage… and wait until they click specific buttons that prompt location use.
If you have the dynamic expression for ‘current geographic location’ it will prompt the user to consent to providing that data.
If you want to restrict it only when the user has taken some action, you would want to utilize custom states and conditionals to set the datasource to the ‘current geographic position’ conditionally and use the custom state as the condition and set the state value when the user takes the actions like pressing a button.
I don’t think that’s the cause… cuz some pages doen’t ask for it. I think it’s a cache issue. I submitted a support ticket. When I find out I’ll post answer here!
So as I expected… it was some type of cache on the repeating group. Removing the location sorting by user location was not enough… I had to clear the search expression and write it again without the location sorting.
Transitioning… What’s the best way to get a non-logged in users general location (like city) from their IP? Is there a reliable script or plugin that does this?
Do you possibly have an example of how to do this? I don’t see any options to set the location based on conditions with the base map that is included by default.
Thanks.