Track UTMs in Keap Infusionsoft Forms with UTM Grabber
UTM attribution overview
Pass HandL UTM Grabber attribution into Keap (Infusionsoft) forms embedded on WordPress using hidden fields prefilled from handl_utm cookies.
Setup hidden fields in Keap
- In Keap, create custom fields matching UTM Grabber parameter names:
utm_source,utm_medium,utm_campaign,gclid,fbclid, etc. - Add these as hidden fields on your Keap web form
- Embed the form on your WordPress page
Auto-populate from UTM Grabber
UTM Grabber automatically fills form inputs matching cookie names. Ensure field name attributes match parameter names exactly. See 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] || Cookies.get(param);
if (val) jQuery('input[name="' + param + '"]').val(val).change();
});
});
</script>
Keap also supports custom fields in ThriveCart passthrough. See ThriveCart integration if you use both tools.