|
|
@@ -16,14 +16,13 @@
|
|
|
-->
|
|
|
<th:block th:fragment="scripts">
|
|
|
<script th:inline="javascript">
|
|
|
- var goodsInfo = [[${goodsInfo}]];
|
|
|
|
|
|
window._eglqueue = window._eglqueue || [];
|
|
|
- _eglqueue.push(['setVar', 'cuid', '1252aed4-78dc-46e8-b784-94ac42e86dd4']);
|
|
|
- _eglqueue.push(['setVar', 'itemId', goodsInfo.goodsCd]);
|
|
|
- _eglqueue.push(['setVar', 'userId', custId]);
|
|
|
+ _eglqueue.push(['setVar', 'cuid', eglqueueCuid);
|
|
|
+ _eglqueue.push(['setVar', 'itemId', [[${goodsInfo.goodsCd}]]);
|
|
|
+ _eglqueue.push(['setVar', 'userId', hCustId]);
|
|
|
_eglqueue.push(['setVar', 'categoryId', cateNm);
|
|
|
- _eglqueue.push(['setVar', 'brandId', goodsInfo.brandGroupNo]);
|
|
|
+ _eglqueue.push(['setVar', 'brandId', [[${goodsInfo.brandGroupNo}]]);
|
|
|
_eglqueue.push(['track', 'view']);
|
|
|
_eglqueue.push(['track', 'product']);
|
|
|
(function (s, x) {
|
|
|
@@ -35,17 +34,48 @@
|
|
|
</script>
|
|
|
|
|
|
<!-- Criteo 상품 태그 --> <!-- 적용완료 -->
|
|
|
- <script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script>
|
|
|
+<!-- <script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script>
|
|
|
<script type="text/javascript">
|
|
|
window.criteo_q = window.criteo_q || [];
|
|
|
var deviceType = /iPad/.test(navigator.userAgent) ? "t" : /Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent) ? "m" : "d";
|
|
|
window.criteo_q.push(
|
|
|
{ event: "setAccount", account: 6762}, // 이 라인은 업데이트하면 안됩니다
|
|
|
- { event: "setEmail", email: "##Email Address of user##" }, // 유저가 로그인이 안되 있는 경우 빈 문자열을 전달
|
|
|
+ { event: "setEmail", email: hEmail}, // 유저가 로그인이 안되 있는 경우 빈 문자열을 전달
|
|
|
{ event: "setSiteType", type: deviceType},
|
|
|
- { event: "viewItem", item: goodsInfo.goodsCd+''});
|
|
|
+ { event: "viewItem", item: [[${goodsInfo.goodsCd}]]+''});
|
|
|
+-->
|
|
|
</script>
|
|
|
<!-- END Criteo 상품 태그 -->
|
|
|
|
|
|
+ <!-- 모비온 -->
|
|
|
+ <!-- Withpan]g Shop Log Tracker v3.0 strat -->
|
|
|
+<!-- <script src="http://cdn.megadata.co.kr/js/enliple_min2.js"></script>
|
|
|
+ Withpang Tracker v3.0 start
|
|
|
+ <script type="text/javascript">
|
|
|
+ var sh = new EN();
|
|
|
+ sh.setData("sc", "b3663f40e0088be0fc9041fa372a3afc");
|
|
|
+ sh.setData("userid", "is24");
|
|
|
+ sh.setData("pcode", [[${goodsInfo.goodsCd}]]);
|
|
|
+ sh.setData("pnm", encodeURIComponent(encodeURIComponent(snsGoodsFullNm)));
|
|
|
+ sh.setData("img", encodeURIComponent(snsGoodsImg)); //전체URL
|
|
|
+ sh.setData("price",[[${goodsInfo.currPrice}]]);
|
|
|
+ sh.setData("cate1", encodeURIComponent(encodeURIComponent(cateNm)));
|
|
|
+
|
|
|
+ sh.sendRfShop();
|
|
|
+
|
|
|
+ //위시담기
|
|
|
+ document.getElementById("btnGoodsWish").onmouseup = sendWish;
|
|
|
+ function sendWish() {
|
|
|
+ sh.sendWish();
|
|
|
+ }
|
|
|
+
|
|
|
+ //장바구니
|
|
|
+ document.getElementById("btnGoodsCart").onmouseup = sendCart;
|
|
|
+ function sendCart() {
|
|
|
+ sh.sendCart();
|
|
|
+-->
|
|
|
+ </script>
|
|
|
+ <!-- END 모비온 상품 태그 -->
|
|
|
+
|
|
|
</th:block>
|
|
|
</html>
|