
1)安裝代碼類型:
? ? ? -全局代碼(基礎(chǔ)代碼)
? ? ? -賦值代碼(追蹤具體Revenue)
2)安裝位置及代碼文本:
全局代碼:Settings > Themes,選擇Actions > Edit Code,選擇theme.liquid,


????在Head層級(<head>和</head>)添加如下代碼文本(注意ti:"XXXX"中的ID號為自己對應(yīng)賬戶唯一的,修改為自己的,或在廣告后臺直接復(fù)制):
<script>(function(w,d,t,r,u){var?f,n,i;w[u]=w[u]||[],f=function(){var?o={ti:"136015888", enableAutoSpaTracking: true};o.q=w[u],w[u]=new?UET(o),w[u].push("pageLoad")?????},?n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function()?????{????? var?s=this.readyState;????? s&&s!=="loaded"&&s!=="complete"||????? (f(),n.onload=n.onreadystatechange=null)????? },????? i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})????? (window,document,"script","http://bat.bing.com/bat.js","uetq");??</script>???
????賦值代碼:Settings > Checkout > Order Processing > Additional scripts

????粘貼文本如下(注意ti:"XXXX"中的ID號為自己對應(yīng)賬戶唯一的,直接復(fù)制使用時修改為自己的):
{% if first_time_accessed %}<script>(function(w,d,t,r,u){var?f,n,i;w[u]=w[u]||[],f=function(){var?o={ti:"136015888"};o.q=w[u],w[u]=new?UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var?s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","http://bat.bing.com/bat.js","uetq");</script><script>window.uetq = window.uetq || []; window.uetq.push({'gv' : {{ checkout.total_price | money_without_currency | remove: '.' | remove: ',' | divided_by: 100 }},'gc' : '{{ shop.currency }}'});</script>{% endif %}
3) 檢查代碼安裝情況:
????安裝谷歌瀏覽器插件-UET Tag Helper, 測試網(wǎng)站代碼是否安裝正常。

????測試轉(zhuǎn)化目標(biāo):Microsoft Advertising>Tools>Conversion?goals>Test this goal

????在UET Tag Helper中輸入目標(biāo)網(wǎng)址,點擊start test開始測試對應(yīng)目標(biāo)。

具體參考Shopify代碼安裝幫助文檔:https://help.ads.microsoft.com/#apex/3/en/56901/-1
文章為作者獨立觀點,不代表DLZ123立場。如有侵權(quán),請聯(lián)系我們。( 版權(quán)為作者所有,如需轉(zhuǎn)載,請聯(lián)系作者 )
網(wǎng)站運營至今,離不開小伙伴們的支持。 為了給小伙伴們提供一個互相交流的平臺和資源的對接,特地開通了獨立站交流群。
群里有不少運營大神,不時會分享一些運營技巧,更有一些資源收藏愛好者不時分享一些優(yōu)質(zhì)的學(xué)習(xí)資料。
現(xiàn)在可以掃碼進群,備注【加群】。 ( 群完全免費,不廣告不賣課!)
