import wixLocation from 'wix-location';
import { session } from 'wix-storage'; //if you want it to stay after the user has left use local instead of session
$w.onReady(function () {
let path = wixLocation.path //not the full url just everything after the first /
let sBreadtrail = session.getItem('breadtrail')
if (sBreadtrail !== null) {
let aBreadtrail = JSON.parse(sBreadtrail) //string to array
aBreadtrail.push(path)
sBreadtrail = JSON.stringify(aBreadtrail)
} else {
sBreadtrail = JSON.stringify([path])
}
session.setItem('breadtrail', sBreadtrail)
});
top of page
Injury check up
"It'll go away"
15 min15 minGym Geek
Service Description
10 minute catch up with Lloyd regarding Injury concerns
Upcoming Sessions
Contact Details
15 Cambridge Road, Granby Industrial Estate, Weymouth, UK