matomo-org / matomo-for-wordpress

Get a fully functioning Matomo Analytics for your WordPress. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Privacy is built-in. 100% data ownership, no one else can see your data. We love Pull Requests!
https://matomo.org
GNU General Public License v3.0
119 stars 25 forks source link

Matomo for Wordpress causing cart to empty on checkout #908

Open ssofnosaj opened 1 year ago

ssofnosaj commented 1 year ago

Matomo for WordPress Version 4.15.2 WooCommerce Version 8.2.1 Wordpress Version 6.3.2

Had an issue where items would be added to the cart okay, but then sometimes on View Cart and always on Checkout, the cart would empty itself.

After going through the disable-all-the-plugins and reactivate-one-at-a-time process, Matomo seems to be the culprit! No idea why. But it's all working fine now with Matomo disabled.

michalkleiner commented 1 year ago

Thanks for reporting the issue, @ssofnosaj. I've moved it to the correct repository for the plugin. At a guess, this could be one of the compatibility issues where some other plugin interferes with the Matomo plugin.

diosmosis commented 1 year ago

Hi @ssofnosaj, can you provide the Matomo for Wordpress system report from the Matomo > Diagnostics page?

ssofnosaj commented 1 year ago

Sure can!

              # Matomo

Endpoints

Crons

Mandatory checks

Optional checks

Matomo Settings

Logs

WordPress

WordPress Plugins

Server

Database

Browser

diosmosis commented 1 year ago

@ssofnosaj can you try the following with Matomo enabled:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);