---
title: "Measuring internal search in GA4: the search event"
description: "How to measure a store's internal search in GA4 with the search event: which terms to send, how to track results and what cannot be concluded."
url: "https://cookingmetrics.com/blog/medir-buscador-interno-ga4-search/"
markdown_url: "https://cookingmetrics.com/blog/medir-buscador-interno-ga4-search.md"
lang: "en"
date_published: "2026-12-03"
author: "Martín Garay"
author_url: "https://cookingmetrics.com/about-martin-garay/"
publisher: "CookingMetrics"
publisher_url: "https://cookingmetrics.com/"
keywords: ["Google Analytics", "Google Tag Manager", "MarTech"]
citation_apa7: "Garay, M. (2026, December 3). *Measuring internal search in GA4: the search event*. CookingMetrics. https://cookingmetrics.com/blog/medir-buscador-interno-ga4-search/"
references_apa7:
  - "Google Analytics Developers. (n.d.). *Recommended events (reference)*. https://developers.google.com/analytics/devguides/collection/ga4/reference/events"
---

# Measuring internal search in GA4: the search event

> How to measure a store's internal search in GA4 with the search event: which terms to send, how to track results and what cannot be concluded.

- **Author:** [Martín Garay](https://cookingmetrics.com/about-martin-garay/) · Founder of CookingMetrics
- **Published:** December 3, 2026
- **Topics:** Google Analytics, Google Tag Manager, MarTech
- **Web version:** https://cookingmetrics.com/blog/medir-buscador-interno-ga4-search/

## How to cite this article (APA, 7th edition)

Garay, M. (2026, December 3). *Measuring internal search in GA4: the search event*. CookingMetrics. https://cookingmetrics.com/blog/medir-buscador-interno-ga4-search/

In-text citation: (Garay, 2026)

## References

- Google Analytics Developers. (n.d.). *Recommended events (reference)*. https://developers.google.com/analytics/devguides/collection/ga4/reference/events
  In-text citation: (Google Analytics Developers, n.d.)

---

**Internal search is measured with the `search` event and its `search_term` parameter, which records what the person typed.** It shows what visitors look for, which words get no answer and how those searches relate to the products they choose afterwards.

This article is part of the [GA4 ecommerce guide](https://cookingmetrics.com/blog/guia-ga4-ecommerce-datalayer-gtm/). It is written for the people who decide what is measured; the technical detail appears under "For the technical team". [CookingMetrics](https://cookingmetrics.com/) offers audits and support and does not sell tools. The Google pages consulted on November 16, 2026 show no update date.

## In summary

- The `search` event appears in the GA4 events reference under "all properties", not among the ecommerce events.
- Its only parameter in the table is `search_term`, which is required.
- Internal search shows what is missing from the site: products that are requested and do not exist, different names for the same thing.
- We did not find a `view_search_results` event in the pages consulted; we do not claim it exists.
- Results can be measured like any other list, with `view_item_list`.
- Search terms may contain personal data: you need to decide what is sent.

## What problem it solves

People who use internal search already know what they want and say it in their own words. Those words reveal catalog gaps, names the site does not recognize and poorly labeled categories. Without measurement, that information is lost.

## What data the event carries

According to the [official GA4 reference](https://developers.google.com/analytics/devguides/collection/ga4/reference/events), `search` carries one parameter, `search_term`, which is required and contains the term searched; the example on the page is "t-shirts". Google's ecommerce guide does not cover this event.

## Questions that can be answered

- Which terms are searched most, and which are rising or falling?
- Which terms are typed differently but look for the same thing (singular and plural, typos, synonyms)?
- How many searches end with no product chosen afterwards? To find out, you need to join `search` with the list and product page events from the guide.

A search with no results is not an event that Google defines in the pages consulted; if you want to measure it, it requires a custom event or parameter, which must be agreed with the team and which we put forward as a measurement hypothesis, not as a standard.

## Measuring the results

Once the results are displayed, they can be treated as a list: `view_item_list` with a list name that indicates it comes from internal search, and `select_item` when a product is chosen. The list name is a judgment call on our part; what matters is that it is always the same. See [Measuring product lists](https://cookingmetrics.com/blog/medir-plp-ga4-view-item-list-select-item/).

**For the technical team:** example of the event.

```
window.dataLayer.push({
  event: "search",
  search_term: "taza esmaltada"
});
```

- Send the event once per search performed, not on every load of the results page.
- Normalize the term before analyzing it (lowercase, extra spaces) in the analysis; what is sent must keep what was typed.
- Terms may include personal data by mistake (names, emails). Decide with the legal team what is sent and filter out what does not belong before sending it.
- If you want to measure searches with no results, use a custom event or parameter and register it as a custom dimension in GA4.

## Limits and risks

- **There is no `view_search_results`** in the pages consulted.
- **Privacy:** search terms may include personal data.
- **A search is not a purchase intent.** It measures what was typed, not why.
- **Official pages without a date.** It is worth rereading them before implementing.
- **Consent:** what can be measured depends on the visitor's consent.

## What to do next

Review the fifty most searched terms on your site over the last month and mark which ones have no product or page that answers them. To follow the journey, read [Measuring the product page](https://cookingmetrics.com/blog/medir-pdp-ga4-view-item-add-to-cart/). If you would like us to review your measurement, learn about our [Google Analytics audit service](https://cookingmetrics.com/data-analytics-consulting/).

## Frequently asked questions

### Which event measures internal search?

The `search` event, with the `search_term` parameter, according to the GA4 events reference.

### Is there an event for searches with no results?

We did not find one in the pages consulted. You can define a custom event and register it as a custom dimension.

### Can I measure which product is chosen after a search?

Yes, by treating the results as a list with `view_item_list` and `select_item`, with a list name that indicates their origin.

### Is it a problem to send the searched term to GA4?

It can be if the person types personal data. Decide with the legal team what is sent and filter out what does not belong.

---

## About the author

**[Martín Garay](https://cookingmetrics.com/about-martin-garay/)** — Founder of CookingMetrics

I'm Martín Garay, founder and Martech Advisor at CookingMetrics and Chair of the Technology Committee at CACE, Argentina's ecommerce chamber. For more than 20 years I've worked in Analytics, development, technical SEO and ecommerce: I implement measurement, find where it breaks and turn it into information you can act on.

### My work at CACE, Argentina's ecommerce chamber

- **Chair of the Technology Committee** (SINCE AUGUST 2025): I set the committee's agenda together with Gabriel Topola, vice-chair. We look at the platforms and tools an online business needs to grow: CMS, integrations, customer service and omnichannel operations.
- **Curating the technical forum** (IT CAMP · ECOMMERCE DAY ARGENTINA): With CACE's Events team I put together the IT Camp programme: talks for engineering and development teams on platform architecture, code and good practice, given by speakers who do the implementation work.
- **Marketing and Data Analytics committees** (SINCE 2016): I started in the Marketing committee and helped create the Data Analytics committee. I gave Google Analytics webinars, including the migration to GA4, and worked on the Google Analytics implementation for Hot Sale and Cyber Monday.
- **Ecommerce metrics dashboard** (FOR MEMBERS): With the Data Analytics committee and the CACE Community team we built a dashboard in Google Analytics and Looker Studio so each member can check the key indicators of their own store.

### Talks

- [From SEO to GEO: what it takes for a brand to be cited by an answer engine](https://www.youtube.com/watch?v=mlyjuSBdMzI) — ECOMMERCE DAY ARGENTINA 2026 · IT CAMP · AUGUST 27, 2026 · BUENOS AIRES CONVENTION CENTER
- [SEO for AI: how to prepare a brand to show up in ChatGPT and Google's AI overviews](https://www.youtube.com/watch?v=4dI7jqnLg-M) — AI IN LATAM 2025 · BUENOS AIRES · OVER 3,500 ATTENDEES AND 100 SPEAKERS, PER THE ORGANIZERS

### Profiles and links

- [Full profile](https://cookingmetrics.com/about-martin-garay/)
- [LinkedIn](https://www.linkedin.com/in/seospecialistmartingaray/)
- [Instagram](https://www.instagram.com/garaymartin/)
- [YouTube](https://www.youtube.com/@MartinGaray)
- [martingaray.com.ar](https://www.martingaray.com.ar/)
- [Chair of the Technology Committee at CACE, Argentina's ecommerce chamber](https://cace.org.ar/pages/comision-de-tecnologia?utm_source=cookingmetrics.com&utm_medium=referral&utm_campaign=perfil-martin&utm_content=caja-autor)
- [Ecommerce metrics dashboard, free for CACE members](https://cace.org.ar/pages/dashboard-de-metricas?utm_source=cookingmetrics.com&utm_medium=referral&utm_campaign=perfil-martin&utm_content=caja-autor)

---

## About CookingMetrics

CookingMetrics provides Google Analytics consulting, measurement implementation and SEO. Founder Martín Garay brings more than 20 years of experience in Analytics, development and ecommerce. The work connects data with business decisions.

### Services

- **[Google Analytics audit](https://cookingmetrics.com/data-analytics-consulting/)**: Do purchases or revenue differ from your store? We review your measurement and deliver a correction plan in 10 business days. [See the audit scope](https://cookingmetrics.com/data-analytics-consulting/).
- **[Google Tag Manager](https://cookingmetrics.com/services/gtm/)**: Did events stop being tracked after a website change? We review tags, triggers and versions to find duplicates or missing data. [Ask about Google Tag Manager audits and implementation](https://cookingmetrics.com/services/gtm/).
- **[Server-side measurement](https://cookingmetrics.com/services/cookieless-tracking/)**: We assess how to send data from your server, respect consent and prevent duplication. [What's included in server-side measurement](https://cookingmetrics.com/services/cookieless-tracking/).
- **[Technical SEO](https://cookingmetrics.com/services/technical-seo/)**: Have you migrated your site, or are pages missing from Google? We review crawling, indexing, structure and performance. [How we approach technical SEO](https://cookingmetrics.com/services/technical-seo/).
- **[SEO for AI search (GEO)](https://cookingmetrics.com/services/seo-ai-geo/)**: We review whether search engines and assistants can access your pages and understand their content. [What we can improve for AI search](https://cookingmetrics.com/services/seo-ai-geo/).

**Let's talk about your measurement:** [Contact us](https://cookingmetrics.com/about-martin-garay/) · [CookingMetrics](https://cookingmetrics.com/)
