# 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

1. In Keap, create custom fields matching UTM Grabber parameter names: `utm_source`, `utm_medium`, `utm_campaign`, `gclid`, `fbclid`, etc.
2. Add these as **hidden fields** on your Keap web form
3. 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](https://docs.utmgrabber.com/books/102-getting-started-for-handl-utm-grabber-v3/page/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](https://docs.utmgrabber.com/books/thrivecart-integration) if you use both tools.