Track UTMs on LearnDash Registration
UTM attribution overview
HandL UTM Grabber stores campaign data in the browser. This guide shows how to get that data into LearnDash UTM Tracking Integration using hidden fields on your WordPress forms.
LearnDash UTM Tracking Integration and UTMs
Course sellers want to know which ad drove an enrollment. Capture UTMs on the registration/checkout form.
Steps
Prefill hidden fields
UTM Grabber fills inputs whose name matches a tracked parameter. Field names must line up exactly. List of params: Native WP Shortcodes.
<script>
jQuery(document).ready(function() {
if (typeof handl_utm === 'undefined') return;
handl_utm_all_params.forEach(function(param) {
var val = handl_utm[param] || (typeof Cookies !== 'undefined' ? Cookies.get(param) : '');
if (val) jQuery('input[name="' + param + '"]').val(val).change();
});
});
</script>No shortcode setup? See Hassle Free Implementation.
Need every click ID in your CRM? Jump to Send LearnDash Enrollment UTMs via Webhook.