Demo App Help
Help with configuring your survey to test in the Pulse Insights demo app.
Last updated
Help with configuring your survey to test in the Pulse Insights demo app.
Last updated
Checking if Survey has been Answered
Download the Pulse Insights Demo app for:
Android
iOS
On the Setup screen, type in you Pulse Account ID and click the "Save Settings" button.
Account ID can be found in the Pulse Insights Console, or in your tag integration guide. The Account ID starts with "PI-" and is followed by 8 numbers. (E.g. PI-99999999)
Once you are setup with your Account ID, you will be taken to the Home screen. From here you can:
Trigger a Survey
Check if a specific survey has been answered on your current device
Reset Device UDID to enable an to trigger an answered survey again
On the Home page, Click "Trigger a Survey"
You will be asked If your survey is an Inline widget. For Inline widget surveys, click "Yes"
(Optional) Set a client key if your survey has "Display only if client_key is displayed" targeting enabled - see Targeting for more details:
Scroll down to the "Set a Client Key (Optional)" section of the page
Enter a value in the input box
Hit "Save"
To clear the client key, hit "Clear"
Click the Trigger button that matches the View Name that the survey is targeted to (this is set in the Pulse Insights Console).
Make sure to match the View Name targeting and Inline SDK target formatting in the Pulse Insights Console to the Trigger you select.
Please refer to the chart below for View Name & Inline Selector information and check out the Console Setup Help section below:
Device | View Name | Inline Selector Name |
---|---|---|
Android | inlineTestActivity | InlineTestActivity |
iOS | inlineXibView | InlineXib |
iOS | inlineTest | Inline Scroll |
You will be taken to the demo screen and your survey will display inline with the content of the screen.
If you answer the survey, return home and follow the process of resetting your device UDID to enable the survey to show again on your device.
On the Home page, Click "Trigger a Survey"
You will be asked If your survey is an Inline widget. For non-inline widget types, click "No"
(Optional) Set a client key if your survey has "Display only if client_key is displayed" targeting enabled - see Targeting for more details:
Scroll down to the "Set a Client Key (Optional)" section of the page
Enter a value in the input box
Hit "Save"
To clear the client key, hit "Clear"
Click one of the Trigger buttons that matches the View Name that the survey is targeted to (this is set in the Pulse Insights Console). If, the survey's View Name targeting is set to:
mainActivity
, then click the first "Trigger Survey" button and the survey will display on the current screen.
subActivityA
, then click the second "Trigger Survey" button. You will be taken to the corresponding demo screen and your survey will display.
subActivityB
, then click the third "Trigger Survey" button. You will be taken to the corresponding demo screen and your survey will display.
Please refer to the chart below for View Names and check out the Targeting Setup section below.
If you answer the survey, return home and follow the process of resetting your device UDID to enable the survey to show again on your device.
You can check to see if a particular survey was answered on the current device. To check:
From the Home Screen, click "Check if Answered/Reset Device UDID"
Enter the survey's ID in the input box
Click "Check if Answered"
A message will display:
If the survey has not been answered, you can proceed to follow the steps to trigger the survey.
If the survey has already been answered, then it may be ineligible to show on the device again. Follow the steps to Reset Device UDID below.
If the survey has already been answered, click the "Reset Device UDID" button to make the survey eligible to show again on this device.
From the Home Screen, click "Check if Answered/Reset Device UDID"
Click the "Reset Device UDID" button
Navigate to the survey editor, then click the "Targeting" panel in the right sidebar.
In the Targeting panel in the right sidebar, select the iOS and/or Android icons in the "Devices & Channels" section.
In the "URLs & Events" targeting section, there are two rules you can choose for display if/suppress if rules:
View Name Contains
Regex View Name Matches
Please refer to this chart for Demo app View Name targeting:
Device | Widget Type | View Name Contains |
---|---|---|
Android | Inline | InlineTestActivity |
iOS | Inline | inlineXibView |
iOS | Inline | inlineXibView |
Both Android & iOS | Non-Inline | mainActivity |
Both Android & iOS | Non-Inline | subActivityB |
Both Android & iOS | Non-Inline | subActivityA |
If you'd like to only target devices where the the client_key is set, then check the box next to "Display only if client_key is defined" in the "CRM Targeting" targeting section.
See the instructions above on how to set the client key in the Demo App to test this targeting feature.
Navigate to the survey editor, then click the "Formatting" panel in the right sidebar.
Native mobile supports fewer widget types and uses native mobile components (such as input fields). Currently, we support the following widget types for Native mobile:
Full screen overlay
Bottom Bar
Inline (see additional setup required for Inline widget-type below)
Choose one of the supported widget types from the the Formatting panel in the right sidebar and set the SDK Widget Height:
If you choose the Inline widget-type, make sure to set the SDK target to the appropriate name for the desired device and view, choose the location within the target (above/inside/below), and, if inside, choose the order with the target (first/last).
Device | View Name | Inline SDK Target Name |
---|---|---|
Android | InlineTestActivity | InlineTestActivity |
iOS | inlineXibView | InlineXib |
iOS | inlineTest | Inline Scroll |
In the Formatting panel in the right sidebar, scroll down to the "Theme" section.
You must select a native JSON theme for the SDK theme. Select a compatible theme from the "SDK Theme" dropdown.
To create a mobile app compatible theme in the Pulse Insights Console:
Click the Settings dropdown menu from the top navigation bar
Select "Themes"
Click the "New Theme" button
Give a name to your theme
In the "Type" dropdown menu, select "Native"
Input your Native JSON theme into the code box
"Update"
For more help with themes, visit our help section here.