Jdruker/ChatReporting
attach-session-statistics
Section: settings
Default Value: none
Valid Values: all, fired, none
Changes Take Effect: Immediately
Enables calculating various statistics and attaching them to the interaction's user data at the end of the chat session. Possible values are:
- none: Do not attach anything.
- all: Attach all possible statistics (both encountered and non-encountered).
- fired: Attach only statistics that were encountered during the course of the chat session.
Note: Genesys recommends that you change the value of this option from the default value of "none" to "fired" if you deploy Historical Reporting for either Chat or Bot Gateway.
stop-abandoned-interaction
Section: settings
Default Value: never
Valid Values: always, never, noagents, noanswer
Changes Take Effect: Immediately
Modified: 8.5.301.06
Specifies how Chat Server handles chat interactions (in Interaction Server) when the chat session is finished. Possible values:
- always: interactions are always stopped when the chat session is finished (not recommended value).
- never: interactions are never stopped by Chat Server (recommended value).
- noagents: interactions are stopped only if there are currently no agents or supervisors in the session (use value wisely).
- noanswer: interactions are stopped only if no agents ever joined the session - in other words, the session was never answered (use value wisely).
Note: When the chat session is closing, it ignores the presence of bot participants when evaluating this option (in other words, bot participants are not considered "agents"). The legacy "true" and "false" values are also supported and converted to new values as following:
- "false" is interpreted as "never"
- "true" is interpreted as "noanswer"
By default, Chat Server does not stop any interaction after the chat session is finished. Instead, Chat Server updates the IsOnline interaction property to false and attaches reporting statistics. If your deployment includes Genesys Info Mart reporting, Genesys recommends that you set the value of this option to "noanswer", to enable accurate reporting of abandoned chats. In all other deployments, Genesys recommends that you set the value of this option to "never", and have the agent desktop and/or a workflow stop the interaction. Values other than "never" must be used cautiously, as stopping the interaction from Chat Server may lead to conflicts with updates from the agent desktop.
enable-chat
Section: agg-feature
Default Value: No default value
Valid Values: None. This option takes no values—its presence alone within the [agg-feature] section issues the described instructions to RAA.
Changes Take Effect: After restart of the aggregation process
Introduced: 8.5.003
Modified: 8.5.011.02, 8.5.011.04
Instructs RAA to enable the AGT_CHAT_STATS table. To have RAA exclude chat data, remove this option from this section.
attach-session-statistics
Section: settings
Default Value: none
Valid Values: all, fired, none
Changes Take Effect: Immediately
Enables calculating various statistics and attaching them to the interaction's user data at the end of the chat session. Possible values are:
- none: Do not attach anything.
- all: Attach all possible statistics (both encountered and non-encountered).
- fired: Attach only statistics that were encountered during the course of the chat session.
Note: Genesys recommends that you change the value of this option from the default value of "none" to "fired" if you deploy Historical Reporting for either Chat or Bot Gateway.
Monique's markup for new async chat KVPs
- cse_AsyncDormantMaxTime
- cse_AsyncDormantMaxTime
- cse_AsyncDormantMaxTime
- cse_AsyncDormantMaxTime
- cse_AsyncDormantMaxTime
- cse_AsyncDormantTotalCount
- cse_AsyncDormantTotalCount
- cse_AsyncDormantTotalCount
- cse_AsyncDormantTotalCount
- cse_AsyncDormantTotalCount
- cse_AsyncDormantTotalTime
- cse_AsyncDormantTotalTime
- cse_AsyncDormantTotalTime
- cse_AsyncDormantTotalTime
- cse_AsyncDormantTotalTime
- cse_AsyncIdleMaxTime
- cse_AsyncIdleMaxTime
- cse_AsyncIdleMaxTime
- cse_AsyncIdleMaxTime
- cse_AsyncIdleMaxTime
- cse_AsyncIdleTotalCount
- cse_AsyncIdleTotalCount
- cse_AsyncIdleTotalCount
- cse_AsyncIdleTotalCount
- cse_AsyncIdleTotalCount
- cse_AsyncIdleTotalTime
- cse_AsyncIdleTotalTime
- cse_AsyncIdleTotalTime
- cse_AsyncIdleTotalTime
- cse_AsyncIdleTotalTime
Async Chat Session statistics
No results
Writer's note: Either:
- Put all the reporting-related content on one page (as below), in which case change the H1 of Chat Server Reporting Data to "Integrating with Genesys Historical Reporting" OR
- Make a new page for the new "Integrating with Genesys Historical Reporting" content and link to the existing "Chat Server Reporting Data" page, but still reformat the latter as suggested below.
Integrating with Genesys Historical Reporting
New content. A similar page in the BGS docs will provide parallel info for chat bot and will refer back to this page for supplementary configuration info.
Starting with Chat Server release 8.5.203.09, historical reporting on chat session activity is available in eServices premise deployments that include the Genesys Reporting & Analytics offering. Writer's note: Maybe also mention here that chat bot reporting is also available in deployments that support BGS + link to the BGS doc for more info.
Chat session reporting relies on Interaction Server reporting events to provide session-related data to the products that enable Genesys historical reporting:
- Interaction Concentrator, which comprises the Interaction Concentrator (ICON) server and Interaction Database (IDB) -- Stores detailed reporting data from Interaction Server and other sources.
- Genesys Info Mart -- Extracts, transforms, and loads (ETLs) data from IDB into the Info Mart database, a data mart suitable for contact center reporting.
- Reporting and Analytics Aggregates (RAA) -- Aggregates Info Mart data to provide contact center activity metrics for downstream reporting applications.
- Genesys Customer Experience Insights (GCXI) -- Extracts aggregated data from the Info Mart database and presents it in readable historical reports.
This page describes the component and configuration requirements to enable historical reporting on chat session activity in your deployment.
Overview
New content
- After a chat session is finished, Chat Server attaches reporting statistics to the user data of the interaction in Interaction Server. For more information about the attached user data key-value pairs (KVPs), see Chat Server reporting data.
- ICON stores the user data in the G_USER_DATA_HISTORY table in IDB in near real-time.
- On a regular schedule, Genesys Info Mart extracts the IDB data and transforms it into the CHAT_SESSION_FACT table and supporting dimensions in the Info Mart dimensional model. For more information about the session-related tables in the Info Mart database, see the Genesys Info Mart Physical Data Model for your RDBMS. For more information about managing the Genesys Info Mart ETL jobs, see the Genesys Info Mart Operations Guide.
- RAA summarizes and organizes the Info Mart data in ways that enable GCXI to extract meaning. For more information about RAA data, see the RAA User's Guide.
- GCXI uses the aggregated data in the Info Mart database to present the following out-of-box chat session reports:
- Chat Message Statistics Report Writer's note: Make these active links if the GCXI pages have been published. Otherwise, leave the generic ref to the GCXI User's Guide, below.
- Chat Termination Report
- + more as they get added
- In addition, in deployments that include BGS, there are reports and dashboards on bot-related activity.
- For more information about the GCXI reports, see Chat reports in the GCXI User's Guide.
Enabling historical reporting on chat session activity
New section
Prerequisites
The following table summarizes the minimum release requirements for the components that enable chat session historical reporting.
Component | Minimum release |
---|---|
Chat Server | 8.5.203.09 |
ICON | 8.1.514.06 |
Genesys Info Mart | 8.5.010 |
RAA | 8.5.010 |
GCXI | 9.0.005 |
Setting up historical reporting
- Ensure that your deployment has been configured as required for Genesys Info Mart to support reporting on eServices activity in general. If necessary, migrate Genesys Info Mart and RAA to meet the release Prerequisites.
For a summary of the configuration requirements, see Enabling Reporting on Multimedia Activity in the Genesys Info Mart Deployment Guide. - Configure Chat Server to attach the required statistics.
Set the Chat Server attach-session-statistics option to all (which is not the default value). - Configure ICON to capture the user data KVPs that Genesys Info Mart requires.
Modify the ICON attached data specification file as necessary, to include the KVPs identified in Chat Server reporting data as KVPs that are used by Genesys Info Mart.TipThe attached data specification file included in the Genesys Info Mart IP (ccon_adata_spec_GIM_example.xml) includes all the required KVPs. - Enable aggregation of chat session data. (Required for GCXI reporting or other applications that use RAA aggregation.)
In the [agg-feature] section on the Genesys Info Mart application object, specify the enable-chat option.
Writer's note: Replace the Optionslink template call with hard-coded "enable-chat" if the RAA update has not yet been published.
End of new content
Chat Server reporting data
After a chat session is finished, Chat Server attaches the following list types of reporting statistics to the user data of the interaction in Interaction Server:
- Chat session characteristics
- Chat session end reason codes
- Chat session transcript statistics
- Bot-related statistics
Chat Session Characteristics
The following chat session characteristics are attached at the end of a chat session. If the KVPs are required for the out-of-box chat session reporting provided by Genesys Info Mart and GCXI, the "Info Mart Database Target" column indicates the Info Mart database table and column to which the KVP is mapped.
Unless indicated otherwise, the session characteristics KVPs were introduced in Chat Server 8.5.201.
Writer's note: If necessary because of timing of the Chat Server and GIM releases, the "maps to GIM table" column can be suppressed until GIM announces support for Chat Session reporting.
KVP | Description | Info Mart Database Target |
---|---|---|
KVP | Description | Info Mart Database Target |
csg_MediaType Introduced: 8.5.203.09 (restricted release) | The MediaType for chat interaction. Always attached. This KVP is mandatory for Genesys Info Mart reporting. | CHAT_ |
ChatServerSessionClosedAt | Timestamp of chat session closure. Always attached. | CHAT_ |
ChatServerSessionStartedAt | Timestamp of chat session creation. Always attached. | CHAT_ |
csg_ChatSessionID | The ID (identifier) of chat session. Could be different from Interaction ID. Might be absent. Only attached if attach-session-statistics value is not "none". | Not used by Genesys Info Mart. |
csg_LanguageName | The value identifies the language specified for chat session. Might be absent. Only attached if the values for the corresponding KVPs were set for chat session and attach-session-statistics value is not "none". | CHAT_ |
csg_MediaOrigin | The value identifies the origination of chat session (web chat, social media channels, sms, and so on). Might be absent. Only attached if the values for the corresponding KVPs were set for chat session and attach-session-statistics value is not "none". | CHAT_ |
csg_TenantId | The tenant ID for chat session. Always attached. This KVP is mandatory for Genesys Info Mart reporting. | CHAT_ |
Chat Session End Reason Codes
The following reason codes describe what triggered the end of a chat session and how it was triggered. If the KVPs are required for the out-of-box chat session reporting provided by Genesys Info Mart and GCXI, the "Info Mart Database Target" column indicates the Info Mart database table and column to which the KVP is mapped.
KVP | Description | Info Mart Database Target |
---|---|---|
KVP | Description | Info Mart Database Target |
csg_SessionEndedAgent Introduced: 8.5.109 | The indication of agent presence in chat session. Please note that in this reason code, only human (in other words, non-bot) agents who are visible to a customer are taken into account.
| Not used by Genesys Info Mart |
csg_SessionEndedBy Introduced: 8.5.105 | The type of participant that triggered the chat session closure. Valid values:
| CHAT_ |
csg_SessionEndedReason Introduced: 8.5.105 | The description of how a chat session was closed. Valid values:
| CHAT_ |
Chat Session transcript statistics
Chat Server attaches general and extended reporting statistics, based on the attach-session-statistics option settings.
General transcript statistics
In the general transcript statistics, an agent means both an agent and a supervisor, when either of those is visible to a customer. For example, the statistics do not count/include an activity for an agent who is coaching another agent, or for a supervisor who monitors the session silently.
The following general transcript statistics are attached at the end of a chat session. If the KVPs are required for the out-of-box chat session reporting provided by Genesys Info Mart and GCXI, the "Info Mart Database Target" column indicates the Info Mart database table and column to which the KVP is mapped.
Unless indicated otherwise, the general transcript statistics KVPs were introduced in Chat Server 8.5.101.
KVP | Description | Info Mart Database Target |
---|---|---|
KVP | Description | Info Mart Database Target |
csg_MessagesFromAgentsCount | The total number of all messages sent by all agents (messages which are visible to customer). Note: There can be several agents in a chat session, for example, conferences, transfers, and others. | CHAT_ |
csg_MessagesFromAgentsSize | The total character count (including spaces) of all messages sent by agents. | CHAT_ |
csg_MessagesFromCustomersCount | The total number of messages sent by customers. | CHAT_ |
csg_MessagesFromCustomersSize | The total character count (including spaces) of all messages sent by customers. | CHAT_ |
csg_PartiesAsAgentCount | The number of parties that participated in a session as agents. Note: Only unique parties are counted. For example, if the same party joins the session several times, it only counts as one for the purpose of this statistic. | CHAT_ |
csg_PartiesAsCoachCount | The number of parties that participated in a session in the coaching mode (for example, an agent joins with the VIP visibility). Note: Only unique parties are counted. For example, if the same party joins the session several times, it only counts as one for the purpose of this statistic. | Not used by Genesys Info Mart |
csg_PartiesAsMonitorCount | The number of parties that participated in a session in the monitoring mode (for example, a supervisor join with the INT visibility). Note: Only unique parties are counted. For example, if the same party joins the session several times, it only counts as one for the purpose of this statistic. | Not used by Genesys Info Mart |
csg_SessionTotalTime | The total duration of a chat session from the time it was created until it was completely finished/closed in Chat Server. Note: This does not include the time between Chat Session End and Mark Done, as the interaction can still be handled by an agent. | CHAT_ |
csg_SessionUntilFirstAgentTime | The duration of the waiting period, or the period of time a customer waits until the first agent (visible to a customer) joined the session. Note: The 0 (zero) value has two alternative interpretations: no agents ever joined the session (if csg_PartiesAsAgentCount=0) or an agent joined immediately when the session was started (if csg_PartiesAsAgentCount=0). | CHAT_ |
csg_SessionUntilFirstReplyTime | The period of time until the first agent submits the first visible to a customer greeting/message into a chat session. | CHAT_ |
csg_SessionWithCustomerTime | The period of time a customer is in a chat session. | Not used by Genesys Info Mart |
Extended (wait-reply) statistics
The extended statistics provide details about customer and agent wait and reply times. Writer's note: For clarity and consistency, include a statement parallel to the one under general statistics about whether agent includes supervisors.
The terms wait and reply are defined as follows:
- Wait time - The time between a message from the reporting party (or the last message, if there were a few messages in a row) being sent and the first message from another party being received in a reply.
- Reply time - The time between a message (or the first message, for a few messages in a row) from another party being received and the message from reporting party being sent in a reply.
The following extended transcript statistics are attached at the end of a chat session. If the KVPs are required for the out-of-box chat session reporting provided by Genesys Info Mart and GCXI, the "Info Mart Database Target" column indicates the Info Mart database table and column to which the KVP is mapped.
Unless indicated otherwise, the extended transcript statistics KVPs were introduced in Chat Server 8.5.101.
KVP | Description | Info Mart Database Target |
---|---|---|
KVP | Description | Info Mart Database Target |
cse_AgentReplyMaxTime | The maximum time (in seconds) an agent spent on replying to a customer. | CHAT_ |
cse_AgentReplyTotalCount | The number of times an agent replied to a customer. | CHAT_ |
cse_AgentReplyTotalTime | The total time (in seconds) an agent spent on replying to a customer. | CHAT_ |
cse_AgentWaitMaxTime | The maximum time (in seconds) an agent spent on waiting the reply from a customer. | CHAT_ |
cse_AgentWaitTotalCount | The number of times an agent waited for replies from a customer. | CHAT_ |
cse_AgentWaitTotalTime | The total time (in seconds) an agent spent on waiting the reply from a customer. | CHAT_ |
cse_CustomerReplyMaxTime | The maximum time (in seconds) a customer spent on replying to an agent. | CHAT_ |
cse_CustomerReplyTotalCount | The number of times a customer replied to an agent. | CHAT_ |
cse_CustomerReplyTotalTime | The total time (in seconds) a customer spent on replying to an agent. | CHAT_ |
cse_CustomerWaitMaxTime | The maximum time (in seconds) a customer spent on waiting the reply from an agent. | CHAT_ |
cse_CustomerWaitTotalCount | The number of times a customer waited for the reply from an agent. | CHAT_ |
cse_CustomerWaitTotalTime | The total time (in seconds) a customer spent on waiting the reply from an agent. | CHAT_ |
New subsection.
In deployments that include Bot Gateway Server (BGS), Chat Server also attaches the following KVPs:
- csg_MessagesFromBotsCount
- csg_MessagesFromBotsSize
- csg_SessionUntilFirstBotTime
- csg_PartiesAsBotCount
For more information about the bot-related KVPs, see link.
Writer's note: PMs to confirm wording of a BGS restriction/upsell statement. Something like the following:
Writer's note: Alternatively, since content will be single-sourced and the only markup to provide the detail is a template call, we can easily put the detail on this page as well.
Monique, the rest of the markup on this page is the "parameterized" source content that will go on the Library book page. You can manually group the KVPs under sub-headings (as done here) or just put them on the page in any order; the KVPCategory parameter is used to select and group them, as in the queries above.