search_page.select - Fluid Topics - Latest

Integrate the Fluid Topics API

Category
Technical Notes
Audience
public
Version
Latest

This web application event occurs when any user opens a search result.

Fluid Topics does not log a search_page.select event if a user previews a search result without opening it.

This event contains the following fields:

Field Description
searchQuery An object containing information about the search query.
    facets Contains the list of facets the user selected for the search with the key and values of each.
    terms Contains the keywords the user searched for.
    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.
        metadata A list of the document's metadata with the label and values of each key.
        title The document's title.
        type The document's type (for example, STRUCTURED_DOCUMENT).
    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:

[
    {
        "appName": "ft/turnkey-portal",
        "appVersion": "4.2.26",
        "contentLocale": "en-US",
        "datetime": 1704095217667,
        "id": "8c9a417e-4419-42f1-900e-e28ff8e4df23",
        "name": "search_page.select",
        "offline": false,
        "parameters": {
            "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"
                }
            }
        },
        "sessionId": "0eec27b8-a943-4ffe-864e-74162548753",
        "tenantId": "1-stable",
        "uiLocale": "fr-FR",
        "user": {
            "groups": [],
            "id": "d554325-eef7-4850-93c1-cea73446582060",
            "roles": [
                "PRINT_USER",
                "RATING_USER",
                "FEEDBACK_USER"
            ]
        },
        "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2.1 Safari/605.1.15",
        "userIp": "192.168.2.3"
    }
]

The externalLink field only appears when a user selects an external document.