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.
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.