미디어위키:Common.js: 두 판 사이의 차이

편집 요약 없음
태그: 수동 되돌리기
편집 요약 없음
1번째 줄: 1번째 줄:
//window.addEventListener('DOMContentLoaded', function() {
//Google Analytics
// if (window.location.href.indexOf("action=tinymceedit") > -1) {
var GA_cdn = document.createAttribute('script');
//       document.querySelector('.wikiEditor-ui-top').style.display = 'none';
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');


/* TOP 버튼 */
/* TOP 버튼 */