search_result.open_browser_context_menu - Fluid Topics - Latest

Fluid Topics Analytics Guide

Category
Reference Guides
Audience
public
Version
Latest

This web application event is triggered when a user opens the browser's contextual menu by right clicking on a search result.

This event contains the following fields:

Field Description
searchQuery An object containing information about the search query.
terms Contains the keywords the user searched for.
facets An object containing information about the search facets.
key The metadata key used as facet.
type Takes one of the following values: VALUE, DATE, RANGE.
value The facet value.
searchType The type of search. Accepts the following values: EVERYWHERE, TITLE_ONLY, NONE.
externalLink Link to the document in case of an external document.
searchResult An object containing information about the search result.
rank The rank of the result in the list of search results.
type The type of the result (MAP, DOCUMENT, or TOPIC).
document An object containing information about the document.
id The document's identifier.
title The document's title.
type The document's type (for example, STRUCTURED_DOCUMENT).
metadata A list of the document's metadata with the label and values of each key.
topic Contains the information about the topic, if the value for the searchResult parameter is TOPIC.
title The topic's title.
tocId The topic's tocId.

A table for the most common fields is in Analytics events.

Example:

[
  {
    "searchQuery": {
      "terms": "afs_search_build",
      "facets": [],
      "searchType": "EVERYWHERE"
    },
    "searchResult": {
      "rank": 1,
      "type": "TOPIC",
      "document": {
        "id": "MUTHQr7DBstGQbqa1sJGhw",
        "title": "AFS Filters Description",
        "type": "STRUCTURED_DOCUMENT",
        "metadata": [
          {
            "key": "Product",
            "label": "Product",
            "values": [
              "AFS"
            ]
          },
          {
            "key": "AFS_Version",
            "label": "Plateforme",
            "values": [
              "7.14"
            ]
          },
          {
            "key": "Category",
            "label": "Category",
            "values": [
              "Reference Guides"
            ]
          }
        ]
      },
      "topic": {
        "tocId": "G2GwZCFvFIWkaGsasfWMNw",
        "title": "afs_search_build"
      }
    }
  }
]
  • The externalLink field only appears when a user selects an external document.
  • Search queries detected as suspicious (potential code injection) by Fluid Topics do not trigger events and are not displayed in search related pages. It is not possible to deactivate this filtering.