interaction.tags

Analyze this target to count the number of interactions on which a particular tag has been applied.

This target is not available for Interaction Filtering.

Note that this target works with simple tagging, illustrated in the examples below. To work with more complex VEDO tags, see interaction.tag_tree.

Examples

The way you use this tag depends on the CSDL you run in your Interaction Filter. For example, this Interaction Filter:

tag "hippopotamus" { interaction.content contains_any "hippo, hippopotamus"} 
tag "flamingo"     { interaction.content contains "flamingo"} 
tag "lion"         { interaction.content contains "lion"} 
tag "manatee"      { interaction.content contains "manatee"} 
tag "leopard"      { interaction.content contains "leopard"} 
tag "elephant"     { interaction.content contains "elephant"} 
tag "tiger"        { interaction.content contains "tiger"} 
tag "rhinoceros"   { interaction.content contains "rhinoceros"} 
tag "penguin"      { interaction.content contains "penguin"} 

return {     
    interaction.content contains "zoo" 
}

Your analysis query might be:

'analysis_type': 'freqDist', 'parameters': {'threshold': 6, 'target': 'interaction.tags'}

Resource information

Target service: PYLON for Facebook Topic Data

Target object: Interaction

Type: array(string)

Array: Yes

Tokenized for query filters: No

Interaction filter: No

Analysis target: Yes

Query filter: Yes

Child analysis target: No