Tracking ProForms submission as a conversion with GA / GTM

Hi experts,

I’m trying to track ProForms submission as a GA4 event with GTM.

When with JetForm in crocoblocks, I always used to add custom code like below to generate custom event on listening a successful form submission:

https://codeshare.io/5vAeAl

However, with ProForms, I have no idea how to listen the submissin in JavaScript.

Have anyone out there tried conversion tracking of ProForms?

Will appreciate any piece of advice!

Regrds,

Mayumi