• Hello,

    I’m having a problem with the Facebook pixel. If I use the Elementor Full Width template, the ViewContent event doesn’t fire. The plugin used is Facebook for Woocommerce.

    The strange thing is that on the checkout page I use the same Elementor Full Width template, but there all the events are fired without problems (addtocart, initiatecheckout, etc.)

    I’ve tried all the options:

    • all plugins disabled, except elementor
    • cache disabled
    • I even tried with the default Storefront theme

    Can anyone help me solve this problem?
    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Milos

    (@miloss84)

    Hello,

    Thank you for reaching out.

    It sounds like there may be a conflict or inconsistency with how the Facebook for WooCommerce plugin is detecting and firing events on pages using the Elementor Full Width template. Since the events work correctly on the checkout page but not on other pages, here are a few things you can check and try:

    1. Verify Pixel Initialization
      • Use the Facebook Pixel Helper Chrome extension to see if the pixel is loading properly on the affected pages.
      • Check the Facebook Events Manager to confirm if any events are being blocked or misfiring.
    2. Compare Page Structure
      • Since the checkout page works fine, compare its setup with the affected pages. Are there any differences in widgets, shortcodes, or custom scripts
    3. Check Facebook for WooCommerce Settings
      • Ensure that Advanced Matching is enabled in the plugin settings.
      • Try disconnecting and reconnecting your store to Facebook.
    4. Test Without Elementor Template
      • Try switching the page template to Default and see if the event fires correctly. If it does, Elementor’s Full Width template might be affecting how the pixel is loaded.
    5. Enable Debug Mode
      • Enable WordPress Debug Log and check for any JavaScript errors or conflicts that might be interfering with the pixel’s execution.

    Let me know if any of these steps help or if you need further assistance!

    Best regards,

    Thread Starter bilzone

    (@bilzone)

    In the meantime I solved it.
    I had already tried everything you wrote above but without any result.

    The solution is the following:
    – in the theme files, in hedear.php, before the < / body> the following code must be inserted:

    <?php
    do_action( ‘woocommerce_after_single_product’ );
    ?>

    Thanks for the answer

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