Automatic creation of forms

I’m using matomo cloud, and it seems that the automatc detection of my forms is not working.

I have currently 4 forms listed, but when visiting a page with an unlisted form, the latter is not added in matomo.

Also, in the settings page for form management, it is mentioned that the system is currently confgured to automatically create up to 3 forms, of which 2 have been created so far. Where can I change “3” into something bigger? I am allowed to create 100 forms if I read it correcltly…

any suggestions ?

Hi @pieter
Can you share your form configuration in Maotmo admin? (with screenshot)
Also, how do you track pages? (JavaScript, MTM, HTTP, server log, etc.)

This is the message:

Pages are tracked by the matomo snippet:

var _paq = window._paq = window._paq || [];
  (function() {
    var u="";
    _paq.push(['setTrackerUrl', u+'matomo.php']);
    _paq.push(['setSiteId', '1']);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.async=true; g.src='//'; s.parentNode.insertBefore(g,s);

Hi @pieter
Are you sure your page has HTML <form> tag? and fields within this tag?

(I missed this part of your initial message)
For this particular need, contact your Matomo Support team by email.

Actually, you made a good point there. It is a hubspot page, and Hubspot loads the forms with javascript.
There are events when the form is ready, is there something I can trigger at that point in time in the event handler?

Hi @pieter
After the javascript put forms, you could do as described there:

Thx, I have confirmed that the event is handled and that at the time I call scanForForms is called, the form element is present in the DOM. But still, no new forms are added in my forms list in matomo.

if( === 'hsFormCallback') {
     if ( === 'onFormSubmitted') {
       _paq.push(['FormAnalytics::trackFormConversion', ,'hsForm_' +]);
     } else if ( === 'onFormReady') {

For existing forms (added manually in the matomo admin interface) the conversion tracking works. In the case for ‘onFormReady’, i have logged to the console the list of getElementByTagName(‘form’) and the list was not empty before adding he scanForForms to the async matomo handler. So I’m not sure now why the form is not showing up in the matomo backend automatically.

Thanks by the way for your help, it has been very useful so far!

Kind regards

Hi @pieter
Can you check isFormAnalyticsEnabled()?