Title: Facebook Pixel Issues
Last modified: February 1, 2021

---

# Facebook Pixel Issues

 *  Resolved [jcarinop](https://wordpress.org/support/users/jcarinop/)
 * (@jcarinop)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/facebook-pixel-issues/)
 * I added the Facebook pixel and chose “site-wide” as the option. (Not the event
   codes, yet)
 * Then, I added another snippet, and this time, I added the add to cart and purchase
   event code (separate).
 * But for some reason, it is pointing to all websites. Meaning, my homepage has
   the add to cart and purchase event codes. I don’t understand why. Can someone
   e help me?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffacebook-pixel-issues%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [99robots](https://wordpress.org/support/users/99robots/)
 * (@99robots)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/facebook-pixel-issues/#post-13984198)
 * Make sure you’ve actually selected the right PAGE(S) to add the event snippets.
   They would NOT be site-wide. You’d select a specific PAGE for them.
 * For example, if using WooCommerce, these are likely the pages: (guessing as your
   site could be different in your Settings or site config)
 * 1] Add to Cart would mean someone is on the CART PAGE.
    /cart
 * 2] And the ORDER RECEIVED PAGE is likely when the purchase event should fire (
   not on Checkout Page). WooCommerce does not have a static PAGE per se for the
   order received / thank you page but rather uses an endpoint. We recommend setting
   it to a specific PAGE that you can easily define. This will make your life a 
   lot easier. For example, you can use a free plugin like this:
    [https://wordpress.org/plugins/woo-thank-you-page-nextmove-lite/](https://wordpress.org/plugins/woo-thank-you-page-nextmove-lite/)
 * ^ after creating a PAGE, then you just select that new PAGE to add your snippet.
 * REFERENCES:
    1. [https://docs.woocommerce.com/document/woocommerce-pages/](https://docs.woocommerce.com/document/woocommerce-pages/)
   2. [https://docs.woocommerce.com/document/woocommerce-endpoints-2-1/](https://docs.woocommerce.com/document/woocommerce-endpoints-2-1/)
 * Hope that helps.

Viewing 1 replies (of 1 total)

The topic ‘Facebook Pixel Issues’ is closed to new replies.

 * ![](https://ps.w.org/header-footer-code-manager/assets/icon-256x256.png?rev=2681303)
 * [Header Footer Code Manager](https://wordpress.org/plugins/header-footer-code-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/header-footer-code-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/header-footer-code-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/header-footer-code-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/header-footer-code-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/header-footer-code-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [99robots](https://wordpress.org/support/users/99robots/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/facebook-pixel-issues/#post-13984198)
 * Status: resolved