General
↑ Back to topWhere can I report a bug or suggest improvements?
↑ Back to topLog into your WooCommerce.com account and place your ticket there.
Additionally please copy and paste the debug information from the support page of the plugin into your support ticket.
The most common issues in case the pixels don’t work
↑ Back to top- Caching: If you run some caching layer, the server might still serve cached versions of the pages. You will need to delete the cache.
- Minification, combination and concatenation: Some minification and combination plugins mangle up the injected JavaScript code to an extend, that the tracking pixels stop working. You will need to turn minification, combination and concatenation off and try again.
Is wpm_get_cart_items slowing down my website?
↑ Back to topShort answer: No
Long answer:
First some information on what wpm_get_cart_items
 is doing.
While a visitor is browsing a shop he might add some products to the cart. Each time he uses the minicart to modify his selection, by adding or removing products, we need to make sure to have all product information handy in order to send pixel events with all relevant data to Google, Meta (Facebook), etc. Unfortunately it is not possible to include this information on page load within the HTML code, because caching mechanisms could serve outdated data to the browser. That’s why we need a mechanism likeÂ
wpm_get_cart_items
 that will fetch all the current product data for the minicart from the server.
And now to the question if wpm_get_cart_items
 is slowing down the website.
Some users have noticed in the network tab of their browsers that the wpm_get_cart_items
 call adds one more request, which on slow servers can take even more than a second to fullfil. It is using the standard WordPress Ajax function to fetch the product data.
But is this not slowing down the website?
The wpm_get_cart_items
 call happens after the browser has signalled the load
 event, which happens after all content has already been successfully loaded.
INFO
The load event is fired when the whole page has loaded, including all dependent resources such as stylesheets and images.
Reference:Â Mozilla MDN Web Docs
INFO
PageSpeed measures the loading time of your page starting from the initial request to when the last embedded resource (JS, CSS, images, etc.) has finished loading. So that’s essentially when $(window).load() is triggered.
Reference: Lèse MajestĂ©’s answer on Stackoverflow
So the wpm_get_cart_items
 doesn’t slow down the download or rendering of a WooCommerce shop in any way.
My theme shows a script code on the front-end that shouldn’t be there​
↑ Back to topThe Pixel Manager uses a script output to track products in a way that works with every caching system.
It outputs that code wrapped in a <script></script>
 tag that is fully compliant HTML code.
Because the code is wrapped in <script></script>
 tags the theme should ignore the code and not output it visibly to the front-end.
There is nothing we can do from our side. You have to ask the theme developer to update the theme to ignore all code that’s wrapped in <script></script>
 tags.
Elementor Related Products and Upsell Products Widgets​
↑ Back to topINFO
This has been fixed in version 3.9.0 of Elementor Pro. Please update to that version (or higher).
In its current version, the Elementor Related Product and Upsell Product Widgets don’t properly process the <script>
 output created by the WooCommerce Pixel Manager. It should be hidden and not visible. This is an issue that only can be fixed by the creators of the Elementor Related Products and Upsell Product Widgets as described in the following troubleshooting article.
Luckily, there is a workaround for users of the Elementor Related Products Widget. Instead of using the built-in Elementor Related Products Widget, you can use the following shortcode,
[related_products limit="X"]
Similarly, for replacing the Elementor Upsell Products Widget, you can use this code published by bekarice:Â https://gist.github.com/bekarice/a3305c18d32b4de9d8b7
We already have placed a bug report on Elementor’s GitHub issue tracker:Â https://github.com/elementor/elementor/issues/16934
The bug report shows another way for the users to fix the problem, enabling them to keep using the Elementor widgets. But it can’t persist over Elemetor updates, so you need to keep updating this with every Elementor update. Use it at your own risk.
We’d recommend that you give the issue a thumbs up or add your own comment so that the Elementor developers see how frequently that problem happens and increase the priority of that issue.
We’re in direct contact with Elementor, but at the moment we can’t say for sure if and when they are going to fix this on their end.
The Purchase Confirmation Page Doesn’t Load and Shows a Blank Page​
↑ Back to topIf a blank page shows up when trying to load the purchase confirmation page the reason is typically too low allocated memory. The Pixel Manager runs a few queries on the purchase confirmation page which use more memory than on other pages. If in the shop configuration the memory limit is too low, this problem can occur. The solution is simple. Increase the memory limit in your configuration.
Make sure that the memory limit is well above your maximum memory allocation.
Add one of the following lines to the configuration file wp-config.php
/wp-config.php
define('WP_MEMORY_LIMIT', '256M');
/wp-config.php
define('WP_MEMORY_LIMIT', '512M');
/wp-config.php
define('WP_MEMORY_LIMIT', '1024M');
Here’s a support article on WooCommerce that also shows other ways how to increase the memory limit.
The purchase confirmation page loads very slowly when the Pixel Manager is enabled​
↑ Back to topThe Pixel Manager runs a few queries on the purchase confirmation page to evaluate if the customer is a new customer or an existing customer. It also determines different types of customer lifetime values for that customer. Those queries, on some shops, can take a long time to execute.
The simplest way to fix this is to add high-performance indexes to the tables. One of our tests improved the query speed by a factor of 133!
Use the Index WP MySQL For Speed plugin to add those high-performance indexes to your shop too. It will not just help on the purchase confirmation page but on every page of your shop.
Read more about this optimization in our blog article about adding high-performance indexes.
Why I can’t verify my site on HotJar?
↑ Back to topThe plugin configuration for HotJar is really simple. You just have to paste the Site ID from HotJar’s tracking code to Pixel Manager and you’re good to go.
However, sometimes, there will be instances where your site can’t be verified. Usually, it’s because of these things:
- Cookie Banner – make sure that you have disabled the cookie banner when verifying your site on HotJar. This sometimes blocks the cookies coming from HotJar as well causing it not to verify successfully
- Explicit Consent Mode – having this option enabled in the plugin will also not allow cookie tracking on your site. Just like the Cookie Banner, this will also cause your site’s verification to be unsuccessful
- You’re logged in while verifying – You also have to do the verification while you’re logged out on your WordPress Dashboard so your site will be tracked.
- Server-side caching – Make sure to clear all server-side caches after each configuration so the HotJar verifier will not load a cached version.
Duplicate jQuery library causes random issues​
↑ Back to topProblem
The theme, a plugin, or a custom code that loads an additional jQuery library overwrites the events the Pixel Manager hooks into.
WordPress for a long time was shipped with an old version of jQuery. Therefore, some theme developers or shop managers loaded an additional, newer jQuery library in the HTML source. But, if done incorrectly, this would overwrite all events a plugin like the Pixel Manager has hooked into, rendering all event listeners useless.
Luckily WordPress, since version 5.5, is shipped with the most modern jQuery library. This means the additional jQuery library can be safely removed.
Verification
- Open the development console
- Search the entire source code using OPT+CMD+F (on a Mac) for the following string: “jQuery requires a window with a document”
- If you get two results then the jQuery library is duplicated and is causing issues.
Solution
Remove the additional jQuery library. Keep the jQuery library that WordPress is injecting.
Render issues that show Pixel Manager JavaScript code on the front-end​
↑ Back to topIn rare cases you might run into rendering issues on the front end which visibly show JavaScript code that is injected by the Pixel Manager into the page source.
This typically starts with the following line:
window.wpmDataLayer.products = window.wpmDataLayer.products || {};
There are two known cases where this problem appears.
- Users of the Elementor Pro widget for related and upsell products. For them, we have an own support article with a workaround:Â Elementor Render Issue
- The theme is using a front end JavaScript library which makes a mistake when rendering the code that the Pixel Manager injects into the product templates. The Pixel Manager injects the following three HTML elements into the page source:Â
<meta>
,Â<input type="hidden">
 andÂ<script></script>
. All those HTML elements are invisible elements by definition and should not be visibly rendered. However, some JavaScript helper libraries don’t account for those invisible elements and render some or all of them visibly nonetheless.This needs to be fixed by the developers of those render libraries. The Pixel Manager cannot work around this issue.
Updates not visible​
↑ Back to topSometimes it can happen that updates don’t show up anymore, despite the subscription still being active.
Sync the license manually​
Go to the Account tab of the plugin and click the Sync button. This will sync the license and might fix the issue already. If it doesn’t continue with the next approach.
Full Reset​
Sometimes manually syncing the license or deactivating and reactivating the plugin will not help. In that case a full reset should help.
- Download the Freemius Fixer plugin from here:Â https://github.com/Freemius/freemius-fixer
- Install the plugin on your website.
- Run the Freemius Fixer.
- Now you will have to add your license back to the Pixel Manager by going to the Account page of the Pixel Manager. If you don’t have it on file you can always log into your account and get it from there: https://sweetcode.com/freemius-account/
The REST endpoints for the Pixel Manager are not working​
↑ Back to topIn some edge cases it can happen that the wp-json
 REST endpoints for the Pixel Manager stop working and return a 404
.
Typically, this happens when switching from pretty links to non-pretty links in the WordPress permalink settings and if the website uses caching.
Clearing all server-side cache (caching plugin, server cache, CDN cache, etc.) should fix that issue.
4 seconds delay or slow down of loading the website visually​
↑ Back to topHere’s one possible explanation.
Condition: The Pixel Manager Lazy Loading and Google Optimize are active at the same time.
When Lazy Loading the Pixel Manager, which will also lazy load Google Optimize, the Google Optimize experiments would not load correctly, and the AB-tests would not yield valid results.
Therefore, only when both functions are active, the Pixel Manager automatically activates the Google Optimize anti-flicker script, which prevents the website from loading visually until either 1) Google Optimize is fully loaded or 2) the anti-flicker timeout is reached.
That timeout is set to 4 seconds by default.
Remember, the Lazy Load function loads the scripts immediately when the visitor interacts with the website. So that delay usually is much lower, especially when a visitor uses a mouse to navigate (as mouse movements trigger the loading immediately).
But when using performance measuring services, no interactions are triggered, which makes the Lazy Load always wait and the visual loading delayed until the anti-flicker timeout is reached.
Our customer has the following options:
- Ignore the visual delay measured by performance-measuring services. The real-life delay is usually much lower.
- Decrease the anti-flicker timeout by using the following PMW:Â https://sweetcode.com/docs/wpm/plugin-configuration/google-optimize/#adjusting-the-anti-flicker-snippet-timeout
- Either disable Google Optimize or Lazy Loading the Pixel Manager.
Action Scheduler​
↑ Back to topThe Pixel Manager ships with the Action Scheduler library. It helps to compile reports at night, because they can take a long time to process.
In rare cases the Action Scheduler tables are bloated, locked and can cause the entire website to go down. It seems to be an ongoing issue that’s not limited to users of the Pixel Manager:Â https://clicknathan.com/web-design/woocommerce-actionscheduler-table-error/
There are various ways to deal with this. All of them have essentially the goal to clean up and fix the Action Scheduler tables.
Remove unnecessary records such as failed, cancelled and completed jobs
↑ Back to topDANGER
Only do this if you know how to restore a database backup.
- Take a backup of your database
- Open your database and run the following SQL statements.
If your tables use a custom prefix other than wp_
, adjust the prefix in the statement.
DELETE FROM wp_actionscheduler_actions WHERE status = 'canceled';
DELETE FROM wp_actionscheduler_actions WHERE status = 'failed';
DELETE FROM wp_actionscheduler_actions WHERE status = 'complete';
Locked database
↑ Back to topDANGER
Only do this if you know how to restore a database backup.
It can happen that the Action Scheduler is messed up so much, that the database is constantly locked by Action Scheduler reads/writes. As a result you can’t access the database and fix the issue. Here’s how deal with this problem.
- Take a backup of your database.
- Open theÂ
wp-config.php
 file, take a note of the database password, delete the password in the file and save the file. The website will not be able to access the database anymore. The database should now be accessible again. - Get your fixes done.
- Add the database password back toÂ
wp-config.php
.
Drop current tables and replace them with fresh ones
↑ Back to topDANGER
Only do this if you know how to restore a database backup.
- Take a backup of your database.
- Download the following file by right-clicking on it and selecting “Save link as”: replace-as-tables.sql and save it under the nameÂ
replace-as-tables.sql
 on your local computer. - Import the file into your database. If you use the default WordPress prefixÂ
wp_
 in your database it will replace the existing tables. - Now you have fresh Action Scheduler tables. If you’re using the default WordPress prefixÂ
wp_
 you’re done. The tables are fixed. If you use a custom prefix, please continue with the next step. - Drop the old tables manually.
- Take the following SQL statement and replaceÂ
custom_prefix_
 with the prefix you’re using in your database. Then run the SQL statement.
RENAME TABLE
wp_actionscheduler_logs TO custom_prefix_actionscheduler_logs,
wp_actionscheduler_groups TO custom_prefix_actionscheduler_groups,
wp_actionscheduler_claims TO custom_prefix_actionscheduler_claims,
wp_actionscheduler_actions TO custom_prefix_actionscheduler_actions
- Now you have fresh Action Scheduler tables with the correct prefix and everything should be working again.
Further Action Scheduler Support​
↑ Back to topThe Action Scheduler is maintained by the Automattic team. If you need further support, please contact them directly: https://woocommerce.com/contact-us/
Call to undefined function as_has_scheduled_action()
↑ Back to topIf you get the following error message:
Call to undefined function ... as_has_scheduled_action() in...
 means that you’re using a third-party plugin with an outdated version of the Action Scheduler library.
The Pixel Manager ships with the latest version of the Action Scheduler library that contains the as_has_scheduled_action()
 function.
The Action Scheduler is packaged within many plugins. When loaded the Action Scheduler automatically loads the latest version of the Action Scheduler library. However, this only works reliably from version 3.2.1
 onwards.
Here’s the WooCommerce troubleshooting article on this issue:Â Deconflicting Different Versions of Action Scheduler
There is a safeguard in the Pixel Manager that prevents using the function as_has_scheduled_action()
 if it is not available. But, it may happen that in a later version of the Pixel Manager we forget to add that safeguard (as this already happened in the past). If you’re reading this article, we probably have forgotten again and need a slap on the wrist. Please contact us and we will fix it immediately.
Meta (Facebook)​
↑ Back to topServer Sending Invalid Match Key Parameters​
↑ Back to topThe way our plugin generates and sends the match key parameters prevents a mismatch to happen. Either they are sent correctly and matched by our plugin, or they are not sent at all.
The usual explanation for this warning is one or several of the following:
- You recently enabled Meta (Facebook) CAPI. In that case, Meta (Facebook) sometimes, unfortunately, mixes up old with new values and generates this warning. Fortunately, this transitory situation is only temporary and resolves just by waiting a few days. In this case the recommendation is to simply dismiss the warning. If the warning shows up again, have a look at the other possible reasons. If the issue you are encountering is not listed, feel free to contact support.
- You are running a second instance of the Meta (Facebook) pixel through another plugin or custom code. If that is the case then that code is missing the correct match keys and causes the warning. Please disable additional Meta (Facebook) plugins and/or remove additional custom Meta (Facebook) code. Then dismiss the warning in Meta (Facebook). If the warning reappears, go ahead and contact support.
Purchase Event delay from the server (Conversion API)​
↑ Back to topUnder normal conditions, the plugin sends the purchase event immediately to Meta (Facebook). But, when a payment for the order fails, no purchase event is being sent through the Conversion API. Only when the payment on that order is recovered at a later point in time, then the purchase event is sent to Meta (Facebook). This can lead to a Purchase Event delay from server
 warning. It can be safely ignored.
Potentially violating Personal data sent to Meta (Facebook)​
↑ Back to topThis happens when Meta (Facebook) detects URL parameters that potentially contain personal data (PII) in the path of the URL.
Example:Â http://example.com/account/reset-password?username=johndoe
In this case Meta (Facebook) detects that username
 probably contains personal information, issues a warning and redacts the information like this: http://example.com/account/reset-password?username=_removed_
Our plugin does not add any information to the URL path. The only information that our plugin is sending through the browser pixel is product and order data. The source of this warning are URL paths generated by the server and must be fixed there.
Meta (Facebook) in some cases is “trigger happy” and issues a warning although there is no personal data in the URL path.
Example:Â http://example.com?_ip=123456
In this case _ip=123456
 resembles an IP address, but in your case, it might be something completely different. If you are sure it is not personal information, you can safely ignore the warning.
I am getting “Failed to load resource: net::ERR_BLOCKED_BY_CLIENT”​
↑ Back to topThis is usually caused by an ad-blocker in the browser.
In order to fix this, temporarily disable the ad-blocker or switch to another browser that doesn’t have an ad-blocker enabled.
Read more about this here.
Incompatible Plugins​
↑ Back to topWC Custom Thank You
↑ Back to topPlugin homepage: link
INFO
The plugin creates a custom order thankyou page for WooCommerce, but doesn’t follow the WooCommerce standard for the order confirmation page. In order for conversion pixels to fire on the WooCommerce order confirmation page, every WooCommerce theme must implement the correct output for the is_order_received_page()
 conditional. This is valid for plugins that modify the purchase confirmation page too. On top of that, the WC Custom Thank You plugin has not been updated in a long time and the developer has stopped to answer support requests.
Google Ads​
↑ Back to topMisconfigured Bidding Strategy
↑ Back to topIt can happen that Google Ads throws the warning “Misconfigured bidding strategy“. The hover text shows “Your campaign is running with limited performance. Set up conversion tracking for your account to improve your performance, spending and see reporting“.
INFO
Unfortunately, this warning sometimes is thrown even if conversion tracking is set up just fine.
Typically, the warning is thrown on Smart Shopping campaigns. Additionally, conversion tracking for Smart Shopping campaigns have more requirements in order to run well. If those are not met, the same warning is thrown.
- First, make sure that conversion tracking has been set up correctly. Double check the conversion ID and conversion label.
- Make sure that the product ID type is the same as the one you use in Google Merchant Center. The product IDs must match.
- Smart Shopping campaigns require at least 30 conversions within a time frame of the past 30 days. And, in order for them to be able to use the remarketing lists, there must be at least 100 visitors per list in the past 30 days. Once the requirements are matched, the warning will go away.
- Make sure that the bidding strategy uses the the correct budget type. Depending on your settings you might have to use a different budget type. A single budget per campaign generally works fine. But if you’re using shared budgets, you must make sure that all campaigns in the same shared budget use the same bidding strategy.
- If you don’t think you can match the requirements in the near future it is better to run a standard shopping campaign.
Issue: ID never received​
↑ Back to topSometimes Google Ads shows a warning saying the ID was never received. Unfortunately, that warning is shown even in cases where everything works perfectly fine.
You can check yourself if IDs are being received in the audience report. Switch the graph to Parameters > ID hits. If you see a graph like the following, everything is ok and you can dismiss the warning and don’t need to continue reading further.
If you see incoming ID hits in the graph and still want to investigate the warning further, please ask Google support.
On the other hand, if you don’t see ID hits in the graph, please continue reading.
It doesn’t mean that Google Ads is always wrong when it comes to that warning. There are cases where the Google Ads warning can be right. Here is a list of possible causes:
- You’ve set the wrong conversion ID. Double-check and correct it if necessary.
- When setting up the remarketing audiences you’ve enabledÂ
retail
 and theÂcustom
 audience. The plugin can only send the signal for one or the other, not for both (which would not make sense anyway). So one of those verticals never receives an ID (usuallyÂcustom
), in which case you will see that warning show up regularly, but usually can dismiss it. Unfortunately theÂcustom
 vertical can not be turned off once enabled. - There is some reason that is blocking the remarketing script from sending events correctly, usually some kind of JavaScript optimization plugin.
Make sure that none of the above reasons are causing this problem.
The best way to check if the ID is being sent is to use the Google Tag Assistant
Here’s how to check:
1. Open the Google Tag Assistant:Â tagassistant.google.com.
2. In Google Tag Assistant, instruct to open one of your product pages.
3. If the product page is a variable product, select the drop-down(s) to choose one variation.
4. Then switch back to the Google Tag Assistant tab.
5. In the middle pane, click on dataLayer.
6. In the left sidebar, click on the view_item event. If you’ve also set up Google Analytics, you will see several view_item events. Click through each of those until you see in the dataLayer the event that is sending events to your Google Ads conversion ID.
7. Once you find the correct event, check if the ID is being sent. If so, all is good. You have proof that the ID is being sent and the warning is wrong. You can dismiss it.
8. If you would like, you can also take those results and ask Google Ads support to fix that warning. (It would be a great help for us, because we investigate way too many of those false positive warnings).
The measured conversion value is too high in Google Ads
↑ Back to topSituation: The measured conversion value is too high in Google Ads. When compare the conversion value of each transaction in the Google Ads website report with the actual transaction value in WooCommerce, the Google Ads conversion value is higher than the actual transaction value.
Here’s how that might look in the Google Ads website report. When comparing the conversion value with the actual transaction value in WooCommerce, the Google Ads conversion value is higher than the actual transaction value:
This can be explained by one or several of the following reasons:
- You’ve enabled one or several campaigns to bid higher for new customers:Â In that case, Google Ads will increase the conversion value for new customers by the set value. This is a feature of Google Ads and not a bug.
You might experience this only while using using the Pixel Manager. The reason is that the Pixel Manager is one of the few tracking code managers that is able to distinguish between new and existing customers and sends the new_customer
 parameter to Google Ads as described in the Google Ads documentation.
- You are using the Pixel Manager conversion value filter to increase the conversion value: In that case, the conversion value will be increased by the conversion value determined by the filter. This is a feature of the Pixel Manager and not a bug. Read more about the conversion value filter here.
The Pixel Manager doesn’t recognize custom order paid statuses.
↑ Back to topThe Pixel Manager uses the WooCommerce order paid status to determine if an order has been paid. If you use a custom order paid status, the Pixel Manager will not recognize it.
You can use the following filter to add a custom order paid status to the Pixel Manager:
/wp-config.php
add_filter('woocommerce_order_is_paid_statuses', function ($statuses) {
$statuses[] = 'custom-paid-status';
return $statuses;
});