Skip to main content

Track UTMs in WebinarJam and sync it to Zapier

WebinarJam tracking is tricky. And requires a substantial amount of custom coding. But no worries, if you can follow each step carefully, you will be set up for tracking in no time.

Go to webinarjam and select the webinar you'd like to track

Click "integration" and edit "3rd party tracking systems"

Place the plain UTM Simple tracking code under "Registration page tracking"

Note that handl_custom_params has three custom paramters 'wj_name','wj_email','wj_phone', we'll be using these later on for recording the conversion.

<!-- Global site UTM Simple Tracking Start-->
<script>
var handl_custom_params=['wj_name','wj_email','wj_phone']
var handl_js = document.createElement("script");
handl_js.setAttribute("src", "https://track.utmsimple.com/utm.js?license=<license_key>"), document.head.appendChild(handl_js), 
handl_js.onload = function() {
	
}; 
</script> 
<!--Global site UTM Simple Tracking End -->

Place the following code under "Registration form tracking"

This will register the lead information in cookies for future use as soon as the lead submits the form.

<!-- Global site UTM Simple Tracking Start-->
<script>
var handl_custom_params=['wj_name','wj_email','wj_phone']
var handl_js = document.createElement("script");
handl_js.setAttribute("src", "https://track.utmsimple.com/utm.js?license=<license_key>"), document.head.appendChild(handl_js), 
handl_js.onload = function() {
	handlj('#register_btn').click(function(){
		HandL.setHandLCookie('wj_name',handlj(handlj('input')[0]).val())
		HandL.setHandLCookie('wj_email',handlj('input[name="email"]').val())
		HandL.setHandLCookie('wj_phone',handlj('input[name="telephone"]').val())
	})
}; 
</script> 
<!--Global site UTM Simple Tracking End -->

Place the following code under "Post-registration Thank You page tracking"

This will submit the lead information to Zapier as soon as user lands on the thank you page.

<!-- Global site UTM Simple Tracking Start-->
<script>
var handl_custom_params=['wj_name','wj_email','wj_phone']
var handl_js = document.createElement("script");
handl_js.setAttribute("src", "https://track.utmsimple.com/utm.js?license=<license_key>"), document.head.appendChild(handl_js), 
handl_js.onload = function() {
	setTimeout(function(){
		var data = handlj.param(HandL.getAll())
		var xmlHttp = new XMLHttpRequest();
		xmlHttp.open( "GET", 'https://hooks.zapier.com/hooks/catch/4665641/76wc42/?'+data, false ); // false for synchronous request
		xmlHttp.send( null );
	}, 500);
}; 
</script> 
<!--Global site UTM Simple Tracking End -->

That's it, now test it and your lead will be in Zapier as shown below.