> ## 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.

# Search: Site Search Events Count

> Track the number of site search events on your store. Understand how visitors use search to find products and optimize discoverability.

<Tip>
  Search counts the total number of site search events triggered when visitors use your store's search functionality.
</Tip>

## Formula

<Info>
  **Search** = **COUNT** ( search events )
</Info>

### Formula Components

| Metric            | Definition                                                        |
| ----------------- | ----------------------------------------------------------------- |
| **search events** | Individual search actions triggered by visitors using site search |

| Metadata        |                         |
| --------------- | ----------------------- |
| **Type**        | Number                  |
| **Data Source** | [Upstack Pixel](/pixel) |
| **Aggregation** | Count                   |

***

## Example

Your Shopify store recorded **3,847 searches** last week.

| Day       | Searches | Top Search Terms               |
| --------- | -------- | ------------------------------ |
| Monday    | 542      | "blue dress", "summer sale"    |
| Tuesday   | 489      | "gift cards", "returns"        |
| Wednesday | 612      | "new arrivals", "size guide"   |
| Thursday  | 558      | "sale", "free shipping"        |
| Friday    | 687      | "black friday", "deals"        |
| Saturday  | 521      | "weekend sale", "clearance"    |
| Sunday    | 438      | "sunday deals", "best sellers" |

***

## How It Works

Search events fire when visitors interact with your site's search functionality. The Upstack Pixel captures each search action, including the search query, to help you understand what visitors are looking for on your store.

***

## When to Use

| Scenario                            | Action                                                      |
| ----------------------------------- | ----------------------------------------------------------- |
| Low search-to-purchase rate         | Improve search result relevance and product matching        |
| High search volume, low conversions | Audit top search terms for missing or out-of-stock products |
| Zero-result searches increasing     | Add synonyms, fix typos, or expand product catalog          |
| Search usage declining              | Review search UX placement and accessibility                |

***

## Related Metrics

| Metric                                                           | Relationship                   |
| ---------------------------------------------------------------- | ------------------------------ |
| [Page Views](/reference/metrics/funnel/awareness/page-views)     | Broader engagement context     |
| [Sessions](/reference/metrics/funnel/awareness/sessions)         | Search per session analysis    |
| [Add to Cart](/reference/metrics/funnel/engagement/add-to-carts) | Search-to-cart conversion path |

[See all Engagement metrics →](/reference/metrics/funnel/engagement)
