구글 어날리틱스 코드

<script src="http://www.mins01.com/js/ForGoogle.js"></script>


<script src="/js/ForGoogle.js"></script>
<!-- google analytics -->
<script>ForGoogle.analytics()</script>


<!-- Global site tag (gtag.js) - Google Analytics -->
<script>
(function(){
switch(document.location.hostname){
case "mins01.com":
case "www.mins01.com":
var siteId= 'UA-28167507-1';
break;
case "mins01.github.io":
var siteId= 'UA-28167507-3';
break;
default:
var siteId= null;
break;
}
if(siteId===null){
return;
}
var src = 'https://www.googletagmanager.com/gtag/js?id='+siteId;
document.write('<scrip');
document.write('t async src="'+src+'"></scr');
document.write('ipt>');

window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', siteId);
})()
</script>
댓글
  • No Nickname
    No Comment
  • 권한이 없습니다.
    {{m_row.m_nick}}
    -
목록형 📅 달력형