Key metrics related to sessions
This article guides you through analyzing key metrics related to sessions. These metrics include:
- Message Count
- New User Count
- Unique User Count
- Session Count
Understanding the type of session—either bot or user session—is crucial for accurate analysis.
To determine the session type
- Right-click on your screen and select Inspect.
- Open the Network tab and search for the keyword "Insights."
- Refresh the page and examine any API call's payload to determine the session type. By default, it is set to a bot session.
Message Count
To analyze message counts:
Bot Session | User Session |
---|---|
1. Open Data Explorer > Message Events table. 2. Apply a filter for Interaction Type = welcome-reply. 3. Summarize the data based on the Sum of Count. | 1. Open Data Explorer > Message Events table. 2. Apply a filter for Interaction Type != welcome. 3. Summarize the data based on the Sum of Count. |
New User Count
To analyze new user counts:
Bot Session | User Session |
---|---|
1. Open Data Explorer > User Engagement Events table. 2. Apply a filter for Event = first-message or Users-visited. 3. Summarize the Count. | 1. Open Data Explorer > User Engagement Events table. 2. Apply a filter for Event = first-message. 3. Summarize the Count. |
You can also apply filters based on channels and timestamps.
Unique User Count
To calculate the unique user count:
Bot Session | User Session |
---|---|
1. Open Data Explorer > Message Events table. 2. Apply a filter for Type = bot-message. 3. Summarize the data based on Distinct UID. | 1. Open Data Explorer > Message Events table. 2. Apply a filter for Type = user-message. 3. Summarize the data based on Distinct UID. |
Session Count
To count sessions:
Bot Session | User Session |
---|---|
1. Open Data Explorer > User Engagement table. 2. Apply a filter for Event = bot-session. 3. Summarize the Count. | 1. Open Data Explorer > User Engagement table. 2. Apply a filter for Event = user-session. 3. Summarize the Count. |