This web application event occurs when any user searches in a document and the replies have been retrieved.
This event contains the following fields:
Field | Description |
---|---|
document |
An object containing information about the document. |
id |
The document's identifier. |
metadata |
A list of the document's metadata with the label and values of each key. |
title |
The title of the document. |
type |
The document's type (for example, STRUCTURED_DOCUMENT ). |
searchQuery |
An object containing information about the search query. |
terms |
Contains the keywords the user searched for. |
searchResponse |
An object containing information about the search response. |
nbResults |
Contains the number of results retrieved for the search query. |
A table for the most common fields is in Analytics events.
Example:
[
{
"document": {
"id": "L3k_Hu_CJ8lN1UrzoZPM4Q",
"title": "Analytics for Fluid Topics",
"type": "STRUCTURED_DOCUMENT",
"metadata": [
{
"key": "Product",
"label": "Product",
"values": [
"Fluid Topics"
]
},
{
"key": "Version_FT",
"label": "Fluid Topics Version",
"values": [
"Latest"
]
},
{
"key": "Category",
"label": "Category",
"values": [
"Technical Notes"
]
},
{
"key": "audience",
"label": "Target Audience",
"values": [
"public"
]
}
]
},
"searchQuery": {
"terms": "Traffic by country"
},
"searchResponse": {
"nbResults": 44
}
}
]