---
title: Ensure that queries are sent and search events are recorded
slug: mc2g0074
canonical_url: https://docs.coveo.com/en/mc2g0074/
collection: project-guide
source_format: adoc
---
# Ensure that queries are sent and search events are recorded

When a [query](https://docs.coveo.com/en/231.md) is triggered, ensure that the query is sent to the [Search API](https://docs.coveo.com/en/52.md) and an appropriate search event is logged.

> **Important**
>
> This guide provides guidelines to analyze, review, and test different aspects of a Coveo-powered implementation.
> 
> It shouldn't be considered an official, definitive guide to testing an implementation before it goes live, but rather a guide showcasing the basic components that Coveo implementations typically include.
> 
> Every Coveo implementation is different and may require custom configuration.
> 
> Therefore, you may notice discrepancies between the components and features listed in this guide and those you're using in your actual implementation.
> 
> If you encounter issues, or have any questions related to this article, contact [Coveo Support](https://connect.coveo.com/s/case/Case/Default) for help.

## Access your browser's network monitoring tool

1. Open your web browser's developer tools.

   > **Note**
   >
   > This article uses the **Google Chrome** developer tools.
   > For browser-specific information, see:
   > 
   > * [Google Chrome](https://developers.google.com/web/tools/chrome-devtools/open)
   > 
   > * [Mozilla Firefox](https://developer.mozilla.org/en-US/docs/Tools)
   > 
   > * [Safari](https://support.apple.com/en-ca/guide/safari/sfri20948/mac)

1. Select the **Network** tab.

## Test queries

1. Access the page in which you have integrated your search component.

1. [Access your browser's network monitoring tool](#access-your-browsers-network-monitoring-tool).

1. In the search box, perform a query.

1. In the network monitoring tool, under the **Name** column, select the latest request to the Search API.
The request path should contain `/rest/search/v2`.
+
![Search request path | Coveo](https://docs.coveo.com/en/assets/images/coveo-solutions/search-request-path.png)
+
For more information, see [Searching with Coveo](https://docs.coveo.com/en/1724.md).

> **Note**
>
> If your implementation doesn't rely on any Coveo search UI library (Atomic, Headless, or Quantic), see [Submit a query](https://docs.coveo.com/en/1377.md#submit-a-query).

## Test search events

1. Access the page in which you have integrated your search component.

1. [Access your browser's network monitoring tool](#access-your-browsers-network-monitoring-tool).

1. In the search box, perform a query.

1. In the network monitoring tool, under the **Name** column, you should see a request whose path contains `/rest/ua/v15/analytics/search`.

   ![Search event path | Coveo](https://docs.coveo.com/en/assets/images/coveo-solutions/search-event-path.png)

When used correctly, search interfaces built with the Coveo search UI libraries (Atomic, Headless, or Quantic) log search events automatically.

> **Note**
>
> If your implementation doesn't rely on any Coveo search UI library, see [Log search events](https://docs.coveo.com/en/1502.md).

