SearchServiceApplication.RecordPageImpression method

SharePoint 2013

Records page impressions from search queries. Page impressions are generated on the server side as part of the query pipeline when search results are retrieved.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

public void RecordPageImpression(
	QueryLogPageImpression pageImpression,
	PageImpressionInfo info


Type: Microsoft.Office.Server.Search.Query.QueryLogPageImpression

The data that is gathered by the page impression.

Type: Microsoft.Office.Server.Search.Query.PageImpressionInfo

The details about the page impression.

A page impression contains information that is gathered through the query pipeline. This information includes the query string, the time at which the request was performed, suggested queries (if applicable), the user’s ID, a string of refiners used to refine the query, etc.