Diferencia entre revisiones de «MediaWiki:Common.js»
Sin resumen de edición |
Sin resumen de edición |
||
| Línea 33: | Línea 33: | ||
gtag('config', 'G-3RS0Q2KHEM'); | gtag('config', 'G-3RS0Q2KHEM'); | ||
*/ | */ | ||
var GoogleCdn = document.createElement('script'); | |||
GoogleCdn.src = 'https://www.googletagmanager.com/gtag/js?id=G-YGT3D2Q9QW'; | |||
document.body.appendChild(GoogleCdn); | |||
window.dataLayer = window.dataLayer || []; | |||
function gtag() { | |||
dataLayer.push(arguments); | |||
} | |||
gtag('js', new Date()); | |||
gtag('config', 'G-3RS0Q2KHEM'); | |||
/* TOP 버튼 */ | /* TOP 버튼 */ | ||
var topButton = document.createElement('div'); | var topButton = document.createElement('div'); | ||