Enabling Location Persistence
This topic contains 6 replies, has 4 voices, and was last updated by Greg Barr 5 years, 10 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: location manager
-
AuthorPosts
-
December 31, 2018 at 4:01 am #460747
I can’t find in the V2 Location Manager settings or docs how to make it so my site will remember a user’s location until they close their browser. Lil help?
P.S. This new location setter is sweet! I love that users can clear location by clicking the X that appears when you mouse over the map icon, but it’s a really easy feature to miss. I’ve had to point it out to everybody I’ve watched test my site. I recommend and request that you make it so the X appears when you mouse over the map icon or the text. In the meantime, is it possible to do that happen with CSS?
December 31, 2018 at 1:10 pm #460800The settings for Archive and Detail page filters for location are in the Locations tab
GD, Settings, Locations, Show Advanced, Archive and Detail page URLs
I will flag your question about clearing location for the developers.
December 31, 2018 at 5:10 pm #460846Thanks Alex, but I think I’ve got the settings you’re talking about set correctly already. Is it these you’re talking about?
Location is already preserved when people bounce between GD-pages, and appended into URLs for location specificity. I’m talking about having my site remember and utilize their location even when they visit non-GD pages. Right now just clicking to a non-GD page like Cornhole 101 clears their setting which is unexpected and lame.
In this old thread Stiofan said “The location manager can be set to remember it as a session, which is until the browser is closed (whole browser not just the tab)”
That’s what I’m looking for. Can you please help me achieve that?
December 31, 2018 at 5:37 pm #460850Hi Greg,
GD doesn’t add location to non GD pages.
We only add it to he directory side of the website.
Thanks
December 31, 2018 at 6:06 pm #460856Yes, I understand that. And that’s the way it should be.
But whatever location a user has set should be remembered, the way Stiofan describes, even if they visit a non-directory page. Right? Currently if you go to my site, set a location, then browse to the content page “Cornhole 101” you’ll see that your location gets wiped clean. That’s what I want to fix.
I want what Stiofan described: “The location manager can be set to remember it as a session, which is until the browser is closed (whole browser not just the tab), it would require a cookie to remember it past closing the browser, which is not available at the moment but would only take a small snippet of code to add.”
I don’t need/want it to remember past closing the browser with a cookie, just as long as they are on my site that one time.
December 31, 2018 at 6:40 pm #460862Hi Greg,
In v2 we decided to not make this persistent on non location pages, the reason for this is that is breaks most caching, we have built GDv2 to be cache friendly which has changed the way a couple of features work but means any and all caching will work. The search bar will remember your last searched location and show you that when clicking it, there is also a recently visited listings widget that you could show on non GD pages that would take you right back to a details page in that location.
Thanks,
Stiofan
December 31, 2018 at 6:48 pm #460866First, thanks for response.
But…ugh. Crap. No like. It’s not like users “get” the difference between directory and non directory pages, so they’ll just be like “Oh I set my location and it remembers me!” followed by “WTF why did my location get deleted?” Frankly it feels like a bug.
I think that’s something you should let developers choose via a setting. In that old V1 post you said it “would only take a small snippet of code” to make it so location preservation persisted even beyond closing of browser. Any chance an even simpler snippet could be used to do what I’m asking for? : )
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket