Retaining UTM Params Through Optin Form

Hi there!

I am trying to pass (not capture) UTM parameters through an optin form and having a bit of trouble.

Here’s the read-only link I’m using.

https://preview.webflow.com/preview/clientsinabundance?utm_medium=preview_link&utm_source=dashboard&utm_content=clientsinabundance&preview=b6114cc10e3a0c48b68dc0e1811f5bd7&mode=preview

Here is some javascript I am using currently- it is appending UTMs to any links that are clicked but it doesn’t seem to work through the form.

< script >
$(‘a’).each(function() {
var querystring = window.location.search.substring(1);
var href = $(this).attr(‘href’);

if (href) {
href += (href.match(/?/) ? ‘&’ : ‘?’) + querystring;
$(this).attr(‘href’, href);
}
});

< !-- Google Tag Manager (noscript) →
< noscript><iframe src=“ns

height=“0” width=“0” style=“display:none;visibility:hidden”>
!-- End Google Tag Manager (noscript) →

Thanks very much.

bumping this one…