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

# ignoreQueryParams

> Whether to ignore query parameters when crawling URLs.

* **Type**: `string[]`

This can help you avoid indexing duplicate URLs.
You can use wildcards to pattern match.

## Examples

In this example, the `ref` and all `utm_` parameters are ignored in crawled URLs.
Your crawler saves `http://localhost?page=1&ref=algolia&utm_source=doc` as `http://localhost?page=1`.

```js JavaScript icon=code theme={"system"}
{
  ignoreQueryParams: ["ref", "utm_*"],
}
```
