• Resolved jcarinop

    (@jcarinop)


    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 to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author 99robots

    (@99robots)

    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://ww.wp.xz.cn/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/
    2. 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.