html Miva - Google再营销代码
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html Miva - Google再营销代码相关的知识,希望对你有一定的参考价值。
<mvt:if expr="l.settings:page:code EQ 'PROD'">
<mvt:assign name="l.settings:remarketing:ecomm_prodid" value="l.settings:product:code" />
</mvt:if>
<mvt:if expr="l.settings:page:code EQ 'SFNT'">
<mvt:assign name="l.settings:remarketing:ecomm_pagetype" value="'home'" />
<mvt:elseif expr="l.settings:page:code EQ 'CTGY'">
<mvt:assign name="l.settings:remarketing:ecomm_pagetype" value="'category'" />
<mvt:elseif expr="l.settings:page:code EQ 'SRCH'">
<mvt:assign name="l.settings:remarketing:ecomm_pagetype" value="'searchresults'" />
<mvt:elseif expr="l.settings:page:code EQ 'PROD'">
<mvt:assign name="l.settings:remarketing:ecomm_pagetype" value="'product'" />
<mvt:elseif expr="l.settings:page:code CIN 'BASK,ORDL,OCST,OUS1,OUSM,OSEL,OPAY'">
<mvt:assign name="l.settings:remarketing:ecomm_pagetype" value="'cart'" />
<mvt:elseif expr="l.settings:page:code EQ 'INVC'">
<mvt:assign name="l.settings:remarketing:ecomm_pagetype" value="'purchase'" />
<mvt:else>
<mvt:assign name="l.settings:remarketing:ecomm_pagetype" value="'other'" />
</mvt:if>
<mvt:if expr="l.settings:page:code EQ 'PROD' OR l.settings:page:code EQ 'PROD_COMBO'">
<mvt:assign name="l.settings:remarketing:ecomm_totalvalue" value="l.settings:product:price" />
<mvt:elseif expr="l.settings:page:code CIN 'BASK,ORDL,OCST,OUS1,OUSM,OSEL,OPAY'">
<mvt:item name="toolkit" param="basket|itemcount" />
<mvt:assign name="l.settings:remarketing:ecomm_totalvalue" value="l.settings:toolkit:basketsubtotal" />
<mvt:elseif expr="l.settings:page:code CIN 'INVC'">
<mvt:assign name="l.settings:remarketing:ecomm_totalvalue" value="l.settings:order:total" />
</mvt:if>
<script type="text/javascript">
var google_tag_params = {
ecomm_prodid: '&mvtj:remarketing:ecomm_prodid;',
ecomm_pagetype: '&mvtj:remarketing:ecomm_pagetype;',
ecomm_totalvalue: '&mvtj:remarketing:ecomm_totalvalue;',
};
</script>
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 0000000000;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]>*/
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"></script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/1068629558/?value=0&guid=ON&script=0"/>
</div>
</noscript>
以上是关于html Miva - Google再营销代码的主要内容,如果未能解决你的问题,请参考以下文章
Google 再营销代码未验证
Google 再营销代码 - iframe 高度问题
css Google再营销代码 - iframe高度问题
html Miva Google Shopping Feed
html Miva - Google购物Feed - v2
html Miva - Google和Listrak数据Feed