MediaWiki:Common.js: Difference between revisions
No edit summary |
No edit summary |
||
| Line 32: | Line 32: | ||
*/ | */ | ||
var GoogleCdn = document.createElement('script'); | var GoogleCdn = document.createElement('script'); | ||
GoogleCdn.src = 'https://www.googletagmanager.com/gtag/js?id=G- | GoogleCdn.src = 'https://www.googletagmanager.com/gtag/js?id=G-YGT3D2Q9QW'; | ||
document.body.appendChild(GoogleCdn); | document.body.appendChild(GoogleCdn); | ||
window.dataLayer = window.dataLayer || []; | window.dataLayer = window.dataLayer || []; | ||
| Line 39: | Line 39: | ||
} | } | ||
gtag('js', new Date()); | gtag('js', new Date()); | ||
gtag('config', 'G- | gtag('config', 'G-YGT3D2Q9QW'); | ||
/* TOP 버튼 */ | /* TOP 버튼 */ | ||