I need to be able to pass variables between several pages. This probably isnt a specific Edge question however im stuck to find an example which describes exactly what Im after.
Basically I need to track which pages I have accessed on my website. Ive been looking into Jquery which I think is the way i need to go by carrying the variables within the URL. So for example when page1.html is opened the URl will add 'page1=1' (1 being yes its opened), then when page 2 is opened 'page2=1' is added on to the URL along with the page1 variable.I then need to be able to access these variables.
Can anyone point me in the right direction please?
Thanks for your help!
here is a tutorial to access url vaiables
You could also look into HTML5 localstorage api for accessing variables between different pages