MediaWiki:Common.js: mudanças entre as edições
Aparência
Created page with "<!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-HRS0M6CFEZ"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-HRS0M6CFEZ'); </script>" |
Sem resumo de edição |
||
| Linha 1: | Linha 1: | ||
/* Google tag (gtag.js) - GA4 */ | |||
window.dataLayer = window.dataLayer || []; | |||
function gtag(){ dataLayer.push(arguments); } | |||
// carrega o script externo | |||
mw.loader.load('https://www.googletagmanager.com/gtag/js?id=G-HRS0M6CFEZ'); | |||
// inicializa | |||
gtag('js', new Date()); | |||
gtag('config', 'G-HRS0M6CFEZ'); | |||