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

Book your session 

bottom of page