미디어위키:Common.js: 두 판 사이의 차이
Resultofunion (토론 | 기여) 편집 요약 없음 |
Resultofunion (토론 | 기여) 편집 요약 없음 태그: 되돌려진 기여 |
||
| 112번째 줄: | 112번째 줄: | ||
}; | }; | ||
} | } | ||
//Google Analytics | |||
var GA_cdn = document.createAttribute('script'); | |||
GA_cdn.src = 'https://www.googletagmanager.com/gtag/js?id=G-YK34161JT4'; | |||
document.body.appendChild(GA_cdn); | |||
window.dataLayer = window.dataLayer || []; | |||
function gtag() { | |||
dataLayer.push(arguments); | |||
} | |||
gtag('js', new Date()); | |||
gtag('config', 'G-YK34161JT4'); | |||