Authored by xuqi

fix err home analysis script

@@ -72,4 +72,5 @@ @@ -72,4 +72,5 @@
72 72
73 {{/ girls}} 73 {{/ girls}}
74 </div> 74 </div>
  75 +{{> index/home-analysis}}
75 {{> layout/footer}} 76 {{> layout/footer}}
@@ -86,4 +86,5 @@ @@ -86,4 +86,5 @@
86 {{/ boys}} 86 {{/ boys}}
87 </div> 87 </div>
88 <script>__custom = {"yopid":"index"};</script> 88 <script>__custom = {"yopid":"index"};</script>
  89 +{{> index/home-analysis}}
89 {{> layout/footer}} 90 {{> layout/footer}}
@@ -33,4 +33,5 @@ @@ -33,4 +33,5 @@
33 {{/ newArrivls}} 33 {{/ newArrivls}}
34 {{/ kids}} 34 {{/ kids}}
35 </div> 35 </div>
  36 +{{> index/home-analysis}}
36 {{> layout/footer}} 37 {{> layout/footer}}
@@ -32,4 +32,5 @@ @@ -32,4 +32,5 @@
32 {{/ newArrivls}} 32 {{/ newArrivls}}
33 {{/ lifestyle}} 33 {{/ lifestyle}}
34 </div> 34 </div>
  35 +{{> index/home-analysis}}
35 {{> layout/footer}} 36 {{> layout/footer}}
  1 +<script>
  2 + (function() {
  3 + var hm = document.createElement("script");
  4 + hm.src = "http://static.criteo.net/js/ld/ld.js";
  5 + hm.async = 1;
  6 + var s = document.getElementsByTagName("script")[0];
  7 + s.parentNode.insertBefore(hm, s);
  8 + var u = _ozuid || "";
  9 + u = (u == 0) ? "" : u;
  10 + window.criteo_q = window.criteo_q || [];
  11 + window.criteo_q.push({event: "setAccount", account: 16184 },{event: "setCustomerId", id: u},{event: "setSiteType", type: "d" },{event: "viewHome" });
  12 + })();
  13 +</script>
@@ -39,17 +39,6 @@ var _gaq = _gaq || []; @@ -39,17 +39,6 @@ var _gaq = _gaq || [];
39 var s = document.getElementsByTagName("script")[0]; 39 var s = document.getElementsByTagName("script")[0];
40 s.parentNode.insertBefore(hm, s); 40 s.parentNode.insertBefore(hm, s);
41 })(); 41 })();
42 - (function() {  
43 - var hm = document.createElement("script");  
44 - hm.src = "http://static.criteo.net/js/ld/ld.js";  
45 - hm.async = 1;  
46 - var s = document.getElementsByTagName("script")[0];  
47 - s.parentNode.insertBefore(hm, s);  
48 - var u = _ozuid || "";  
49 - u = (u == 0) ? "" : u;  
50 - window.criteo_q = window.criteo_q || [];  
51 - window.criteo_q.push({event: "setAccount", account: 16184 },{event: "setCustomerId", id: u},{event: "setSiteType", type: "d" },{event: "viewHome" });  
52 - })();  
53 } 42 }
54 if (window.addEventListener) { 43 if (window.addEventListener) {
55 window.addEventListener('load', async_load, false); 44 window.addEventListener('load', async_load, false);