안녕하세요,
kboard/template/media.php 를 보니까 google analytics 스크립트와 추적코드가 있던데 용도가 뭔가요??
안녕하세요~^^
KBoard 플러그인 media.php 파일에서
아래의 코드를 말씀하시는 건지요?
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-23680192-8']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackEvent', 'location_host', window.location.host]);
_gaq.push(['_trackEvent', 'location_href', window.location.href]);
(function(){
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
위의 코드는 KBoard 미디어 추가 기능의 사용 횟수 정도를 확인하려는 이유로 추가해두었습니다.
특별한 용도가 있지는 않습니다.
KBoard 플러그인 기능에는 영향을 미치지 않기 때문에
필요하지 않다면 해당 코드를 제거하셔도 됩니다.
고맙습니다.
AI 상담