# Send Saleskick UTMs via Automation or Webhook

## UTM attribution overview

This walkthrough covers sending full UTM Grabber data from Saleskick to your backend using Saleskick automations. Use this when you need gclid, fbclid, first-touch fields, or custom HandL params alongside the lead record in your CRM.

For the primary embed setup, see [Track UTMs in Saleskick](https://docs.utmgrabber.com/books/saleskick/page/track-utms-in-saleskick).

### When an automation webhook makes sense

Saleskick stores all URL parameters captured at submission time. Automations expose them as a single query string via `{{submission.shareQueryParams}}`, so you can POST the full attribution payload to Zapier, Make, or your own API without manually mapping every field in Saleskick.

### Automation setup

In Saleskick, create an automation triggered on form submission. Add an **HTTP Request** action configured as follows:

- **Method:** POST
- **Header:** `Content-Type: application/json`
- **Payload (key-value):**

<table id="bkmrk-keyvalue-q%7B%7Bsubmissi"><thead><tr><th>Key</th><th>Value</th></tr></thead><tbody><tr><td>`q`</td><td>`{{submission.shareQueryParams}}`</td></tr><tr><td>`email`</td><td>`{{contact.emailAddress}}`</td></tr><tr><td>`first_name`</td><td>`{{contact.firstName}}`</td></tr><tr><td>`last_name`</td><td>`{{contact.lastName}}`</td></tr><tr><td>`phone`</td><td>`{{contact.phoneNumber}}`</td></tr><tr><td>`date`</td><td>`{{submission.createdAt}}`</td></tr></tbody></table>

The `q` field contains the full query string of tracked parameters (for example `utm_source=fb&utm_medium=paid&handlID=1353780194080&first_handlID=5698995462407`). Your backend can parse it with `parse_str()` in PHP, `URLSearchParams` in JavaScript, or equivalent.

[![nurture-sidebar-anonymized.png](https://docs.utmgrabber.com/uploads/images/gallery/2026-07/scaled-1680-/nurture-sidebar-anonymized.png)](https://docs.utmgrabber.com/uploads/images/gallery/2026-07/nurture-sidebar-anonymized.png)

### Backend parsing example (PHP)

```php
$params = [];
parse_str($request->input('q', ''), $params);

$utmSource = $params['utm_source'] ?? null;
$handlId   = $params['handlID'] ?? null;
$fbclid    = $params['fbclid'] ?? null;
```

### Quick checklist

1. Confirm URL Parameters appear on test submissions in Saleskick (Application tab)
2. Create the automation with `q` mapped to `{{submission.shareQueryParams}}`
3. Submit a test lead with UTMs in the landing URL
4. Verify your endpoint receives `utm_source`, `handlID`, and contact fields
5. Map parsed values into your CRM or spreadsheet

Parameter reference: [HandL param definitions](https://docs.utmgrabber.com/books/102-getting-started-with-handl-utm-grabber-v3/page/what-is-the-difference-between-all-the-handl-params).