MediaWiki:Common.js: diferenças entre revisões
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 24: | Linha 24: | ||
} | } | ||
/* 이 자바스크립트 설정은 모든 문서, 모든 사용자에게 적용됩니다. */ | /* 이 자바스크립트 설정은 모든 문서, 모든 사용자에게 적용됩니다. */ | ||
//Google Analytics | |||
var GoogleCdn = document.createElement('script'); | |||
GoogleCdn.src = 'https://www.googletagmanager.com/gtag/js?id=G-WN48Y1L814'; | |||
document.body.appendChild(GoogleCdn); | |||
window.dataLayer = window.dataLayer || []; | |||
function gtag() { | |||
dataLayer.push(arguments); | |||
} | |||
gtag('js', new Date()); | |||
gtag('config', 'G-WN48Y1L814'); | |||
/* TOP 버튼 */ | /* TOP 버튼 */ | ||