MediaWiki:Common.js: mudanças entre as edições
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 6: | Linha 6: | ||
/* Google Analytics | /* Google Analytics | ||
var imported = document.createElement('script'); | var imported = document.createElement('script'); | ||
imported.src = '[https://www.googletagmanager.com/gtag/js?id=UA-162806132-1' https://www.googletagmanager.com/gtag/js?id=UA-162806132-1']; | |||
document.head.appendChild(imported); | |||
window.dataLayer = window.dataLayer || []; | |||
function gtag(){dataLayer.push(arguments);} | |||
gtag('js', new Date()); | |||
gtag('config', 'UA-162806132-1'); | |||
| | ||
