Track "Submit" of a Chat-Form

Hey there,
I’m connecting Piwik to a chat. Now I have created an goal “Sended Messages” and I would like to track how many Messages where send.

I can’t use jQuery for the Submit-Handler cause it brokes down the whole chat :confused:

For Hyperlinks Piwik has an own Tracker, may for forms too?
How would you do, if you where in my situation?

PS: “onSubmit”-setting didnt work :confused:


<form onsubmit="javascript:piwikTracker.trackGoal(1);"> [...]

Did you consider server side tracking ? Tracking API - Analytics Platform - Matomo

Also Form Analytics is coming soon! Check the page to learn more and be notified when it will be launched. :rocket: