Merge branch 'hotfix/newPy'
Showing
8 changed files
with
17 additions
and
7 deletions
compile/www.yohobuy.com/5.3.6/test.php
0 → 100644
@@ -761,7 +761,7 @@ class Helpers | @@ -761,7 +761,7 @@ class Helpers | ||
761 | $oneGoods['xForOne'] = true; | 761 | $oneGoods['xForOne'] = true; |
762 | 762 | ||
763 | // 分析用: 商品ID列表 | 763 | // 分析用: 商品ID列表 |
764 | - $analysis['ids'][] = $value['product_id']; | 764 | + $analysis['ids'][] = $value['product_skn']; |
765 | // 分析用: CRITEO | 765 | // 分析用: CRITEO |
766 | $analysis['criteo'][] = array( | 766 | $analysis['criteo'][] = array( |
767 | 'id' => $value['product_skn'], | 767 | 'id' => $value['product_skn'], |
@@ -771,7 +771,7 @@ class Helpers | @@ -771,7 +771,7 @@ class Helpers | ||
771 | } | 771 | } |
772 | else { | 772 | else { |
773 | // 分析用: 商品ID列表 | 773 | // 分析用: 商品ID列表 |
774 | - $analysis['ids'][] = $value['product_id']; | 774 | + $analysis['ids'][] = $value['product_skn']; |
775 | // 分析用: CRITEO | 775 | // 分析用: CRITEO |
776 | $analysis['criteo'][] = array( | 776 | $analysis['criteo'][] = array( |
777 | 'id' => $value['product_skn'], | 777 | 'id' => $value['product_skn'], |
@@ -24,6 +24,16 @@ var _gaq = _gaq || []; | @@ -24,6 +24,16 @@ var _gaq = _gaq || []; | ||
24 | var s = document.getElementsByTagName("script")[0]; | 24 | var s = document.getElementsByTagName("script")[0]; |
25 | s.parentNode.insertBefore(hm, s); | 25 | s.parentNode.insertBefore(hm, s); |
26 | })(); | 26 | })(); |
27 | + // 新品友代码 | ||
28 | + (function(w,d,s,l,a){ | ||
29 | + w._CommandName_=l;w[l]=w[l]||function(){(w[l].q=w[l].q||[]).push(arguments); | ||
30 | + w[l].track = function(){(w[l].q[w[l].q.length-1].t=[]).push(arguments)};return w[l]},w[l].a=a,w[l].l=1*new Date(); | ||
31 | + var c = d.createElement(s);c.async=1; | ||
32 | + c.src='//fm.ipinyou.com/j/t/a.js'; | ||
33 | + var h = d.getElementsByTagName(s)[0];h.parentNode.insertBefore(c, h); | ||
34 | + })(window,document,'script','py','MC..o8vMMWxEXDCiqYckD81lUX'); | ||
35 | + py('set','user',{'id':'0'}); | ||
36 | + py('event','viewPage'); | ||
27 | } | 37 | } |
28 | if (window.addEventListener) { | 38 | if (window.addEventListener) { |
29 | window.addEventListener('load', async_load, false); | 39 | window.addEventListener('load', async_load, false); |
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" | @@ -50,7 +50,7 @@ application.template.ext = ".phtml" | ||
50 | application.assets.path = ROOT_PATH "/assets/web" | 50 | application.assets.path = ROOT_PATH "/assets/web" |
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | -application.version = "5.3.5" | 53 | +application.version = "5.3.6" |
54 | 54 | ||
55 | ; 网站SEO信息 | 55 | ; 网站SEO信息 |
56 | application.seo.title = "YOHO!BUY 有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" | 56 | application.seo.title = "YOHO!BUY 有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" |
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" | @@ -50,7 +50,7 @@ application.template.ext = ".phtml" | ||
50 | application.assets.path = ROOT_PATH "/assets/web" | 50 | application.assets.path = ROOT_PATH "/assets/web" |
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | -application.version = "5.3.5" | 53 | +application.version = "5.3.6" |
54 | 54 | ||
55 | ; 网站SEO信息 | 55 | ; 网站SEO信息 |
56 | application.seo.title = "YOHO!BUY 有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" | 56 | application.seo.title = "YOHO!BUY 有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" |
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" | @@ -50,7 +50,7 @@ application.template.ext = ".phtml" | ||
50 | application.assets.path = ROOT_PATH "/assets/web" | 50 | application.assets.path = ROOT_PATH "/assets/web" |
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | -application.version = "5.3.5" | 53 | +application.version = "5.3.6" |
54 | 54 | ||
55 | ; 网站SEO信息 | 55 | ; 网站SEO信息 |
56 | application.seo.title = "YOHO!BUY 有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" | 56 | application.seo.title = "YOHO!BUY 有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" |
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" | @@ -50,7 +50,7 @@ application.template.ext = ".phtml" | ||
50 | application.assets.path = ROOT_PATH "/assets/web" | 50 | application.assets.path = ROOT_PATH "/assets/web" |
51 | 51 | ||
52 | ; 应用的版本号 | 52 | ; 应用的版本号 |
53 | -application.version = "5.3.5" | 53 | +application.version = "5.3.6" |
54 | 54 | ||
55 | ; 网站SEO信息 | 55 | ; 网站SEO信息 |
56 | application.seo.title = "YOHO!BUY 有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" | 56 | application.seo.title = "YOHO!BUY 有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" |
-
Please register or login to post a comment