# smootify:filter_initial_change

> a filter Search & Discovery applied from `selected-value` or the url, before the first search

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/reference/api/events/filter-initial-change  
Updated: 2026-10-13

a filter Search & Discovery applied from `selected-value` or the url, before the first search Since 1.x.

## Listen

```js
window.Smootify = window.Smootify || [];
window.Smootify.push((api) => {
  api.on("filter_initial_change", (payload) => {
    // …
  });
});
```

## Payload

```ts
{ name: string; value: string | string[] | undefined }
```
