subtype

The sub-type of the interaction.

The value can be one of the following:

  • activity|share - a share.
  • activity|like - a like on a share, reshare or article in the newsfeed.
  • activity|comment - a comment on a share, reshare or article in the newsfeed.
  • activity|reshare - a reshare of a share, reshare or article in the newsfeed.
  • activity|follow - a member clicks a Follow button on the newsfeed.
  • click|expand - a member clicks a 'show more' link on the newsfeed.
  • click|view - a member clicks to view an article on the newsfeed.
  • article_view|article_view - a member views an article.

Query filtering

  1. Filter for comments only:

    li.subtype == "activity|comment"

  2. Filter for all clicks:

    li.subtype in "click|expand,click|view"

  3. Exclude reshares from your analysis:

    li.subtype != "activity|reshare"

Analysis

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

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

    "parameters": {
        "analysis_type": "freqDist",
        "parameters": {
            "target": "li.subtype",
            "threshold": 8
        }
    }

  2. Analyze the breakdown of interaction subtypes created by members only:

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

    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