<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SearchMutations](./x-components.searchmutations.md) &gt; [setQueryTagging](./x-components.searchmutations.setquerytagging.md)

## SearchMutations.setQueryTagging() method

Sets the query tagging of the module, which is used to track the query.

**Signature:**

```typescript
setQueryTagging(queryTagging: TaggingRequest): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  queryTagging | TaggingRequest | The new query tagging object to save to the state. |

**Returns:**

void

