Retrieving UTM Parameters and Adding Hidden Inputs to Forms

This example dynamically generates hidden input fields corresponding to each UTM parameter (if there are any) and assigns them their respective values. This technique is commonly used by marketing teams to capture UTM data through form submissions for tracking and campaign analysis. Page settings has corresponding custom code.