JotForm UTM tracking via iframe embed

Copy paste the embed code from JotForm to your WordPress

It will be something like this: simply copy and paste this into your WordPress editor or page builder.

<iframe id="JotFormIFrame-YOURJOTFORMID" title="Form" onload="window.parent.scrollTo(0,0)" allowtransparency="true" allow="geolocation; microphone; camera; fullscreen" src="" frameborder="0" style="min-width:100%;max-width:100%;height:539px;border:none;" scrolling="no" > </iframe> <script src=''></script> <script>window.jotformEmbedHandler("iframe[id='JotFormIFrame-YOURJOTFORMID'", "")</script> 

After this code, copy and paste the code below. Ensure you replace YOURJOTFORMID with your form ID (as shown above).

setTimeout(() => {
	if (typeof(utms_js) == 'object'){
    	var ifr = document.querySelector("iframe[id='JotFormIFrame-YOURJOTFORMID'")
		var iframeParams = [];
		iframeParams.push( jQuery.param(utms_js) )
		var src = ifr.src;
		ifr.src = src + "?" + iframeParams.join('&');
}, "500");

Never lose any UTMs ever 💪

Get HandL UTM Grabber V3