변수값 질문..

변수값 질문..

QA

변수값 질문..

본문

매체사에서 스크립트 삽입하면서 변수값을 주라는데 대체 뭔지 모르겠네요 ㅠ.ㅠ

 

1ae073a4827cc2985c09c962b7175e5c_1420018818_414.PNG 

 

예문이구요 ~

 

 


<!-- Withpang Shop Log Tracker v2.0 start -->


<script type="text/javascript">


<!--


           (function (w, d, i) {


                     w[i]={


                                sc : "08adb8735a9bc4622b0788a7c20b011f",


                                gb : "02",


                                pcode : "상품코드",


                                price : "",


                                cate1 : encodeURIComponent(encodeURIComponent("카테고리명")),


                                pnm : encodeURIComponent(encodeURIComponent("상품명")),


                                img : (encodeURIComponent("상품이미지주소")),


                                form : (encodeURIComponent(d.referrer)),


                                purl : (encodeURIComponent(w.location.href)),


                                url : (encodeURIComponent(w.location.href))


                     };


 


                     try{


                                w[i].price= w[i].price.replace(/[^0-9]/g,"");


                     }catch(e){


                                w[i].price= 0;


                     }


                     if(w[i]) {


                                var _ar = _ar || [];


                                var _s = "log.dreamsearch.or.kr/servlet/rfshop";


                                for(x in w[i]) _ar.push(x + "=" + w[i][x]);


                                (new Image).src = d.location.protocol +"//"+ _s +"?"+_ar.join("&");


                     }


           })(window, document, "wp_rfshop");


//-->


</script>


<!-- Withpang Shop Log Tracker v2.0 end -->


 

 


** pcode, price, cate1, pnm, img, 의 변수값을 상황에 맞게 변경해주세요.


 


상품상세페이지에 </body> 바로 전에 삽입해주세요


 

-------

 

 


주문완료 페이지 제일 마지막에 삽입해주세요


 


 


<!-- Withpang Conversion Tracker v2.0 start -->


<script type="text/javascript">


<!--


           (function (w, d, i) {


                     w[i]={


                                uid : "minari",


                                ordcode : "주문번호",


                                pcode : "상품코드",


                                qty : "1",


                                price : "주문가격",


                                pnm : encodeURIComponent(encodeURIComponent("상품제목"))


                     };


 


                     try{


                                w[i].price= w[i].price.replace(/[^0-9]/g,"");


                     }catch(e){


                                w[i].price= 0;


                     }


                     if(w[i]) {


                                var _ar = _ar || [];


                                var _s = "log.dreamsearch.or.kr/servlet/conv";


                                for(x in w[i]) _ar.push(x + "=" + w[i][x]);


                                (new Image).src = d.location.protocol +"//"+ _s +"?"+ _ar.join("&");


                     }


           })(window, document, "wp_conv");


//-->


</script>


<!-- Withpang Conversion Tracker v2.0 end -->


Uid, ordcode, price 은 필수사항 입니다.


 

이 질문에 댓글 쓰기 :

답변 2

답변을 작성하시기 전에 로그인 해주세요.
전체 52
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT