How do I prevent a form from being tracked via JavaScript?

It is possible, to deactivate some forms / form fields with the attribute:

data-matomo-ignore

Is it also possible to deactivate the automatic tracking of forms via JavaScript?

Hi @TomCz,

Hope this helps. https://developer.matomo.org/guides/form-analytics/reference

Hi,

thanks. I look for a methode to disable some forms. In the documentation, i only can disable the whole form analytics tracking, but not for a specific form.

Greetings

Hi @TomCz,

It is possible to ignore some forms just by adding the attribute data-matomo-ignore to the form you want to ignore. for example, <form name="cloud_signup" data-matomo-ignore></form>

Hello,

that this method exists, I mentioned above. But my question above is if there is a function in JavaScript where I can do this. Exclude individual forms from form tracking.

Greetings