我安装了Facebook标准事件像素“ Lead”,并将其返回为“ SuccessCall”吗?

时间:2018-07-16 11:32:24

标签: laravel facebook pixel lead

我安装了标准事件像素“ Lead”,并且在寻找“ Lead”事件时返回“ SuccessCall”?

整个网站代码中均未提及“ SuccessCall”,但它可以识别出它是我作为事件实际安装的“ SuccessCall”。

在实施了旧的Facebook转化跟踪像素后,我实现了“领先”的Facebook Pixel,但我不确定是否应该删除该像素(有失去价值的风险)。那可能就是为什么我没有得到我想要的结果的原因吗?

代码在下面;

<!-- Old Facebook Conversion Code for All Life Leads - Thank You Page -->
    <script>(function() {
            var _fbq = window._fbq || (window._fbq = []);
            if (!_fbq.loaded) {
                var fbds = document.createElement('script');
                fbds.async = true;
                fbds.src = '//connect.facebook.net/en_US/fbds.js';
                var s = document.getElementsByTagName('script')[0];
                s.parentNode.insertBefore(fbds, s);
                _fbq.loaded = true;
            }
        })();
        window._fbq = window._fbq || [];
        window._fbq.push(['track', '*************', {'value':'0.00','currency':'USD'}]);
    </script>
    <noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?ev=*************&amp;cd[value]=0.00&amp;cd[currency]=USD&amp;noscript=1" /></noscript>

<!-- Facebook Pixel Code -->
<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', '*************');
  fbq('track', 'PageView');

    fbq('track', 'Lead');

</script>
<noscript>
  <img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=*************&ev=PageView&noscript=1"/>
</noscript>
<!-- End Facebook Pixel Code -->

0 个答案:

没有答案