Next.Js x React.Js: descubra suas diferenças e qual escolher!
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