type

The type of the interaction.

The value can be one of the following:

  • activity - for shares and engagements.
  • click - for click events.
  • article_view - for article view events.

Query filtering

  1. Filter to only activities (shares and engagements):

    li.type == "activity"

  2. Filter to only clicks from members:

    li.type == "click" AND li.user.type == "member"

Analysis

You can use this target to analyze the types of interactions that are stored in an index.

  1. Analyze the breakdown of interaction types in the last 24 hours:

    "parameters": {
        "analysis_type": "freqDist",
        "parameters": {
            "target": "li.type",
            "threshold": 3
        }
    }

  2. Analyze the breakdown of interaction types for members only:

    "filter": "li.user.type == \"member\"",
    "parameters": {
        "analysis_type": "freqDist",
        "parameters": {
            "target": "li.type",
            "threshold": 3
        }
    }

    Notice that here a query filter is used to filter to only activities and events from members.

Resource information

Type: string

Tokenized for query filters: No

Analysis target: Yes

Query filter: Yes

Child analysis target: Yes