Skip to main content

Chat Widget Feedback

in Example Reports
Authors list
Avaldatud: 22. mai 2018|Last updated: 3. nov 2022

When your users have a live chat with one of your agents they can rate whether the chat was helpful or unhelpful. Here are two example queries you can use to get information on this chat feedback.

List of chat feedback

Title of report: Chat feedback ${date} grouped by ${chat}

SELECT chat_conversations.id AS 'ChatID', chat_conversations.person_name, chat_conversations.person_email, IF(chat_conversations.rating_overall = 1, 'Negative', 'Positive') AS 'Rating', chat_conversations.rating_comment FROM chat_conversations WHERE chat_conversations.date_created = ${date} AND chat_conversations.is_agent = 0 AND chat_conversations.status = 'ended' AND chat_conversations.total_to_ended > 0 AND chat_conversations.rating_overall IN (1, 10) AND chat_conversations.date_created >= '2016-09-07' SPLIT BY ${chat}
copy

Variables

image.png

image.png

Chat ratings

Title of report: Chat ratings ${date} grouped by ${chat}

SELECT DPQL_COUNT() AS 'count', IF(chat_conversations.rating_overall = 1, 'Negative', 'Positive') AS 'rating' FROM chat_conversations WHERE chat_conversations.date_created = ${date} AND chat_conversations.is_agent = 0 AND chat_conversations.status = 'ended' AND chat_conversations.total_to_ended > 0 AND chat_conversations.rating_overall IN (1, 10) AND chat_conversations.date_created >= '2016-09-07' SPLIT BY ${chat} GROUP BY IF(chat_conversations.rating_overall = 1, 'Negative', 'Positive')
copy

Variables

image.png image.png

Sain abiEi saanud abi
next pageExclude Tickets Created by Agents
previous pageQuerying Custom Fields

Please log in or register to submit a comment.