如何摆脱这个 Facebook 像素警告?

How to get rid of this Facebook Pixel Warning?

我已经搜索了一个星期了,但没有找到针对此警告的任何解决方案, 警告是:

WARNINGS

" We detected event code but the pixel has not activated for this event, so no information was sent to Facebook. This could be due to an error in the code, but could also occur if the pixel fires on a dynamic event such as a button click.Learn more "

像素代码为:fbq('track', 'PageView');

我的代码:

 !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('consent', 'revoke');   
  fbq('init', /* PIXEL_ID */);
  fbq('track', 'PageView');   
  fbq('consent', 'grant');  

请帮助我了解问题的确切原因以及可能的解决方案。

尝试禁用 AdBlock(这对我有用)

活动 AdBlock:

停用 AdBlock: