The add to cart even on the shop page returns with incorrect value https://prnt.sc/q8ejpq
But it is working properly when I add to cart on the product page https://prnt.sc/q8ek5e
We have enabled “Include product’s value” on both the product page and shop page events https://prnt.sc/q8eke6
]]>Hi,
our “viewcontent” parameter for the facebook pixel only shows the ID of the parent product and not the one of variation, is that normal behaviour? How can we fix this?
Thank-you
]]>Hi,
when reaching a 404 page on our site, the following error get’s output on our site. We’re running php version 7.3:
Warning: count(): Parameter must be an array or an object that implements Countable in /hidden/wp-content/plugins/wp-facebook-pixel/pro_assets/nsa_wpfbp-pro.php on line 667
Any ideas why? ??
Thanks!
]]>We have a subdomain for serving static assets. The problem is the plugin include _fbp cookies to every asset request to this subdomain. Can you please tell me, how can we turn that off?
]]>It looks like in the latest release you have commented out cache code from here: https://plugins.trac.www.ads-software.com/changeset/2129932/wp-facebook-pixel/trunk/inc/NSAUtilities.php
//$cache = get_transient($post_type.'_meta_keys');
//if($cache) return $cache;
This is causing these expensive SQL queries to run all the time with a big performance hit.
Can you add the cache code back in?
]]>Hi, thanks for the great plugin! It is simple and useful, but add to cart event on shop page not work ??
]]>Hello,
I have this PHP error in my server console:
2019/10/30 11:22:46 [error] 12908#12908: *156509 FastCGI sent in stderr: "PHP message:
nsau_Write_to_Log: nsa_wpfbp events -
Caller: NSAFaceBookPixel
Type: ->
Function: getEvents
Line: @286
Args:
Array
(
[0] =>
)
PHP message: Array
(
)
PHP message:
nsau_Write_to_Log: nsa_wpfbp mergedEvents -
Caller: NSAFaceBookPixel
Type: ->
Function: getEvents
Line: @286
Args:
Array
(
[0] =>
)
PHP message: Array
(
)" while reading response header from upstream, client: 46.229.168.149, server: amastone.it, request: "GET /?filter_attacco-utensile=mola&filter_marca=ims-it&filter_materiale=trattamento-nichel&filter_modello=mvdin412-it%2Cmvdin417-it%2Cmvdin425-it&product_order=popularity&taxonomy=product_shipping_class&term=ims%3Fview%3Dlist HTTP/1.0", upstream: "fastcgi://unix:/var/run/php7.3-fpm-amastoneit.sock:", host: "amastone.it"
How can I fix it?
]]>Hi I try to install the plugin this whats I receive :
Fatal error: Uncaught Error: Class ‘FacebookPixelPlugin\Core\FacebookWordpressOptions’ not found in /homepages/40/d621861317/htdocs/FlojoSite/wp-content/plugins/official-facebook-pixel/FacebookForWordpress.php:30 Stack trace: #0 /homepages/40/d621861317/htdocs/FlojoSite/wp-content/plugins/official-facebook-pixel/FacebookForWordpress.php(61): FacebookPixelPlugin\FacebookForWordpress->__construct() #1 /homepages/40/d621861317/htdocs/FlojoSite/wp-admin/includes/plugin.php(1897): include(‘/homepages/40/d…’) #2 /homepages/40/d621861317/htdocs/FlojoSite/wp-admin/plugins.php(178): plugin_sandbox_scrape(‘official-facebo…’) #3 {main} thrown in /homepages/40/d621861317/htdocs/FlojoSite/wp-content/plugins/official-facebook-pixel/FacebookForWordpress.php on line 30
I’m not an expert and I need some help. What I can do ? I already update all my wordpress and try to find answer on google. I didn’t find it
]]>Just a gentle reminder that all WordPress headings in admin screens have changed from H2 to H1, H3 to H2, etc in version 4.3, way back in July 2015. Please change your heading structure so it’s semantically correct.
]]>
Hi devs,
When going to the checkout page on a woocommerce site it doesn’t seem to fire the Initiate checkout event. I’ve been using the pixel helper to see which events get fired and I cannot see the InitiateCheckout event in there.
This is what I see when on /checkout img link
]]>I handle three Facebook pages and need to place their pixels onto the same WordPress. Can we do this somehow?
]]>Hello There,
Please tell me if I have placed the pixel correctly?
1. I placed pixel ID in settings.
2. Then on the WordPress page, I clicked CompleteRegistration from the dropdown menu. However, I did not add any details to the value fields.
Will that still function?
When I view the source code of the page it all appears in place, however the event code appears just beneath the pixel in the header. To my knowledge, Facebook disallows us to place that event code in the header tag. Can you comment on this? Thank you very much.
Be Well,
Timothy
P.S. I have copy and pasted the full code that appears in the source below, and removed my pixel ID for safety:
<!– WP Facebook Pixel Code – Main –>
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version=’2.0′;n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,’script’,’//connect.facebook.net/en_US/fbevents.js’);
fbq(‘init’, ‘numbers’);
console.log(‘WP Facebook Pixel > Sending PageView event to Facebook’);
fbq(‘track’, “PageView”);
var fbqEvents = new Array();
</script>
<noscript><img height=”1″ width=”1″ style=”display:none”
src=”https://www.facebook.com/tr?id=NUMBERS&ev=PageView&noscript=1″
/></noscript>
<!– End WP Facebook Pixel Code – Main –><!– WP Facebook Pixel Code – Page Events –><script>fbqEvents.push({
“event”: “CompleteRegistration”,
“data”: “[]”,
“updateScript”: “”,
“preventDefault”: false,
“fbqTrigger”: “sendFBQ(null, event);”
});</script><noscript></noscript><!– END WP Facebook Pixel Code – Page Events –>
Got the same issue as the guy on this post (with 2 differents websites):
https://www.ads-software.com/support/topic/woocommerce-wp-facebook-pixel-incompatible-fatal-error/
When I desactivate WP Facebook Pixel it worked too
The issue Which is :
I have been using WooCommerce and WP Facebook Pixel plugins together for at least six months without difficulties. However, on 06 April 2017 after upgrading WooCommerce to 3.0.0, I got the error following message on all pages on my site:
Fatal error: Uncaught exception ‘Exception’ with message ‘Invalid product.’ in /home/content/p3pnexwpnas06_data02/89/2984289/html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:133 Stack trace: #0 /home/content/p3pnexwpnas06_data02/89/2984289/html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(143): WC_Product_Data_Store_CPT->read(Object(WC_Product)) #1 /home/content/p3pnexwpnas06_data02/89/2984289/html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(126): WC_Data_Store->read(Object(WC_Product)) #2 /home/content/p3pnexwpnas06_data02/89/2984289/html/wp-content/plugins/wp-facebook-pixel/assets/NSAFaceBookPixel.php(191): WC_Product->__construct(2) #3 [internal function]: NSAFaceBookPixel->get_WooCommerce_Events(Array) #4 /home/content/p3pnexwpnas06_data02/89/2984289/html/wp-includes/class-wp-hook.php(298): call_user_func_array(Array, Array) #5 /home/content/p3pnexwpnas06_data02/89/2984289/html/wp-includes/plugin.php(203): WP_Hook->apply_filte in /home/content/p3pnexwpnas06_data02/89/2984289/html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php on line 133
The problem is resolved by deactivating either WooCommerce or WP Facebook Pixel 4.3.
I welcome solutions which would enable me to re-enable WP Facebook Pixel, or recommendations on another WooCommerce-compatible plugin with the same functionality.
Plugin: WP Facebook Pixel
Plugin: WooCommerce
Cool plugin, really useful! Problem is that it is slowing down the admin area considerably. On every admin page, it’s running 107 queries. A whole bunch of nsau_GetMetaKeys()… etc.
There has got to be a way to reduce this. It’s practically unusable.
—- HOST & SERVER —-
PHP Version: 7.0.15
Server Type: Apache/2.4.25 (Unix) OpenSSL/1.0.2g
MySQL Version: 5.7.17
—- WORDPRESS —-
Version: 4.7.1
Multisite: No
Debug Mode: No
Plugin Host: Open
—- ACTIVE PLUGINS —-
Query Monitor (2.13.2)
Gravity Forms (2.1.1) – https://www.gravityforms.com
WooCommerce Remove Billing Fields for Free Virtual Products (2.0) – https://gist.github.com/BFTrick/7873168
Admin Menu Editor Pro (2.4.3) – https://adminmenueditor.com/
Advanced Custom Fields PRO (5.5.5) – https://www.advancedcustomfields.com/
AffiliateWP – Stripe Payouts (1.0.6) – https://affiliatewp.com/addons/stripe
AffiliateWP (2.0) – https://affiliatewp.com
AffiliateWP – Affiliate Forms For Gravity Forms (1.0.12) – https://affiliatewp.com/add-ons/pro/affiliate-forms-for-gravity-forms/
AffiliateWP – Tiered Rates (1.1) – https://affiliatewp.com/addons/tiered-affiliate-rates/
Cooked Recipe Plugin (2.3.11) – https://cooked.boxydemos.com
Custom Post Type UI (1.5.1) – https://github.com/WebDevStudios/custom-post-type-ui/
Enable Contributor Uploads (1.0) –
Essential Grid (2.1.0.1) – https://www.themepunch.com/essential/
Facebook Comments Plugin (2.3.6) –
Google URL Shortener (1.0.0) –
Gravity Forms Cookies (1.0.0) –
Gravity Forms Logging Add-On (1.1.3) – https://www.gravityforms.com
Gravity Forms MailChimp Add-On (3.7.3) – https://www.gravityforms.com
Gravity Forms Survey Add-On (3.1) – https://www.gravityforms.com
Gravity Forms User Registration Add-On (3.5) – https://www.gravityforms.com
If Menu (0.6) – https://www.ads-software.com/plugins/if-menu/
PMPro Migrate Fix () –
PMPro WooCommerce Fix (1.0.0) –
Popup Maker (1.4.21) – https://wppopupmaker.com/
Blubrry PowerPress (7.0.3) – https://create.blubrry.com/resources/powerpress/
Q2W3 Fixed Widget (5.0.4) – https://www.q2w3.ru/q2w3-fixed-widget-wordpress-plugin/
Recent Posts Widget Extended (0.9.9.6) – https://www.theme-junkie.com/plugins/recent-posts-widget-extended/
SendGrid (1.10.7) – https://www.ads-software.com/plugins/sendgrid-email-delivery-simplified/
User Switching (1.0.9) – https://johnblackbourn.com/wordpress-plugin-user-switching/
WooCommerce Product Feed (2.0.2) – https://webappick.com/
Widget Logic (0.57) – https://www.ads-software.com/extend/plugins/widget-logic/
WooChimp (2.1) – https://www.rightpress.net/woochimp
WooCommerce Extended Coupon Features PRO (2.3.7.1) – https://www.soft79.nl
WC Autoship Product Page Options (1.1.0) – https://wooautoship.com
WC Autoship Upsell (2.0.0) – https://wooautoship.com
WC Autoship (4.1.0) – https://wooautoship.com
WooCommerce Bulk Discount (2.4.2) – https://www.ads-software.com/plugins/woocommerce-bulk-discount/
WooCommerce Coupon Exclusions (1.1.0) – https://www.itthinx.com/plugins/woocommerce-coupon-exclusions
WooCommerce Print Invoice & Delivery Note (4.1.5) – https://github.com/piffpaffpuff/woocommerce-delivery-notes
WooCommerce Stripe Gateway (3.0.7) – https://www.ads-software.com/plugins/woocommerce-gateway-stripe/
WooCommerce Google Analytics Integration (1.4.0) – https://www.ads-software.com/plugins/woocommerce-google-analytics-integration/
WooCommerce Shipment Tracking (1.4.4) – https://www.woothemes.com/products/shipment-tracking/
WooCommerce Stamps.com API integration (1.2.7) – https://woothemes.com/products/woocommerce-shipping-stamps/
WooCommerce USPS Shipping (4.3.3) – https://www.woothemes.com/products/usps-shipping-method/
WooCommerce (2.6.8) – https://woocommerce.com/
WooSidebars (1.4.3) – https://woothemes.com/woosidebars/
WooCommerce Helper (1.7.2) – https://woocommerce.com/products/
Wordfence Security (6.2.10) – https://www.wordfence.com/
Yoast SEO (4.1) – https://yoast.com/wordpress/plugins/seo/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wpseoplugin
WP Facebook Pixel (4.3) – https://nightshiftapps.com/wp-facebook-pixel/
WP-Piwik (1.0.14) – https://www.ads-software.com/extend/plugins/wp-piwik/
WP Support Plus (8.0.1) – https://www.ads-software.com/plugins/wp-support-plus-responsive-ticket-system-ticket-system/
WP User Avatar (2.0.8) – https://www.ads-software.com/plugins/wp-user-avatar/
—- WP FACEBOOK PIXEL —-
Version: Entlebucher Mountain Dog (4.3)
Settings:
Array
(
[nsa_wpfbp_general_facebook_pixel_id] => 541747676018949
[nsa_wpfbp_general_user_type_tracking] => Array
(
[0] => editor
[1] => author
[2] => contributor
[3] => subscriber
[4] => bbp_keymaster
[5] => bbp_spectator
[6] => bbp_blocked
[7] => bbp_moderator
[8] => bbp_participant
[9] => customer
[10] => shop_manager
[11] => wp_support_plus_agent
[12] => wp_support_plus_supervisor
)
[nsa_wpfbp_woocommerce_product_id] => data-product_id
[nsa_wpfbp_woocommerce_product_value] => current_price
[nsa_wpfbp_woocommerce_product_send_ViewContent] => true
[nsa_wpfbp_woocommerce_product_send_AddToCart] => true
[nsa_wpfbp_woocommerce_shop_send_AddToCart] => true
[nsa_wpfbp_woocommerce_order_recieved_send_purchase] => true
)
Hello, I just installed your plugin and set to track Woocommerce events in Woocommerce options section. The events are not tracked and I get errors from the pixel helper inspector like “Facebook Pixel is not paired with any product catalog” and “Facebook pixel did not load” for AddToCart event, the only event correctly tracked is PageView. Am i missing something?
]]>Hi, this is a presales question.
Does your plugin support dynamic events as described here?: https://www.pixelyoursite.com/facebook-pixel-dynamic-events
Please let me know, thanks.
]]>WordPress Admin burger menu doesn’t work when plugin is activated. This is on Safari iOS. Haven’t tested with Chrome Developer Mode yet.
I’ve tried to inactivate the plugin and it works. Doesn’t know it this effects more JS in WordPress, panel options for example. Our client use WP from the mobil a lot to check WC Orders.
Please respond with an ETA for this to be fixed.
]]>Hi!
Great plugin! I noticed you added a great feature in the paid version, sending product tags.
I would like to ask how does that work because there is no default field on facebook’ end for “tags”.
Also we use multiple ones, is the plugin sends all of them? Is facebook capable of storing multiple values per field?
Thanks and keep up the good work.
]]>Hi there,
after the latest update, our admin panel has been really, really slow. I mean extremely slow.
After deactivating plugins one by one, we found that your plugin was the source. The front end of the site loads as fast as always, but the backend becomes painfully slow. We’re talking about a minute here, just to load up a page in the WP Admin.
For now, we have been forced to disable your plugin, hope to get a quick reply from you about what’s going on!
Also want to say that we have been extremely satisfied with the plugin up to this point, so I hope that this is something you can resolve quickly!
// Jens.
]]>Hello.
I have installed this plugin and it works great with woocommerce, thanks!
However, the pixel is not triggering if the user is not signed in.
Is that intentional or is it a bug?
]]>There seems to be a conflict with this plugin and the ‘edit permalink’ button in the editing page.
When this plugin is activated, the button does not work.
]]>Hi, how are you? Thank you for your plugin, It’s interesting and Im trying it to see if I buy the PRO version. I have set it up in my site but I don’t understand were all the data should display. What should I do in the Facebook side? should I set personalized conversion events? Do you have any link to an article where I can check this? thanks
]]>Dear Developer,
From the cron job of WB, I got the below error:
Parse error: syntax error, unexpected ‘[‘ in /home/c5tee362/public_html/wp-content/plugins/wp-facebook-pixel/inc/NSAUtilities.php on line 22
Please check.
Thanks.
hI!
Since the last update a few backend problems happened.
On my OptinMonster plugin I cannot select pages. After turning this plugin off it comes back.
I cannot click on the button “Show Password” when adding a new user to the site. Also, after disabling his plugin it works.
Thanks
]]>Hello,
How can I add the Search event to the WooCommerce Search product results page?
Thank you,
HHoria
Hi!
Is it possible to disable conversion value for ViewContent? It messes up my reporting data ??
Great plugin by the way, thanks
]]>Where can I find more detail about how to use this? I have the basic pixel set-up but I am just guessing when I’m working with individual posts.
]]>After enabling and configring with SKU and facebook ID, the plugin “WP Facebook Pixel”, the all the top search forms of all the products pages are breacked, showing a search box composed from a strange double row,with a categories select meni on the top and the search form on the bottom:
https://spesagodina.it/web/product/brodo-di-carne/
https://spesagodina.it/web/product/canederli-al-grano-saraceno-e-speck/
In all the other pages (as inthe product pages too before of activating the “WP Facebook Pixel” ) the first was was hidden from this code into the CSS file:
/* hide the category filter in the top search form */
#header .v3 .header_search_categories div.select_category {
display: none;
}
#header .v3 .header_search_categories .search_content {
width: 100%;
}
/* hide the category filter in the top search form also in the checkout page */
#header .v3 .header_search_categories div.select_category {
display: none !important;
}
]]>
Hi!
After installation our theme stopped loading the jquery file in header. Once I disabled this plugin, everything works as usual.
Any ideas?
Br,
Tuomas
]]>This is a great plugin.
However, from the code, it seems that for “View Content”, the product value is assigned as conversion value.
That is unreasonably high.
Is it possible for user to assign custom conversion value for different action such as search or view content?