Appearance
Appearance is what your users see when an intercept shows: its content, colors, and translations. You edit it on the intercept page in your App Insights Project, and your app needs no extra code.
Only two intercept types have an appearance to edit: Native App Feedback and Popover. Connect in your app opens the connected survey directly, and App Store Review shows the store's own prompt.
Native App Feedback
Open the intercept, then click Open Appearance Editor in the Appearance card. The editor has three tabs:
- Content: the questions in the form, on one or more pages. You can also add a thank-you message.
- Rating: a 5-point scale of stars or emoji (mono or color), or thumbs up and down
- Net Promoter Score: a 0–10 scale with a label at each end
- Text choice: answer buttons, of which the user picks one. A choice can open a text field for their own answer
- Open text: a free-form answer of up to 250 characters
- Descriptive text: text with no answer, such as an introduction
- Look & Feel: the form's colors. See Look & Feel below.
- Translations: the form's text in other languages. See Translations.
Changing a question's format after you publish the intercept restarts data collection for that question.
Look & Feel
Set the form's colors for both the Light and Dark appearance, and use the preview to check each page and question type. Publish the intercept to make the colors available to the SDK. Your app needs no theming code.
| Color | Used for |
|---|---|
| Background | The main background behind your content |
| Primary text | Main headings and body text |
| Secondary text | Less prominent text, such as captions, hints, counters, and icons |
| Brand color | Buttons and interactive elements |
| Text on brand color | Text or icons on top of a brand-colored button |
| Soft brand color | A light tint of your brand color, for subtle highlights |
| Text on soft brand color | Text or icons on top of the soft brand color |
| Border | Lines that separate or outline elements |
| Input field background | The background inside text boxes and form fields |
Check that text, controls, and selected states have enough contrast in both appearances. Look & Feel supports colors only; fonts, spacing, and layout can't be changed.
Unlike Mobile App SDK v2, the Experience SDK has no theming API in code. If you're migrating, see Migrate Theming in the migration guide.
Popover prompt
A Popover shows a native alert: UIAlertController on iOS and AlertDialog on Android. It follows the platform's system style.
Every Popover has this prompt from the start, so you don't need to add it. To customize it, edit it in the intercept's Prompt card. You can change:
- Texts: the title, message, and both button labels. Each starts with the default shown above.
- Confirm button color: the only color you can set.
- Translations: the prompt in other languages. See Translations.
Click Save prompt when you're done.
The confirm button opens the connected survey. The dismiss button closes the prompt and ends the intercept.