How to debug javascript client?

matomo.js was loaded.

Classic mistake. Trying to pull the tracking code through webpack, where the _paq name probably get’s mangled:

Putting it directly in the html seems to help.

Good tip checking window._paq, but for me it just contains:
{push: ƒ}

On https://matomo.org/ it does contain a lot of items.

1 Like