# Track UTMs in Microsoft Dynamics 365 Marketing Forms

## UTM attribution overview

HandL UTM Grabber natively prefills Microsoft Dynamics 365 Marketing embedded forms on WordPress from UTM cookie values.

### Native auto-prefill

When a Dynamics 365 Marketing form is embedded on your WordPress site, UTM Grabber hooks into `MsCrmMkt.MsCrmFormLoader` after form load and prefills input fields whose `title` or `placeholder` matches a UTM Grabber parameter name.

### Setup

1. Embed your Dynamics 365 Marketing form on a WordPress page
2. In Dynamics, create form fields with titles matching UTM parameter names: `utm_source`, `utm_medium`, `utm_campaign`, `gclid`, etc.
3. Ensure HandL UTM Grabber V3 is active. No additional configuration needed
4. Visit the page with test UTMs and submit the form. Fields should prefill automatically

### Field naming

UTM Grabber matches the lowercase, underscore version of the field `title` attribute. Use exact parameter names from [Native WP Shortcodes](https://docs.utmgrabber.com/books/102-getting-started-for-handl-utm-grabber-v3/page/native-wp-shortcodes).

### CRM webhook alternative

For server-side lead routing, use Dynamics webhooks or [Triggering Zapier on Thank you Page](https://docs.utmgrabber.com/books/zapier-integration/page/triggering-zapier-on-thank-you-page) on your thank-you page.