Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

How to debug javascript client?

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles