top of page
Retreat Testimonials
bottom of page
// Check if there is a referral in the URL and store it in a cookie if (window.location.search.indexOf('ref=') !== -1) { const urlParams = new URLSearchParams(window.location.search); const referralID = urlParams.get('ref'); document.cookie = `referralID=${referralID}; path=/; max-age=31536000`; // store for 1 year }