const currentUrl = encodeURIComponent(window.location.href);