GA4 and GTM
Lead events fire to Google Analytics and Tag Manager automatically.
When the script captures a lead it also fires a form_lead event to Google Analytics 4 and pushes the same event to the data layer for Google Tag Manager. No extra configuration is needed on your side. If you already run GA4 or GTM, the events appear automatically.