There is a guide on debugging the tag manager: https://developer.matomo.org/guides/tagmanager/debugging
But there seems to be no way to debug the JavaScript Tracking Client? Things like page views, events etc.
I noticed that there are no network requests being send when I’m doing things that should trigger events tracking. The console log’s above those calls do get logged.
I tried overriding & logging _paq.push, but that doesn’t seem to work.
var _orgPush = window._paq.push
window._paq.push = (...args) => {
console.log("matomo push: ", ...args)
_orgPush(...args)
}
Am I missing something obvious?
2 posts - 2 participants