Support » Plugin: PixelYourSite - Facebook Pixel, Google Analytics, Head & Footer (WooCommerce, EDD, Events) » how to add the facebook pixel in woocommerce elementor pages

  • Resolved kingsport1


    Hi , i installed pixelyoursite plugin on woocommerce. the thing is that i am using elementor for making my pages and i use a form for getting peoples details (adress+phone) for sending my products that i sell (you can check on the link i attached.
    Problem is that i dont know how to configure the pixel that when someone add their details on the form , facebook pixel to make it as a purche. I will add some images to check the problem. So my pixel it seems its active but i dont know it shows me a bunch of purches even that i didnt had them … realy have no idea how to cinfigure it.
    • This topic was modified 2 months, 2 weeks ago by  kingsport1.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author PixelYourSite



    As far as I can see, you’ve configured a Purchase event from our Events tab that is fired on every page. That’s definitely something you don’t want to do, so delete that event.

    If you use WooCommerce, transactions will be tracked automatically.

    If you want that form submit to be registered as a Purchase, you need a custom-made Purchase event built using our “Click on CSS Selector” trigger and some of the button’s classes or IDs. Elementor has the option to add some custom IDs, so this is what I would recommend. Once you have the ID on the button, use it as your Purchase event trigger.

    thank you very much for your reply, well i dont really know what i am doing. Can you please check the attach to see if i did something good? thanks
    Plugin Author PixelYourSite


    It looks good, you’ve identify and use the class in a correct way. This should be enough to fire the event on that particular button.

    However, that class is a general Elementor class that’s present on every button. You can also add custom classes or IDs from Elementor (I don’t remember exactly where is this option, but it’s definitely there) and use it instead. This will ensure that only a particular button fires the event.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.