# Prefill Google Forms with UTM Grabber

## UTM attribution overview

HandL UTM Grabber stores campaign data in the browser. This guide shows how to get that data into Google Forms UTM Tracking Integration using hidden fields on your WordPress forms.

### Google Forms UTM Tracking Integration and UTMs

Google Forms supports prefill via URL params. Build the prefill link from handl\_utm before redirecting.

### Steps

```
// Example: append entry.XXXXX=prefill for each hidden question ID
```

1. Get entry IDs from Google Form prefill link tool
2. Redirect from WP with params from handl\_utm

### 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](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] || (typeof Cookies !== 'undefined' ? Cookies.get(param) : '');
        if (val) jQuery('input[name="' + param + '"]').val(val).change();
    });
});
</script>
```

No shortcode setup? See [Hassle Free Implementation](https://docs.utmgrabber.com/books/102-getting-started-for-handl-utm-grabber-v3/page/hassle-free-implementation-no-shortcode).

Need every click ID in your CRM? Jump to [Send Google Forms UTMs via Webhook](https://docs.utmgrabber.com/books/google-forms-integration/page/end-oogle-orms-s-via-ebhook).