JavaScript custom event not processed?


I’m evaluating Matomo (trying to migrate from GA), I heavily rely on custom events sent directly from the front-end using JavaScript, so I decided to test the matomo side of things.

On my website, I added the tracking code, and from the console, I typed several variants of this snippet:

_paq.push(['trackEvent', 'download', 'submit', 'form_documentation']);

I did this more thant 20 times, each time matomo returns a 204 No content HTTP response, which seems OKish to me.

But when I go to Matomo UI, going to Behaviour > Events, and select the proper date range, to have today’s events. But nothing shows up in the tables.

Am I missing something?

Thank you,