# Site search tracking
> Track internal site search queries with search terms, filters, and result counts to analyze user search behavior and content discovery.
> Source: https://docs.snowplow.io/docs/events/ootb-data/site-search/
> Documentation index: https://docs.snowplow.io/llms.txt

Site search tracking captures how users search within your website. This data helps you understand what content users are looking for, whether they find it, and how search influences their journey through your site.

Use site search tracking to:

- Identify popular search terms and content gaps
- Measure search success rates based on result counts
- Analyze how search filters affect user behavior
- Optimize your internal search functionality

This table shows the support for site search tracking across the main client-side [Snowplow tracker SDKs](/docs/sources/):

| Tracker                                                                   | Supported | Since version | Auto-tracking | Notes                         |
| ------------------------------------------------------------------------- | --------- | ------------- | ------------- | ----------------------------- |
| [Web](/docs/sources/web-trackers/tracking-events/site-search/)            | ✅         | 3.0.0         | ❌             | Requires site tracking plugin |
| iOS                                                                       | ❌         |               |               |                               |
| Android                                                                   | ❌         |               |               |                               |
| React Native                                                              | ❌         |               |               |                               |
| Flutter                                                                   | ❌         |               |               |                               |
| Roku                                                                      | ❌         |               |               |                               |
| [Google Tag Manager](/docs/sources/google-tag-manager/snowplow-template/) | ✅         | v3            | ❌             |                               |

The site search event captures the search terms, any filters applied, and the number of results returned.

### `site_search`

**Type:** Event

Schema for a site search event

**Properties:**

| Property                 | Description                                   |
| ------------------------ | --------------------------------------------- |
| `terms` _array_          | _Required._ The search terms                  |
| `filters` _object_       | _Optional._ The search filters                |
| `totalResults` _integer_ | _Optional._ The total number of results       |
| `pageResults` _integer_  | _Optional._ The number of results on the page |

**Example warehouse query (Snowflake):**

```sql
select
unstruct_event_com_snowplowanalytics_snowplow_site_search_1 site_search_1
from
atomic.events
where
events.collector_tstamp > getdate() - interval '1 hour'
and events.event = 'unstruct'
and events.event_name = 'site_search'
and events.event_vendor = 'com.snowplowanalytics.snowplow'
```
