Track UTMs on LifterLMS Enrollment
UTM attribution overview
HandL UTM Grabber stores campaign data in the browser. This guide shows how to get that data into LifterLMS UTM Tracking Integration using hidden fields on your WordPress forms.
LifterLMS UTM Tracking Integration and UTMs
Enrollment forms can take hidden UTM fields saved to order or user meta.
Steps
- Custom checkout fields in LifterLMS
- UTM Grabber prefill on page load
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 LifterLMS UTMs via Webhook.