O que são URIs e URLs? Entenda as diferenças e como utilizá-los
window.dataLayer = window.dataLayer || []; function sendPageview() { window.dataLayer.push({ event: 'pageview', pagePath: window.location.pathname + window.location.search, pageTitle: document.title }); } window.addEventListener('popstate', sendPageview); Pular para o conteúdo