Streaming live at 10am (PST)

Choose location on homepage - Save to Cookie? Javascript help

Continuing the discussion from Is this possible in Webflow? Location specific slider

I need some help figuring out how to have a cookie save where a user has selected as their “home store”. When you visit the home page you are prompted to choose a “home store” once you select which store you’d like to be your home store, you are forwarded to that “home-store-location”.

The problem is I don’t want the users to have to choose the home store more than once. After they choose, and then try to visit the home store again, it should forward them to the home-store-location they previously chose so they aren’t bothered each time.

Is this something that can be achieved fairly easily with a javascript cookie?

Thanks for the insight, I’m fairly new to all this.

Currently only the ATX stores are linked to a homepage.

read only link