Cart 0
document.querySelectorAll('a[href^="#"]').forEach(anchor => { anchor.addEventListener('click', function(e) { e.preventDefault(); const currentURL = new URL(window.location.href); const utmParams = currentURL.search; const hash = this.getAttribute('href'); const newURL = currentURL.origin + currentURL.pathname + utmParams + hash; window.location.href = newURL; }); });