Skip to content

Commit d2b3849

Browse files
Merge pull request mendix#5792 from MichaelMendix/development
Updating App Insights documentation
2 parents 37dc275 + 5a2ae0a commit d2b3849

3 files changed

Lines changed: 47 additions & 25 deletions

File tree

content/en/docs/developerportal/collaborate/product-insights.md

Lines changed: 47 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
title: "Mini Surveys & Product Insights"
2+
title: "Mini Surveys & App Insights"
33
url: /developerportal/collaborate/product-insights/
44
category: "Collaboration"
55
weight: 4
6-
description: "Describes how to set up mini-surveys to gain product insights into your app and view and export the survey results."
7-
tags: ["mini survey", "product insights", "sprint", "developer portal"]
6+
description: "Describes how to set up mini-surveys to gain app insights into your app and view and export the survey results."
7+
tags: ["mini survey", "app insights", "sprint", "developer portal"]
88
---
99

1010
{{% alert color="warning" %}}
@@ -13,19 +13,30 @@ This feature is in Beta. For more information on Beta products, see [Beta Releas
1313

1414
## 1 Introduction
1515

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.
1717

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.
1919

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.
2121

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
2334

2435
### 2.1 Survey Overview {#survey-overview}
2536

2637
When you click **Mini Surveys** in the sidebar for an app that already has existing mini-surveys, the **Survey Overview** page opens first.
2738

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.
2940

3041
The tabs of the **Survey Overview** page are described below.
3142

@@ -73,9 +84,23 @@ Clicking the mini-survey in a row on the list shows its [survey details](#survey
7384

7485
#### 2.1.3 Settings Tab {#settings}
7586

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.
77103

78-
{{% alert color="info" %}}If an app team member is not authenticated through Mendix SSO, this setting does not work for them.{{% /alert %}}
79104

80105
### 2.2 Survey Details {#survey-details}
81106

@@ -118,14 +143,6 @@ You can collect test data using two methods:
118143
* 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.
119144
* 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.
120145

121-
### 2.3 Product Insights Settings {#product-insights-settings}
122-
123-
When you click the settings icon on [Survey Overview](#survey-overview), **Product Insights Settings** opens.
124-
125-
{{< figure src="/attachments/developerportal/collaborate/product-insights/settings-icon.png" >}}
126-
127-
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-
129146
## 3 Running a Mini-Survey
130147

131148
### 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
180197

181198
To obtain an API key for the implementation, follow these steps:
182199

183-
1. On the [Survey Overview](#survey-overview) page, click the settings icon.
184-
185-
{{< figure src="/attachments/developerportal/collaborate/product-insights/settings-icon.png" >}}
186-
187-
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.
190204
* If there is no active API key that you can use, generate one as follows:
191205

192206
1. Click **Generate API Key**.
@@ -201,6 +215,7 @@ To install the [App Insights – Mini-Surveys](/appstore/modules/app-insights/)
201215
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.
202216
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.
203217

218+
204219
### 3.4 Viewing/Exporting Responses {#view-export-responses}
205220

206221
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::
212227
3. On the **Active** tab, click the mini-survey to open the [survey details](#survey-details) page.
213228
4. Go to the **Responses** tab to see all the responses that have been collected.
214229
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.
236+
Binary file not shown.
-5.42 KB
Loading

0 commit comments

Comments
 (0)