Track UTMs natively in Fillout Form
Register the URL Parameters
Based on the documentation provided in this link, please register the UTM parameters that you wish to track:
https://www.fillout.com/help/embedded-url-parameters
Embed Fields in the Form and Set Default Values
Create UTM fields as hidden fields in your form one by one. Then, assign default values as URL parameters that you have set in the first step.
Modify the Embedded Form as Follows
AddRemove the data-[param-name]<script>attributestag tofrom your formembed code as shown below for all parameters that you wish to track.below.
<div style="width: 100%; height: 500px;" data-fillout-id="213456789" data-fillout-embed-type="standard" data-fillout-inherit-parameters="" data-fillout-dynamic-resize=""></div>
<script src="https://server.fillout.com/embed/v1/"></script>
<div style="width: 100%; height: 500px;" data-fillout-id="213456789" data-fillout-embed-type="standard" data-fillout-inherit-parameters="" data-fillout-dynamic-resize="" data-utm_campaign="[utm_campaign]" data-utm_source="[utm_source]" data-utm_medium="[utm_medium]" data-utm_term="[utm_term]" data-utm_content="[utm_content]" ></div>
<script src="https://server.fillout.com/embed/v1/" defer></script>