One of the best ways to engage users with the Tulip platform is to provide them with the analytical feedback of what's being measured.
In these instances, it is useful to be able to embed analyses into your app, allowing the user to see the analytics without turning their head to a dashboard.
In order to embed an Analysis within a step of your app, follow these steps:
1- Select Embed from the Toolbar and Analysis from the resulting dropdown list. This will create an empty embedded analysis Widget.
2- Select the Analysis Widget to choose the analysis to embed. You can either choose to create a new analysis or select an analysis that has already been created.
In the Context Pane of the Analysis Widget, you can change the size and background color of the analysis just like any other widget. Additionally, you can customize the title of the analysis and toggle the display of the Last Updated time for each chart.
Filtering the Embedded Analysis
Once an Analysis is selected, there will be an option to add dynamic filters to it. In the Context Pane, select the pencil next to the Filters option.
Filters can be set dynamically based on current App information or variables. In many cases, operators may only need to see their own performance. In this case, the Analysis can be set to filter to only the logged in user.
Now the Analysis will only show information for the Logged-in User.
Note: Analytics are set to refresh every 60 seconds by default. When embedding in an App you may choose to reduce this duration so you can see changes as they happen. To reduce the duration, edit the analysis and change the Refresh Seconds under the Sharing menu. This can be changed to a minimum of 5 seconds.