You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/concepts/voice-video-calling/end-of-call-survey-concept.md
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,7 @@ ms.subservice: calling
17
17
18
18
# End of Call Survey overview
19
19
20
-
21
-
> [!NOTE]
22
-
> End of Call Survey is currently supported only for our JavaScript / Web SDK.
23
-
24
-
The End of Call Survey provides you with a tool to understand how your end users perceive the overall quality and reliability of your JavaScript / Web SDK calling solution.
25
-
20
+
The End of Call Survey provides you with a tool to understand how your end users perceive the overall quality and reliability of your Calling SDK solution.
26
21
27
22
## Purpose of the End of Call Survey
28
23
It’s difficult to determine a customer’s perceived calling experience and determine how well your calling solution is performing without gathering subjective feedback from customers. You can use the End of Call Survey to collect and analyze customers **subjective** opinions on their calling experience as opposed to relying only on **objective** measurements such as audio and video bitrate, jitter, and latency, which may not indicate if a customer had a poor calling experience.
# Use the End of Call Survey to collect user feedback
19
17
20
-
> [!NOTE]
21
-
> End of Call Survey is currently supported only for our JavaScript / Web SDK.
22
-
23
-
This tutorial shows you how to use the Azure Communication Services End of Call Survey for JavaScript / Web SDK.
24
-
18
+
This tutorial shows you how to use the Azure Communication Services End of Call Survey.
25
19
26
20
## Prerequisites
27
21
28
22
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
29
-
30
-
-[Node.js](https://nodejs.org/) active Long Term Support(LTS) versions are recommended.
31
-
32
23
- An active Communication Services resource. [Create a Communication Services resource](../quickstarts/create-communication-resource.md). Survey results are tied to single Communication Services resources.
33
24
- An active Log Analytics Workspace, also known as Azure Monitor Logs. See [End of Call Survey Logs](../concepts/analytics/logs/end-of-call-survey-logs.md).
34
25
- To conduct a survey with custom questions using free form text, you need an [App Insight resource](../../azure-monitor/app/create-workspace-resource.md#create-a-workspace-based-resource).
35
26
27
+
::: zone pivot="platform-web"
28
+
[!INCLUDE [End of Call Survey for Web](./includes/end-of-call-survey-web.md)]
29
+
::: zone-end
36
30
37
-
> [!IMPORTANT]
38
-
> End of Call Survey is available starting on the version [1.13.1](https://www.npmjs.com/package/@azure/communication-calling/v/1.13.1) of the Calling SDK. Make sure to use that version or later when trying the instructions.
39
-
40
-
## Sample of API usage
41
-
42
-
43
-
The End of Call Survey feature should be used after the call ends. Users can rate any kind of VoIP call, 1:1, group, meeting, outgoing and incoming. Once a user's call ends, your application can show a UI to the end user allowing them to choose a rating score, and if needed, pick issues they’ve encountered during the call from our predefined list.
44
-
45
-
The following code snips show an example of one-to-one call. After the end of the call, your application can show a survey UI and once the user chooses a rating, your application should call the feature API to submit the survey with the user choices.
46
-
47
-
We encourage you to use the default rating scale. However, you can submit a survey with custom rating scale. You can check out the [sample application](https://github.com/Azure-Samples/communication-services-web-calling-tutorial/blob/main/Project/src/MakeCall/CallSurvey.js) for the sample API usage.
48
-
49
-
50
-
### Rate call only - no custom scale
51
-
52
-
```javascript
53
-
call.feature(Features.CallSurvey).submitSurvey({
54
-
overallRating: { score:5 }, // issues are optional
| Overall Call | 2 | 1 - 5 | Surveys a calling participant’s overall quality experience on a scale of 1-5. A response of 1 indicates an imperfect call experience and 5 indicates a perfect call. The cutoff value of 2 means that a customer response of 1 or 2 indicates a less than perfect call experience. |
142
-
| Audio | 2 | 1 - 5 | A response of 1 indicates an imperfect audio experience and 5 indicates no audio issues were experienced. |
143
-
| Video | 2 | 1 - 5 | A response of 1 indicates an imperfect video experience and 5 indicates no video issues were experienced. |
144
-
| Screenshare | 2 | 1 - 5 | A response of 1 indicates an imperfect screen share experience and 5 indicates no screen share issues were experienced. |
145
-
146
-
147
-
148
-
> [!NOTE]
149
-
>A question’s indicated cutoff value in the API is the threshold that Microsoft uses when analyzing your survey data. When you customize the cutoff value or Input Range, Microsoft analyzes your survey data according to your customization.
You can choose to collect each of the four API values or only the ones
164
-
you find most important. For example, you can choose to only ask
165
-
customers about their overall call experience instead of asking them
166
-
about their audio, video, and screen share experience. You can also
167
-
customize input ranges to suit your needs. The default input range is 1
168
-
to 5 for Overall Call, Audio, Video, and
169
-
Screenshare. However, each API value can be customized from a minimum of
170
-
0 to maximum of 100.
171
-
172
-
### Customization examples
173
-
174
-
175
-
| API Rating Categories | Cutoff Value*| Input Range |
176
-
| ----------- | ----------- | -------- |
177
-
| Overall Call | 0 - 100 | 0 - 100 |
178
-
| Audio | 0 - 100 | 0 - 100 |
179
-
| Video | 0 - 100 | 0 - 100 |
180
-
| Screenshare | 0 - 100 | 0 - 100 |
181
-
182
-
> [!NOTE]
183
-
> A question’s indicated cutoff value in the API is the threshold that Microsoft uses when analyzing your survey data. When you customize the cutoff value or Input Range, Microsoft analyzes your survey data according to your customization.
184
-
185
-
## Custom questions
186
-
In addition to using the End of Call Survey API you can create your own survey questions and incorporate them with the End of Call Survey results. Below you'll find steps to incorporate your own customer questions into a survey and query the results of the End of Call Survey API and your own survey questions.
- Embed Azure AppInsights into your application [Click here to know more about App Insight initialization using plain JavaScript](../../azure-monitor/app/javascript-sdk.md). Alternatively, you can use NPM to get the App Insights dependences. [Click here to know more about App Insight initialization using NPM](../../azure-monitor/app/javascript-sdk-configuration.md).
189
-
- Build a UI in your application that will serve custom questions to the user and gather their input, lets assume that your application gathered responses as a string in the `improvementSuggestion` variable
31
+
::: zone pivot="platform-android"
32
+
[!INCLUDE [End of Call Survey for Android](./includes/end-of-call-survey-android.md)]
33
+
::: zone-end
190
34
191
-
- Submit survey results to Azure Communication Services and send user response using App Insights:
// `improvementSuggesstion` contains custom, user response
195
-
if (improvementSuggestion !=='') {
196
-
appInsights.trackEvent({
197
-
name:"CallSurvey", properties: {
198
-
// Survey ID to correlate the survey
199
-
id:res.id,
200
-
// Other custom properties as key value pair
201
-
improvementSuggestion: improvementSuggestion
202
-
}
203
-
});
204
-
}
205
-
});
206
-
appInsights.flush();
207
-
```
208
-
User responses that were sent using AppInsights are available under your App Insights workspace. You can use [Workbooks](../../update-center/workbooks.md) to query between multiple resources, correlate call ratings and custom survey data. Steps to correlate the call ratings and custom survey data:
209
-
- Create new [Workbooks](../../update-center/workbooks.md) (Your Azure Communication Services Resource -> Monitoring -> Workbooks -> New) and query Call Survey data from your Azure Communication Services resource.
210
-
- Add newquery (+Add -> Add query)
211
-
- Make sure `Data source` is `Logs` and `Resource type` is `Communication`
212
-
- You can rename the query (Advanced Settings -> Step name [example: call-survey])
213
-
- Be aware that it could require a maximum of**2 hours** before the survey data becomes visible in the Azure portal.. Query the call rating data-
214
-
```KQL
215
-
ACSCallSurvey
216
-
| where TimeGenerated > now(-24h)
217
-
```
218
-
- Add another query to get data from App Insights (+Add -> Add query)
219
-
- Make sure `Data source` is `Logs` and `Resource type` is `Application Insights`
0 commit comments