Woocommerce plugin not working

Hello,
i followed this guide for tracking ecommerce data in a woocommerce website

regular tracking is working, but ecommerce reports are none, have 0 ecommerce events tracked.

any idea how to fix it?

Many thanks

Hi @Mirko_Cecchin,

Are there any errors in the browser when you create an order?

Did you enable the ecommerce integration in the plugin?

yes, it ecommerce tracking is flagged in the plugin

i’m getting these errors in the console at checkout page

matomo.js:12 The method 'setTrackingSource' was not found in "_paq" variable.  Please have a look at the Matomo tracker documentation: https://developer.matomo.org/api-reference/tracking-javascript
ap @ matomo.js:12
matomo.js:13 Uncaught TypeError: The method 'setTrackingSource' was not found in "_paq" variable.  Please have a look at the Matomo tracker documentation: https://developer.matomo.org/api-reference/tracking-javascript
    at ak (matomo.js:13:22)
    at ai (matomo.js:69:789)
    at Object.addTracker (matomo.js:71:822)
    at matomo.js:190:575
    at matomo.js:191:551

Are you using both Piwik PRO and Matomo at the same time? The matomo.js file contains the Matomo JS tracker.

i was using it, but now i have deactivated the matomo plugin

website is https://metalworker.com/ if you want to check

It looks like it’s still present:

edit: If you’d like to use both, please follow this guide:
Can I use Piwik PRO and Matomo at the same time? | Piwik PRO help center

i already did it, implemented the modified Piwik pro tracking code, yet no ecommerce data is tracking with this solution

So currently the WP plugin uses _paq by default and it’s sadly not possible to switch to _ppas at the moment.

The solutions here are:

  1. Go back to using _paq after turning off Matomo
  2. Configure the ecommerce tracking using dedicated JS methods