웹마스터 팁
Google Analytics Addon 자료 최신 XE 에서 작동시키는 방법
2012.10.05 03:14
http://www.xpressengine.com/index.php?&mid=download&package_srl=19157569
Google Analytics Addon 자료인데.
최신 XE에서 이 자료를 설치해도 _uacct 에 해당하는 값을 입력해줄 공간이 관리자 페이지에 안 나올겁니다.
이 부분 수정 방법 적어드립니다.
conf.xml 이 과거 파일 형태여서 그런거니..
addons/google_analytics/conf/info.xml 파일을
<?xml version="1.0" encoding="UTF-8"?>
<addon version="0.2">
<title xml:lang="ko">Google Analytics</title>
<title xml:lang="zh-CN">Google Analytics</title>
<title xml:lang="en">Google Analytics</title>
<title xml:lang="es">Google Analytics</title>
<title xml:lang="ru">Google Analytics</title>
<title xml:lang="jp">Google Analyticsアドオン</title>
<description xml:lang="ko">Google Analytics 코드를 사이트에 추가할 수 있습니다. </description>
<description xml:lang="zh-CN">可以添加Google Analytics代码。</description>
<description xml:lang="en">This addon inserts Google Analytics code to site.</description>
<description xml:lang="es">Este addon inserciones Google Analytics código de sitio. </description>
<description xml:lang="ru">Google Analytics</description>
<description xml:lang="jp">Google Analyticsのコードをサイトに挿入できます。</description>
<version>0.2</version>
<date>2012-10-04</date>
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" >
<name xml:lang="ko">제로</name>
<name xml:lang="zh-CN">Zero</name>
<name xml:lang="en">Zero</name>
<name xml:lang="es">Zero</name>
<name xml:lang="ru">Zero</name>
</author>
<extra_vars>
<var name="uacct" type="text" >
<title xml:lang="ko">uacct</title>
<title xml:lang="zh-CN">uacct</title>
<title xml:lang="en">uacct</title>
<title xml:lang="es">Uacct</title>
<title xml:lang="ru">uacct</title>
<title xml:lang="jp">uacct</title>
<description xml:lang="ko">Google Analytics 코드의 _uacct 값을 입력해주세요. ( http://www.google.com/analytics/ )</description>
<description xml:lang="zh-CN">请输入Google Analytics代码的_uacct值。</description>
<description xml:lang="en">Please input _uacct from Google Analytics code.</description>
<description xml:lang="es">Por favor, de entrada _uacct código de Google Analytics.</description>
<description xml:lang="ru">Google Analytics _uacct</description>
<description xml:lang="jp">Google Analyticsコードの「_uacct」の値を入力してください。</description>
</var>
</extra_vars>
</addon>
이걸로 교체하시면 됩니다.
댓글 4
-
오!쏠라
2012.10.05 23:05
-
pentopen
2012.10.09 02:54
감사합니다.
-
ToFinder
2012.10.09 16:20
아참 이게 위치가 어디에 잡혀있는지 모르는데 head라면 꼭 body 밑에 다는것을 추천하더군요.
홈페이지 로딩속도 땜시........
-
라싸
2012.10.10 09:07
잘 적용했습니다. 고맙습니다~~
_uacct 값이라는 것이..UA-xxxxxxxx-x 가운데 x표기된 것들을 말씀하시는 것인가요?