I’m tracking a form with the form analytics plugin. Because of no new page is loaded after submitting the form, I try to track the conversion manually with the function: _paq.push([‘FormAnalytics::trackFormConversion’, ‘’, ‘gform_id4’);
(my form has no name but an ID)
Very often no tracking request is sent to Matomo afterwards, when I take a look to the developer network console. In rare cases it happens.
I can’t see any correlation between when it works and when it doesn’t.
In the documentation I read the mystique sentence " It is recommended to call this FormAnalytics::trackFormConversion method as early as possible in your Matomo tracking code.".
But what this means?
It’s the first call in my case, but in the Tag Manager with a custom HTML tag and not with “normal” tracking code.
Are you sure your _paq.push([‘FormAnalytics::trackFormConversion’, ‘’, ‘gform_id4’);is called?
Does this call never raise an error? (see in browser console)
It seems you use MTM to call the form conversion… Are you sure the MTM container has been well loaded and initialized (did you previously trigger a pageview or initialization tag?)
Thank you for your support. As it is now for me, it works as it should.
My mistake was not recognizing that in the network log of the developer console sometimes the requests were made with and sometimes without GET parameters, depending on the converted form. See the screenshot showing two different requests of form conversion. On the first request, all parameters are sent as POST.