code review by fei.hong: do modify cache config to aliyun vpc
Showing
1 changed file
with
27 additions
and
0 deletions
@@ -628,4 +628,31 @@ | @@ -628,4 +628,31 @@ | ||
628 | \{{/ consults}} | 628 | \{{/ consults}} |
629 | </script> | 629 | </script> |
630 | </div> | 630 | </div> |
631 | +<script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script> | ||
632 | +<script type="text/javascript"> | ||
633 | + window.criteo_q = window.criteo_q || []; | ||
634 | + window.criteo_q.push( | ||
635 | + { event: "setAccount", account: 16184 }, | ||
636 | + { event: "setCustomerId", id: "{{uid}}" }, | ||
637 | + { event: "setSiteType", type: "d" }, | ||
638 | + { event: "viewItem", item: "{{productId}}" } | ||
639 | + ); | ||
640 | +</script> | ||
641 | +<script type="text/javascript"> | ||
642 | +var _mvq = _mvq || []; | ||
643 | +_mvq.push(['$setAccount', 'm-23428-1']); | ||
644 | +_mvq.push(['$setGeneral', 'goodsdetail', '', /*用户名*/ '', /*用户id*/ '']); | ||
645 | +_mvq.push(['$logConversion']); | ||
646 | +_mvq.push(['$addGoods', /*分类id*/ '', /*品牌id*/ '', /*商品名称*/ '',/*商品ID*/ '{{productId}}',/*商品售价*/ '',/*商品图片url*/ '', /*分类名*/ '',/*品牌名*/ '', /*商品库存状态1或是0*/ '', /*网络价*/ '',/*收藏人数*/ '']); | ||
647 | +_mvq.push(['$logData']); | ||
648 | +</script> | ||
649 | +<script type="text/javascript"> | ||
650 | +(function () { | ||
651 | + try { | ||
652 | + var timestamp = (new Date()).valueOf(); | ||
653 | + var view = document.createElement('img'); | ||
654 | + view.src = 'http://shopping.yohobuy.com/1.jpg?t='+timestamp; | ||
655 | + } catch (e) {} | ||
656 | +} )(); | ||
657 | +</script> | ||
631 | {{> layout/footer}} | 658 | {{> layout/footer}} |
-
Please register or login to post a comment