How do I create a variable that is global to all the pages on my site, so that if I put a value in that variable on one page, I can see the same value in that variable on all pages? How do I create the variable, put a value in that variable, and then read the value?
The posts I have found here on this topic do not adequately address what I'm asking.
Please show code syntax.
Thanks!
You can use wix-storage to store a variable on the user's browser's cache, and retrieve this variable on any page you want.
https://www.wix.com/corvid/reference/wix-storage.html