<p id="bnfxt"><output id="bnfxt"><delect id="bnfxt"></delect></output></p>

<p id="bnfxt"><output id="bnfxt"></output></p>
<p id="bnfxt"><output id="bnfxt"></output></p>

<output id="bnfxt"></output>

<pre id="bnfxt"></pre>
<p id="bnfxt"></p>

<p id="bnfxt"><output id="bnfxt"></output></p>
<pre id="bnfxt"><output id="bnfxt"><delect id="bnfxt"></delect></output></pre>

<pre id="bnfxt"></pre><noframes id="bnfxt"><p id="bnfxt"></p>

<pre id="bnfxt"><output id="bnfxt"><menuitem id="bnfxt"></menuitem></output></pre><pre id="bnfxt"></pre>

<p id="bnfxt"><output id="bnfxt"><menuitem id="bnfxt"></menuitem></output></p><p id="bnfxt"><delect id="bnfxt"><menuitem id="bnfxt"></menuitem></delect></p>

<p id="bnfxt"></p>
<p id="bnfxt"><output id="bnfxt"><delect id="bnfxt"></delect></output></p>

<p id="bnfxt"></p>
<pre id="bnfxt"></pre>

<noframes id="bnfxt">

<delect id="bnfxt"><delect id="bnfxt"><menuitem id="bnfxt"></menuitem></delect></delect>

<pre id="bnfxt"></pre>

<p id="bnfxt"></p><pre id="bnfxt"><output id="bnfxt"></output></pre>
<pre id="bnfxt"><output id="bnfxt"><menuitem id="bnfxt"></menuitem></output></pre><output id="bnfxt"></output><pre id="bnfxt"><output id="bnfxt"><menuitem id="bnfxt"></menuitem></output></pre>

<pre id="bnfxt"></pre>

<p id="bnfxt"><delect id="bnfxt"></delect></p>

<p id="bnfxt"><output id="bnfxt"><menuitem id="bnfxt"></menuitem></output></p>
<pre id="bnfxt"></pre>

<noframes id="bnfxt">

<pre id="bnfxt"><output id="bnfxt"><delect id="bnfxt"></delect></output></pre>
<p id="bnfxt"><delect id="bnfxt"></delect></p>
<pre id="bnfxt"><output id="bnfxt"></output></pre>

做優質服務的
網站建設公司
當前位置:主頁 > 新聞資訊 > OCPC API回傳 >

FaceBook推廣JS數據回傳說明文檔

原創 文章來源:張家界鼎尖網絡 文章作者:鼎尖小編 瀏覽次數:171

FackBooK只有JS方式的回傳,就算有API回傳,程序員說了,咱們電信服務器也無法回傳給FB服務器devil。

那么就來看下JS的回傳方式,果然是國際慣例,傳統玩法,簡單兩步即可搞定。

第一步:引入Meta Pixel 像素代碼 Base Code。
該代碼直接放入鼎尖落地頁系統頁面設置—— “頂部JS” 中。

<script>
  !function(f,b,e,v,n,t,s)
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  n.queue=[];t=b.createElement(e);t.async=!0;
  t.src=v;s=b.getElementsByTagName(e)[0];
  s.parentNode.insertBefore(t,s)}(window, document,'script',
  'https://connect.facebook.net/en_US/fbevents.js');
  fbq('init', '{your-pixel-id-goes-here}');
  fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id={your-pixel-id-goes-here}&ev=PageView&noscript=1"/></noscript>
PPPS:需要注意的是,上面紅色部分中的{your-pixel-id-goes-here}請替換成你自己的pixel-id。

第二步:安裝轉化追蹤代碼。
該代碼直接放入鼎尖落地頁系統頁面設置—— “底部JS” 中。
我們這里選擇的是自定義事件,這一段代碼稍微特殊一點,需要跟我們的系統關聯。

<script>
    itzjj.use(["kefu", "stats", "clipboard"], function () {
        var $ = itzjj.$,
            kefu = itzjj.kefu,
            clipboard = itzjj.clipboard,
            stats = itzjj.stats;
        //第一種,復制了頁面中的聯系方式回傳。
        kefu.on('copy()', function (obj) {
            fbq('Copy-Line-Accont', kefu.kefuInfoFirst.weixin);
        });
        //第二種,可以自定義頁面中的點擊事件回傳。
        $('body').on('click', '.itzjj-openWorkwx', function () {
            fbq('Talk-to-Line', kefu.kefuInfoFirst.weixin);
            stats.convertNormal({
                type: 'Line對話',
                index: 0,
                data: kefu.config.kefuInfoFirst.tel
            });
        });
    });
</script>
PPPS:上面的代碼,第二種 自定義點擊事件的回傳,請根據網頁代碼對應好class 或者 id 即可。

至此,FB廣告的JS回傳數據就搞定了,這樣您在后臺就可以看到對應的回傳數據了。
 

如沒特殊注明,文章均為鼎尖網絡原創,轉載請注明來自 http://www.xdathena.com/html/article-263-1.html
返回列表

相關網站設計案例

網站建設解決方案
相關新聞推薦
張家界鼎尖網絡在線客服 咨詢·建議
91精品国产91久久综合无码

<p id="bnfxt"><output id="bnfxt"><delect id="bnfxt"></delect></output></p>

<p id="bnfxt"><output id="bnfxt"></output></p>
<p id="bnfxt"><output id="bnfxt"></output></p>

<output id="bnfxt"></output>

<pre id="bnfxt"></pre>
<p id="bnfxt"></p>

<p id="bnfxt"><output id="bnfxt"></output></p>
<pre id="bnfxt"><output id="bnfxt"><delect id="bnfxt"></delect></output></pre>

<pre id="bnfxt"></pre><noframes id="bnfxt"><p id="bnfxt"></p>

<pre id="bnfxt"><output id="bnfxt"><menuitem id="bnfxt"></menuitem></output></pre><pre id="bnfxt"></pre>

<p id="bnfxt"><output id="bnfxt"><menuitem id="bnfxt"></menuitem></output></p><p id="bnfxt"><delect id="bnfxt"><menuitem id="bnfxt"></menuitem></delect></p>

<p id="bnfxt"></p>
<p id="bnfxt"><output id="bnfxt"><delect id="bnfxt"></delect></output></p>

<p id="bnfxt"></p>
<pre id="bnfxt"></pre>

<noframes id="bnfxt">

<delect id="bnfxt"><delect id="bnfxt"><menuitem id="bnfxt"></menuitem></delect></delect>

<pre id="bnfxt"></pre>

<p id="bnfxt"></p><pre id="bnfxt"><output id="bnfxt"></output></pre>
<pre id="bnfxt"><output id="bnfxt"><menuitem id="bnfxt"></menuitem></output></pre><output id="bnfxt"></output><pre id="bnfxt"><output id="bnfxt"><menuitem id="bnfxt"></menuitem></output></pre>

<pre id="bnfxt"></pre>

<p id="bnfxt"><delect id="bnfxt"></delect></p>

<p id="bnfxt"><output id="bnfxt"><menuitem id="bnfxt"></menuitem></output></p>
<pre id="bnfxt"></pre>

<noframes id="bnfxt">

<pre id="bnfxt"><output id="bnfxt"><delect id="bnfxt"></delect></output></pre>
<p id="bnfxt"><delect id="bnfxt"></delect></p>
<pre id="bnfxt"><output id="bnfxt"></output></pre>