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
@@ -13,19 +13,30 @@ This feature is in Beta. For more information on Beta products, see [Beta Releas
13
13
14
14
## 1 Introduction
15
15
16
-
By using **Mini Surveys** > **Product Insights** in the Developer Portal and the [App Insights – Mini Surveys](/appstore/modules/app-insights/) module in the Marketplace, you can set up mini-surveys for the target user groups you would like to reach and collect their feedback to gain valuable product insights.
16
+
By using **Mini Surveys** > **App Insights** in the Developer Portal and the [App Insights – Mini Surveys](/appstore/modules/app-insights/) module in the Marketplace, you can set up mini-surveys for the target user groups you would like to reach and collect their feedback to gain valuable app insights.
17
17
18
-
You begin by creating a mini-survey in **Product Insights** in the Developer Portal, and then you implement the mini-survey by configuring the **App Insights – Mini-Surveys** module in Studio Pro. After the mini-survey is running, you can view responses that have been collected in **Product Insights** and export the responses to an XLSX file.
18
+
You begin by creating a mini-survey in **App Insights** in the Developer Portal, and then you implement the mini-survey by configuring the **App Insights – Mini-Surveys** module in Studio Pro. After the mini-survey is running, you can view responses that have been collected in **App Insights** and export the responses to an XLSX file.
19
19
20
-
This document first describes all the pages in **Product Insights** in the Developer Portal, and then it describes the procedure for running a mini-survey.
20
+
This document first describes all the pages in **App Insights** in the Developer Portal, and then it describes the procedure for running a mini-survey.
21
21
22
-
## 2 Product Insights Configuration
22
+
### 1.1 Survey Pop-Up Behaviour
23
+
24
+
The Mini Survey has specific opt-out rules after a user is shown a Survey.
25
+
***The survey opt-out scenarios are;**
26
+
***Scenario 1:** – User closes Survey, without answering any questions. User is opted-out and survey will not show again.
27
+
***Scenario 2:** – User Answers 1 or more questions but does not finish the survey: Survey will show again to the user. But if they close the survey before finishing (for second time), it will not show survey again.
28
+
***Scenario 3:** – User Answers all questions: Survey will not show again.
29
+
30
+
31
+
{{% alert color="info" %}}In the GA release (May/June) we will allow you customise these opt-out rules from App Insights portal.{{% /alert %}}
32
+
33
+
## 2 App Insights Configuration
23
34
24
35
### 2.1 Survey Overview {#survey-overview}
25
36
26
37
When you click **Mini Surveys** in the sidebar for an app that already has existing mini-surveys, the **Survey Overview** page opens first.
27
38
28
-
On the upper-left corner of the page, you can see the name of the app currently opened. Click the app name to open a drop-down list of other apps you can navigate to that have been previously opened for Product Insights.
39
+
On the upper-left corner of the page, you can see the name of the app currently opened. Click the app name to open a drop-down list of other apps you can navigate to that have been previously opened for App Insights.
29
40
30
41
The tabs of the **Survey Overview** page are described below.
31
42
@@ -73,9 +84,23 @@ Clicking the mini-survey in a row on the list shows its [survey details](#survey
73
84
74
85
#### 2.1.3 Settings Tab {#settings}
75
86
76
-
On the **Settings** tab of **Survey Overview**, you can select **Enable Mendix SSO test users**, which marks the app team members as testers. Testers see the survey every time it is triggered, and their responses are not saved. You can view all the test data on the [Test data](#test-data) tab of the survey details page.
87
+
On the **Settings** tab of **Survey Overview**, you can enable the test mode, and view or generate API keys.
88
+
89
+
***Test Mode - For All Users** – After you enable this test mode, all users will become the testers of your survey. They will see the survey every time it is triggered. Their responses will not be saved, and therefore will not pollute the true survey results. You can view their responses on the [Test data](#test-data) tab of the survey details page.
90
+
91
+
* To enable this test mode, open your app in Studio Pro. In the **App Explorer**, go to **Marketplace modules > AppInsights_MiniSurvey > _SETUP > 2. Set API Key & mode.**, and set the **TEST_MODE** constant to **True**.
92
+
93
+
***Test Mode - For Project Members** – After you enable this test mode, all team members of the app will become the testers of your survey. They will see the survey every time it is triggered. Their responses will not be saved, and therefore will not pollute the true survey results. You can view their responses on the [Test data](#test-data) tab of the survey details page.
94
+
95
+
{{% alert color="info" %}}This test mode only works for app team members who are authenticated through Mendix SSO.{{% /alert %}}
96
+
97
+
* To enable this test mode, select **Yes** for **Test Mode - For Project Members** here.
98
+
99
+
***API Keys** – You can view API keys here, or generate an API key if there is none available. You need to use the API key as input when you configure the App Insights – Mini-Surveys module in Studio Pro to implement the mini-survey. You need only one API key per app.
100
+
101
+
* To generate an API key, click **Generate API Key** here.
102
+
* To view an existing API key, click the eye icon in the **View** column in the table.
77
103
78
-
{{% alert color="info" %}}If an app team member is not authenticated through Mendix SSO, this setting does not work for them.{{% /alert %}}
79
104
80
105
### 2.2 Survey Details {#survey-details}
81
106
@@ -118,14 +143,6 @@ You can collect test data using two methods:
118
143
* Change the value of the **TEST_MODE** constant in the [App Insights – Mini-Surveys](/appstore/modules/app-insights/) module. This will show **[TEST_MODE]** on the survey widget UI.
119
144
* Select the **Enable Mendix SSO test users"** check box on the **Settings** tab of **Survey Overview**, which marks the app team members as testers. Note that if an app team member is not authenticated through Mendix SSO, this setting does not work for them. The survey widget will not show **[TEST_MODE]** on the UI.
Here you can view the existing API key, or generate an API key if there is not one available. You need to use the API key as input when you configure the App Insights – Mini-Surveys module in Studio Pro to implement the mini-survey. You need only one API key per app.
128
-
129
146
## 3 Running a Mini-Survey
130
147
131
148
### 3.1 Creating a Mini-Survey {#create-survey}
@@ -180,13 +197,10 @@ Before the start time of the mini-survey is reached, you should implement the su
180
197
181
198
To obtain an API key for the implementation, follow these steps:
182
199
183
-
1. On the [Survey Overview](#survey-overview) page, click the settings icon.
2. The [Product Insights Settings](#product-insights-settings) page opens:
188
-
189
-
* If there is already an active API key, it is shown on the list. If it is suitable to use, click **View** to show the API key, then copy it and save it for later use.
200
+
1. On the [Survey Overview](#survey-overview) page.
201
+
2. Go to the [Setting](#settings) tab.
202
+
3. Check the **API Keys** section:
203
+
* If there is already an active API key, it is shown on the table. If it is suitable to use, click **View** to show the API key, then copy it and save it for later use.
190
204
* If there is no active API key that you can use, generate one as follows:
191
205
192
206
1. Click **Generate API Key**.
@@ -201,6 +215,7 @@ To install the [App Insights – Mini-Surveys](/appstore/modules/app-insights/)
201
215
2. Follow the instructions in [How to Use Marketplace Content in Studio Pro](/appstore/general/app-store-content/) to import the module into your app.
202
216
3. Follow the instructions in the [Configuration](/appstore/modules/app-insights/#configuration) section of *App Insights – Mini-Surveys* to complete the implementation of the mini-survey in Studio Pro.
When the start time that you set for the mini-survey is reached, the survey will start running automatically. Then you get [notifications](/developerportal/#notifications) on how many responses have been collected.
@@ -212,3 +227,10 @@ To check the responses that have been collected, follow these steps::
212
227
3. On the **Active** tab, click the mini-survey to open the [survey details](#survey-details) page.
213
228
4. Go to the **Responses** tab to see all the responses that have been collected.
214
229
5. To export the responses to an XLSX file, click **Export Responses** on the upper-right corner of the page.
230
+
231
+
## 4 FAQ
232
+
233
+
### 4.1 Upgrading the module from v1.0.0. to v1.1.0.
234
+
235
+
In order to fix the issue where surveys do not work locally when running multiple applications we have updated the way Mini Surveys are tracked. Due to this change if you are upgrading from release v1.0.0 to v1.1.0 then you must clear your browsers local storage/cached data to remove deprecated features. This only needs to be done one time in your browser.
0 commit comments