UTM Tracking Parameters on entire website

Hi guys,

Hope you are well,

To ensure tracking continues seamlessly, I need UTM parameters (traffic source, medium, and campaign) to be captured in the form (as hidden fields). When someone submits the form, the UTM parameters should be visible in the submission email, allowing me to analyze the lead’s source effectively.

Is this possible?

Any help is greatly appreciated!

Many thanks,

Ed

1 Like

Assuming the utm params are in the URL when the form page is hit, you can do that using SA5 Data.

You just add the lib, and then on your form input fields you add, e.g.;

wfu-bind = ?utm_campaign

That will automatically populate that input field with querystring named utm_campaign if it exists. Do the same for your others.

You can then just wrap those fields in a DIV and hide it from view.

Or, if you want to use hidden inputs, you can drop an embed inside of your form, with those;

<input type="hidden" name="utm_campaign" wfu-bind="?utm_campaign">
<input type="hidden" name="utm_term" wfu-bind="?utm_term">

And so on.

SA5 works fine with hidden inputs too.

If at some point you need a more robust tracking system that e.g. captures the UTMs on first visit, stores them for 30 days, and submits them automatically with any forms over those 30 days, drop me a message. I build those regularly for clients.

1 Like

Thank you guys! All this help was awesome, I finally got it fixed!

Many thanks,

Ed