Skip to main content
Skip table of contents

Count frequency of a keyword in social media content

Count the occurrences of a special (marketing) keyword in a text field.

In this use case both the content and the keyword for a social media post are stored in separate fields.

Configuration

Create a Custom smart number field and use the General parsing mode.

Expression

CODE
%{count(findPattern(%{issue.cfnnnn}, %{issue.cfmmmm}))}

Please, note that it is necessary to replace nnnnn with the ID of the custom field containing the content and mmmmm with the ID of the custom field containing the keyword.

image-20250916-111112.png

Used parser functions

The links lead to the JWTC documentation because the parser functions are shared functionalities.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.