What is the analyze content component?
This component enables the user to select countries and topics to make a side-by-side comparison
Why use the analyze content component?
The analyze content screen template enables you to create an interactive side-by-side comparison for your app. The data should be stored in a data source to enable displaying a comparison by selecting a topic.
Ever wondered what the difference in population or GDP was between the USA the UK and Brazil? You can now easily add this feature to your app and see this information side by side.
Get Started
Prerequisite: To use the analyze content component you should have your comparison data added to a data source already. Alternatively, use our screen template data, which contains information about different countries.
To set up the analyze content component you will need to:
- Add the analyze content component
- Add data
- Configure comparison topics
- Select subcategories
- Configure results
- Test content comparison
Step 1 – Add the analyze content component
- Add the analyze content screen template using the “Add screens” button
Step 2 – Add data
- Select the analyze content component on the screen
- Using the settings menu on the right, under “select a data source” click change data source to add your own data
- Alternatively use the sample country-based data
- If you decide to create your own set of data for comparison, take a look at the existing data source and follow a similar structure to create your own
Step 3 – Configure comparison topics
- Using the settings menu, under “select main topic” choose the main topic where you will start your comparison. This list will include all fields from your data source for you to choose from
- If you would like to choose an image to display, select the relevant field from the “select title image” dropdown
- Using the rich text box add an optional title and description for your comparison
- Write your question title
- Enable Grouping – tick enable if you have multiple categories in your data. For example, countries have regions and data will be shown by region in an accordion style.
If enabled, the grouping title will be displayed in the results screen under your main topic title
Step 4- Select subcategories
- This section enables you to choose subcategories of your main topic for comparison
- To add a new category, click on add subcategory
- This will create a new field, click on it to open the dropdown where you can select your subcategory from the selected data source and the subcategory type
- The subcategory type field can be displayed in multiple ways
- Show as list image – Select this option to display images in the comparison results list
- Show as title image – Select this option to display the image next to the title in your results
- Show as a single line of text – Select this option to display the results in one line
- Show as multiple lines of text in an accordion – Select this option if you have more than one sentence to display
- Re-order your subcategories by clicking and dragging on the dots icon on the left side of your answer title
- Delete by hovering over the subcategory title and clicking on the trash can icon
Step 5 – Configure Results
- This section enables you to configure how your content analysis results will be displayed to the user
- Using the rich text box, create a message for users that displays the results.
- Share results with other users – tick enable to give users the option of sharing their results with other users via email, LinkedIn, Twitter, Facebook or by copying the URL
- Send an email to request assistance – tick enable to allow users to request assistance.
- Add an email address to send the assistance request to
- Using the rich text box, configure an email template
- The following variables can be used:
- {% pageUrl %} – This will display the web app URL for the quiz screen
- {% appUrl %} – This will display the web app URL
- {% appName %} – This will display the name of the app
- {% URL %} – This will display the results URL
- Save results – Tick yes to save the result to a specified data source
- Select the data source from the drop-down list
- Create an email to send the results via the device/browser – tick enable if you wish to give users the option to send their assessment results via email
This feature will open the user’s email app where the email text can be edited before sending it - Use the rich text box to configure the email template
The following variables will add results data to the email- {% pageUrl %} – This will display the web app URL for the quiz screen
- {% appUrl %} – This will display the web app URL
- {% appName %} – This will display the name of the app
- {% URL %} – This will display the results URL
- Link users to an expert directory – tick enable to add a link to an expert directory screen in your app
- Select a screen to direct users to
- Select an animation for how the screen will appear
- Once you have configured your settings, click save & close
Step 6 – Test content comparison
Once you are happy with your analyze content screen we recommend testing if the comparison works as expected
- To test your content comparison, go to preview mode
- Select all of the options you would like to compare, and then click next
- Select the subcategories
- Ensure your content comparison is correct
Related Articles