javascript - Why is the facebook pixel counting event conversions wrong? -


we have installed fb pixel track conversion events. fb tools verify set right. results dramatically inaccurate point isn't working. track events such user entering phone number, etc. used fb js code provided. compared our own results, measured directly incrementing counter using javascript every time event fires, tracked on fb, , results dramatically different (e.g. off >50%). in addition, results event inconsistent within fb depending on in fb ui look. if @ analytics event tester see 1 number, on pixel page different one, on ads manager different one. differences large (e.g. factor of >2x).

in order test made simplest possible html page using fb pixel code directly fb. have pasted below. using code (with our actual pixel id of course), , fb 'event debugging' feature, see no pixel fires. using fb pixel helper in chrome, finds pixel , events fine. tried loading page in several different browsers on different machines.

what going on?

thanks help.

<!doctype html> <html lang="en"> <head>   <meta charset="utf-8">   <link rel="shortcut icon" type="image/png" href="http://eg.com/favicon.png"/>   <title>pixel tester</title>     <!-- 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', 'xxxxxxxxxxxxxx');         fbq('track', 'pageview');         fbq('trackcustom', 'test');     </script> <noscript><img height="1" width="1" style="display:none"   src="https://www.facebook.com/tr?id=xxxxxxxxx&ev=pageview&noscript=1" /></noscript></head> <body> pixel-tester </body> </html> 

the difference between data in ads manager , pixel screen (facebook.com/ads/manager/pixel/facebook_pixel/) due fact that, in ads manager, see conversion associated campaigns. in pixel screen, see anytime pixel, , events connected pixel, fired, no matter if happened due facebook campaign or not.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -