Title: Plugin not sending pixel data correctly
Last modified: August 23, 2021

---

# Plugin not sending pixel data correctly

 *  Resolved [sanchitgoyal](https://wordpress.org/support/users/sanchitgoyal/)
 * (@sanchitgoyal)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/plugin-not-sending-pixel-data-correctly/)
 * Hello
 * Please check this video.
 * [https://www.berrycast.com/conversations/4d7991fe-33a2-54bd-ab19-57b68193a40a](https://www.berrycast.com/conversations/4d7991fe-33a2-54bd-ab19-57b68193a40a)
 * I have installed this plugin on 2 of My websites. On both websites the pixel 
   does not send data correctly. If I use some other plugin (pixel caffeine) the
   data is sent perfectly. What could be the reason and how to resolve? Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-not-sending-pixel-data-correctly%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [sanchitgoyal](https://wordpress.org/support/users/sanchitgoyal/)
 * (@sanchitgoyal)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/plugin-not-sending-pixel-data-correctly/#post-14796902)
 * Hello
 * Can you please confirm which javascript files are loaded by the plugin. Because
   I checked the error is when I I delay fbevents.js via wp rocket or Flying scripts.
   However similar error is not there if I use some other plugin for pixel installation.
 *  [Austin M – a11n](https://wordpress.org/support/users/apmwebdev/)
 * (@apmwebdev)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/plugin-not-sending-pixel-data-correctly/#post-14797494)
 * HI [@sanchitgoyal](https://wordpress.org/support/users/sanchitgoyal/). I understand
   you’re seeing an error stating “We detected event code but the pixel has not 
   activated for this event.” We’ve seen some errors like this in the past that 
   have been false positives. Can you confirm if you see this error on Facebook 
   directly, or if it’s only in the browser add-on that it shows up?
 * Once we have that information, we can move forward with other troubleshooting
   steps.
 *  Thread Starter [sanchitgoyal](https://wordpress.org/support/users/sanchitgoyal/)
 * (@sanchitgoyal)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/plugin-not-sending-pixel-data-correctly/#post-14807552)
 * Hello [@austin](https://wordpress.org/support/users/austin/)
 * Thanks for the reply. Its a definite error because when I test events in facebook
   it does not show up. However it seems to only happen when I delay the fbevents.
   js via Wp rocket (3.8.8 version) or the flying scripts.
 * Pixel seems to be working fine on using latest version of wp rocket. I am still
   trying to diagnose the error though.
 *  Thread Starter [sanchitgoyal](https://wordpress.org/support/users/sanchitgoyal/)
 * (@sanchitgoyal)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/plugin-not-sending-pixel-data-correctly/#post-14807926)
 * Can you please let Me know which javascript file initiate the loading and firing
   of pixel so I can try delaying that. Regards.
 *  [B C. a11n](https://wordpress.org/support/users/battouly/)
 * (@battouly)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/plugin-not-sending-pixel-data-correctly/#post-14812537)
 * Hey [@sanchitgoyal](https://wordpress.org/support/users/sanchitgoyal/),
 * I’m working on this for you and will be back with more updates soon.
 *  Thread Starter [sanchitgoyal](https://wordpress.org/support/users/sanchitgoyal/)
 * (@sanchitgoyal)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/plugin-not-sending-pixel-data-correctly/#post-14835948)
 * Hello team
 * Any update on this? Can you please tell Me name of the initiator script which
   loads the pixel so I can delay the same?
 *  [B C. a11n](https://wordpress.org/support/users/battouly/)
 * (@battouly)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/plugin-not-sending-pixel-data-correctly/#post-14837395)
 * Hi [@sanchitgoyal](https://wordpress.org/support/users/sanchitgoyal/),
 * I can confirm that PHP injects the standard Facebook JavaScript into the <head
   > element.
 * So there isn’t a separate script that is created by us at WooCommerce.
 * The fbevents.js script that you mentioned above is loaded from Facebook directly
   using the standard JS code provided by Facebook, and according to Facebook’s 
   documentation, we’re calling the pixel code correctly.
 *  Thread Starter [sanchitgoyal](https://wordpress.org/support/users/sanchitgoyal/)
 * (@sanchitgoyal)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/plugin-not-sending-pixel-data-correctly/#post-14838025)
 * Hello
 * I was able to resolve the problem through My testing. For anyone reading this
   thread and delaying facebook script you have to add the keyword fbq in wp rocket
   or flying scripts so that pixel load correctly. If you addd fbevents pixel wont
   load correctly.
 *  [B C. a11n](https://wordpress.org/support/users/battouly/)
 * (@battouly)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/plugin-not-sending-pixel-data-correctly/#post-14840383)
 * Hey [@sanchitgoyal](https://wordpress.org/support/users/sanchitgoyal/),
 * That’s a great to read!
 * Thanks for the updates, I’m happy to hear you managed to fix it!
 * I’m going to mark this as resolved. If you have any further questions, you can
   start a new thread.
 * Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Plugin not sending pixel data correctly’ is closed to new replies.

 * ![](https://ps.w.org/facebook-for-woocommerce/assets/icon.svg?rev=3469606)
 * [Meta for WooCommerce](https://wordpress.org/plugins/facebook-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-for-woocommerce/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [B C. a11n](https://wordpress.org/support/users/battouly/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/plugin-not-sending-pixel-data-correctly/#post-14840383)
 * Status: resolved