This extension adds Quality Assessment (QA) scoring for chat conversations in Live Helper Chat. Operators can fill QA evaluation forms for closed chats, and QA scores are displayed in the chat list and agent statistics.
- QA column in the chat list — shows QA scores and allows filling/viewing QA evaluations directly from the chat list.
- Agent statistics integration — displays per-agent "QA Score" (average %) and "QA Chats" (count of evaluated chats) in the agent statistic table and department performance widget.
- Settings page — configure which internal form to use for QA evaluations.
- Export support — QA columns are included in XLS exports of agent statistics.
-
Copy the
lhcqafolder intoextension/lhcqa/. -
In
lhc_web/settings/settings.ini.default.php, addlhcqato the extensions list:'extensions' => ['lhcqa']
-
Clear the cache from the Live Helper Chat admin panel.
-
Create an internal form (Admin → Forms) that operators will use during QA evaluation. Add rating fields (e.g., stars, dropdowns, text areas) as needed. The form's
attr_int_1field will be used as the QA score. -
Go to System → QA Forms (
/site_admin/qaform/settings) and select the form you created.
The extension defines the following permission functions under the lhqaform module:
| Permission | Module / Function | Description |
|---|---|---|
| Configure QA | lhqaform → configure |
Access the QA Forms settings page to choose which form to use. |
| See QA details | lhqaform → see_detailed |
View detailed QA evaluation results for a chat. |
| Fill QA form | lhqaform → fill |
Permission to fill the QA evaluation form. |
| Fill private forms | lhform → fill_private |
Required alongside lhqaform,fill to submit QA evaluations via the chat list modal. |
Give the operator these permissions:
lhqaform→see_detailed
With this permission, the operator will:
- See a "QA" column in the chat list.
- For chats that already have a QA evaluation, the QA score (e.g.,
85%) is shown as a clickable button. - Clicking the score opens a modal displaying the detailed QA evaluation (filled form fields).
The operator cannot fill or submit new QA evaluations.
Give the operator these permissions:
lhqaform→filllhform→fill_private
Optionally also grant:
lhqaform→see_detailed— to view detailed results of previously filled QA forms.
With these permissions, the operator will:
- See a "QA" column in the chat list.
- See a "QA" button next to each chat in the list.
- Clicking the button opens a modal with the chat conversation on the left and the QA evaluation form on the right.
- After submission, the QA score is stored in the chat's
chat_variablesand displayed in the column.
Give the operator:
lhqaform→configure
This grants access to System → QA Forms (/site_admin/qaform/settings) where the QA evaluation form can be selected.
- Go to System → Roles in the admin panel.
- Create or edit a role (e.g., "QA Reviewer").
- Under Module: select
lhqaformand check the desired functions. - Also check
lhform→fill_privateif the role should be able to fill QA evaluations. - Assign the role to users or groups under System → Groups.
- An admin selects an internal form via QA Forms Settings.
- When an operator fills the QA form for a chat:
- The form submission is stored in
lh_abstract_form_collected. - The QA score (
attr_int_1of the collected form) is saved to the chat'schat_variablesasqa_chat_score.
- The form submission is stored in
- The chat list "QA" column reads
qa_chat_scorefrom chat variables. - Agent statistics aggregate QA scores and chat counts per operator from
lh_abstract_form_collectedjoined withlh_chat.
| Path | Purpose |
|---|---|
lhchat/lists_chats_parts/column_end_multiinclude.tpl.php |
Adds "QA" column header in chat list |
lhchat/lists_chats_parts/column_end_row_multiinclude.tpl.php |
Adds QA score/button in each chat row |
lhstatistic/tabs/part/agentstatistic/table_header_after_offline_multiinclude.tpl.php |
Adds QA columns to agent statistic table |
lhstatistic/tabs/part/agentstatistic/table_content_after_offline_multiinclude.tpl.php |
Populates QA data in agent statistic rows |
lhstatistic/tabs/part/agentstatistic/table_average_after_offline_multiinclude.tpl.php |
Adds QA averages row |
lhstatistic/tabs/part/agentstatistic/table_header_collspans_append_multiinclude.tpl.php |
Adjusts colspan for QA columns |
pagelayouts/parts/modules_menu/extension_module_multiinclude.tpl.php |
Adds "QA Forms" menu link |