Automatic form conversion measurement


I’m trying to automate form conversion tracking. On one hand you can configure every single form in matomo and add conversion criteria on each one of them.

I’m developing a cms for which i want to track form conversion events without explicitely configuring them. To support this I would like to trigger trackFormConversion(nodeOrFormName, formId). I have access to the formId, when I know the form is submitted successfully, but I don’t know the nodeOrFormName, how could I tackle this?