> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# searchTerm

> The search query a visitor entered.

The search query a visitor entered.

| Type | Example value |
| - | - |
| `string` | `blue running shoes` |

Microsoft Ads and AppLovin are the only destinations that receive the search term.

Sample payload with every parameter for `search`:

```javascript theme={null}
window._upstack('track', 'search', {
  // Standard parameters
  searchTerm: 'blue running shoes',

  // User data
  email: 'jane@example.com',

  // Custom data
  resultsCount: 24,
  searchType: 'autocomplete'
});
```

**Required on:** [`search`](https://docs.upstackdata.com/event-tracking/event-taxonomy/standard-events/search)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.