Triggering Facebook Pixel Event using embedded Webform

I am trying to set up a Facebook event trigger when a user clicks submit. However, FB Event setup doesn’t recognize the submit button as an event.

What some of my clients do is put the Facebook Pixel code on the thankyou page, hope that helps.