캐머런 상품 Q&A
페이지 URL | http://ippong.com/ |
---|---|
답변 알림 이메일 | eco21c@gmail.com |
안녕하세요,
쇼핑몰잘쓰고 있습니다.
다름이 아니고 XE 검색엔진 최적화모듈을 적용시키고
Google Analytics 추적 코드와 Naver Analytics 추적 코드 를 넣었는데 전혀인식이 안되서
할수없시 대체방법으로 메타태그를 직접넣으려합니다.
구글
<meta name="google-site-verification" content="iYMezoDYFrAIZ3PMq1urofOXH3DHg-rUmxnMqgv1ZDI" />
네이버
<script type="text/javascript" src="http://wcs.naver.net/wcslog.js"></script>
<script type="text/javascript">
if(!wcs_add) var wcs_add = {};
wcs_add["wa"] = "1cee0d23a2ad74";
wcs_do();
</script>
이걸 넣으려 레이아웃편집에서 어느부분에 넣으면 되을지 잘모르겟더라구요,
레이아웃편집html
------------------------------------------------------------------------------------------------
<include target="_settings.html" />
<p class="skipNav"><a href="#content" id="skip" tabindex="1">{$lang->skipnav}</a></p>
<div id="cameron-body">
<header id="header-top" class="cw-container newclearfix">
<div class="trends-container newclearfix">
<nav id="sign-nav" class="header-nav newclearfix">
<ul>
<!--@if($is_logged)-->
<li><a href="{getUrl('act','dispMemberLogout')}" tabindex="3">LOGOUT</a></li>
<li><a href="{getUrl('act','dispMemberInfo')}" tabindex="4">MYPAGE</a></li>
<!--@else-->
<li><a href="{getUrl('act','dispMemberLoginForm')}" tabindex="3">LOGIN</a></li>
<li><a href="{getUrl('act','dispMemberSignUpForm')}" tabindex="4">JOIN</a></li>
<!--@endif-->
<li><a href="{getUrl('','mid','cart')}" tabindex="5">CART</a></li>
<li><a href="{getUrl('','mid','cart','act','dispNcartFavoriteItems')}" tabindex="6">WISH</a></li>
<li><a href="{getUrl('','mid','orders')}" tabindex="7">ORDERS</a></li>
<li cond="$logged_info->is_admin == 'Y'" class="admin-link"><a href="{getUrl('','module','admin')}" target="_blank">ADMIN SITE</a>/<a href="{getUrl('','module','cympusadmin')}" target="_blank">SHOP</a></li>
</ul>
</nav>
<nav id="top-nav" class="header-nav newclearfix">
<ul>
<block cond="$header_nav->list">
<li loop="$header_nav->list=>$key,$val" cond="$val['link']"><a href="{$val['href']}" target="_blank"|cond="$val['open_window']=='Y'">{$val['link']}</a></li>
</block>
</ul>
</nav>
</div>
<div class="trends-container newclearfix">
<div class="isearch newclearfix">
<form action="{getUrl()}" method="get" no-error-return-url="true" id="isearch" class="newclearfix">
<input type="hidden" name="vid" value="{$vid}" />
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="act" value="IS" />
<input type="hidden" name="where" value="{$where}" />
<input type="hidden" name="search_target" value="title_content" />
<input type="text" name="is_keyword" id="search_input" class="inputText" value="{$is_keyword}" />
<input type="submit" class="submit search_submit" value="" />
</form>
</div>
</div>
</header>
<header id="header" class="cw-container newclearfix">
<div class="trends-container newclearfix">
<div class="trends-logo newclearfix">
<a href="{$logo_link}" id="logo" tabindex="2">
<!--@if($layout_info->logo)--><img src="{$layout_info->logo}" alt="{Context::getSiteTitle()}"|cond="$current_version > '1.7.0.0'" title="{Context::getSiteTitle()}"|cond="$current_version > '1.7.0.0'" style="margin-top:{$layout_info->logo_y}px"|cond="$layout_info->logo_y" />
<!--@else--><span class="trends-logoi" title="{Context::getSiteTitle()}"|cond="$current_version > '1.7.0.0'"></span><!--@endif-->
</a>
</div>
<nav id="main-nav" class="newclearfix">
<ul>
<li loop="$global_nav->list=>$key,$val" cond="$val['link']" class="current{@ $current=1}"|cond="!$current && $val['selected']">
<!--@if($val['href']!="/^^/")-->
<a href="{$val['href']}" class="nav-text"|cond="!$val['normal_btn']" target="_blank"|cond="$val['open_window']=='Y'">{$val['link']}</a>
<block cond="$val['selected']">{@ $nav1st=$val; $page_title=$val['text']; }</block>
<!--@else-->
<a> </a>
<!--@endif-->
</li>
</ul>
</nav>
</div>
<div cond="$module_info->category_display=='Y'" class="category-list trends-container newclearfix">
<ul id="category-list">
<li class="cate-all"><a href="{getUrl('category','','document_srl','','item_srl','')}#item-list-title" class="current"|cond="!$category">{$lang->all_cate}</a></li>
<li class="cate" loop="$category_list=>$no,$val"><a href="{getUrl('category',$val->node_id,'document_srl','','item_srl','')}#item-list-title" class="current"|cond="$category==$val->node_id">{$val->category_name}</a></li>
</ul>
</div>
</header>
<section id="contents" class="cw-container newclearfix">
<div class="trends-container newclearfix">
<div id="content" class="content">{$content}</div>
</div>
</section>
<footer id="footer" class="cw-container newclearfix">
<div class="trends-container footer-cont newclearfix">
<nav cond="$footer_nav->list" id="footer_nav">
<ul>
<li loop="$footer_nav->list=>$key,$val">
<a href="{$val['href']}" target="_blank"|cond="$val['open_window']=='Y'">{$val['link']}</a>
</li>
</ul>
</nav>
<a href="#" id="goto-top"><img src="img/goto_top.png" style="width:38px; height:9px" alt="Goto Top" title="Goto Top" /></a>
</div>
</footer>
<footer id="footer-bottom" class="cw-container newclearfix">
<div class="trends-container newclearfix">
{@ $contact_info = array($layout_info->contact1,$layout_info->contact2,$layout_info->contact3,$layout_info->contact4);}
<table class="trends-contact">
<tbody>
<tr>
<td loop="$contact_info=>$key,$val" cond="$val" class="contact{$key+1}">{nl2br($val)}<block cond="$key==0 && $layout_info->copyright"><br /><br />{$layout_info->copyright}</block></td>
</tr>
</tbody>
</table>
</div>
</footer>
</div>
<div id="sButton">
<a id="sTop" href="#" title="Back to Top">XE{$current_version}</a>
<a id="sBottom" href="#" title="Back to Bottom">Layout{$layout_info->version}</a>
</div>
-------------------------------------------------------------------------------------------------
위에서 어디에 넣어야 할까여?
레이아웃 편집에서 하시면, 나중에 패치시 패치가 반영되지 않는 XE의 문제가 있습니다.
XE는 기본적으로 추적코드 등을 삽입할 수 있는 곳이 있습니다.
관리자 - 일반 설정 - 하단 스크립트
메타 태그와 같은 헤드에 입력되는 것도 따로 있습니다.
관리자 - 레이아웃 설정 - 헤더 스크립트
감사합니다.^^