How to track form submissions in Google Analytics

How to track form submissions in Google Analytics

I've been looking for a solution to track the source of the conversion (social media, google ads, organic, etc.), so far I just found a way to place the Analytics ID (universal) in the acknowledge section but didn't trigger an event or anything.