Flows

 

DPI flows represent critical steps in real-user journeys that enable continuous monitoring and step-wise activity progress in real-time, measuring critical user journey durations, success rates, and completions. For continuous diagnostics within Flow activities, DPI generates AI-based alerts on progress and completion anomalies to diagnose and optimize user digital experiences.

Use Flow success rates, anomaly detection, error rates, and duration tracking to quickly point toward root cause fixes and digital experience improvements. With OpenTelemetry-compatible tracing, Flows can connect front-end app experiences directly with backend server performance.

Note: Flow metrics and analysis transform the way teams can effectively measure and monitor how application performance, network services, and critical user journeys impact business outcomes. Conviva stateful metrics consider the time app sessions spend in a given state or sequences of states and the related events and apply this analysis in real-time to Flow progress. To learn more, see Conviva's time-state analysis and Conviva Digital Experience Monitoring.

User-defined Flows can be configured to capture the critical user outcomes of a specific task within a digital application, such as login, search, and checkout. The Flows feature provides a preset dashboard to quantify business KPIs using predefined metrics, such as success rate, duration, inits, and errors, including conversions with errors.

Furthermore, Flows enable different teams, typically restricted to siloed data, to share the same performance data context, connecting business KPIs, user app experiences, and service performance for comprehensive cross-functional analysis of app performance, network service health based on real-user experiences.

Flow metadata enables efficient troubleshooting and root cause analysis by capturing flow-specific dimensions, such as:

  • Business-specific dimensions: For example, credit card type in a payment flow. These are not part of global metadata but are highly relevant to the specific flow.

  • Error dimensions: Error reason, error message, and error ID.

  • Network request dimensions: Endpoint, host, path, and response code.

After creating flows, use the Flow widgets to prioritize the most critical flow success and completion rates, correlating Flow metrics with other performance indicators. The Flow Preset page provides a preset dedicated to a specific Flow. It includes all relevant metrics and dimensions associated with that Flow, providing full context to get started with in-depth analysis.

Before performing the tasks related with flows, such as creating and activating a flow, make sure that your account has the permission to create flows and Conviva Sensor is integrated with your application.

Creating and Activating Flows

Note: Activation refers both to the component in the interface and the process of building and deploying events, metrics, and dimensions to the Pulse production environment.

  1. Start with the location:

    • Activation Home Page

    • Metric Builder

    • Flow Widget in Trends

  2. Enter the flow name and description.

    1. Flow name. For example, to track the journey starting from clicking the play button and ending with successful video playback, enter 'Initiate video playback'.

    2. (Optional) Flow description. For example, enter ‘User clicked the play button and successfully started playing a video.’ This flow represents the explicit user action to begin video consumption from a control element.

  3. Select events that signal the start and end of a user flow.

    1. If you are unsure about the exact events to select, use the tools to identify them:

      • EventLooker: Allows browsing and searching events and tag keys. After rules are selected as filters, click Apply as to apply the event to Initial Event, Complete Event, or Error Event.

      • LiveLens: Provides a real-time view of events and tags as they appear in the timeline UI during interactions with the app. To learn how to use LiveLens, see LiveLens.

    2. Select events for flow creation. If the events in the drop-down list do not meet your needs, click the Edit icon to make changes.

      Note: To measure any network request from a specific page, such as a page whose path contains ‘profile’, use metadata as context to limit the network requests to those originating from that page. Metadata such as Country, Page Path, and Device Name serve as context to ensure that the configured event rule matches the selected metadata, enabling accurate measurement of specific traffic.

      1. Initial Event: signals the start of the user flow in your app.

        It is usually a user interaction in the app (such as a search button click or a page view indicating that users are exposed to the search page).

      2. Complete Event: signals the positive outcome of a user flow in the app.

        For example, a Page View of Payment Acknowledgement Page or Network Requests with a response code indicating payment success

    3. (Optional) Validate whether events have sufficient coverage across integrated platforms. If coverage is not as expected, update the events accordingly.

      For example, this screenshot shows that the events apply only to the mobile platform. To track the web platform, include the event and mapping rules from the web platform, or integrate the DPI sensor into your web platform if that is not done yet.

  4. (Optional) Set experience and performance settings.

    • Error Event: includes errors that matter in the defined flow.

      Select error events from the drop-down list, or add them using the Event Looker Tool.

      Conviva presets default errors, such as "5xx server error" and "app crash", allowing you to break down total errors by each error event in the Flow Preset dashboard.

      To make error analysis more actionable, include custom error events that capture login-specific errors such as login errors during the login flow.

    • Network Request: associates the network request with a flow.

      Click +Add Network Request, define the list of Host and Path that representing service and APIs running underneath the flow. The system only consider the network requests that match these rules in the metrics including Network Request Avg Duration, Network Request Failure, and Network Request Count.

      Note: Based on above association, below metrics and dimensions are available in Flow preset dashboard.
      Dimensions: Network Request Endpoint, HTTP Method, Response Code, URL Host, and URL Path
      Metrics: Network Request Avg Duration, Network Request Failure, and Network Request Count

  5. Configure Flow Widget, such as time constraint and distribution range.

    1. Set the success time boundary which determines flow success.

      For example, setting the login flow success to completion within 90 seconds, labels any flows that exceed 90 seconds unsuccessful.

    2. Set the percentage thresholds to determine whether the success rate is considered Good or Poor.

      Note: Success rate is calculated by dividing the total number of successes (initial events followed by a complete event within the defined time boundary) by the total number of initial events.

    3. Define the expected value range for durations to display on the distribution chart. Toggle to distribution chart from the metric card Avg Duration in the Flow preset dashboard.

      By default, DPI sets the maximum value to double the success time boundary, with the option to manually adjust the range. For example, setting the range to 0–120 seconds displays 40 bars representing the distribution of durations for each completion.

      For example, to visualize acceptable user interaction times, set the duration range from 20 seconds to 200 seconds.

  6. Click Save and DPI creates the corresponding metrics automatically.

    • [Flow Init]: The number of first initial events within the Flow completion window, maximum 1 hour.

    • [Flow Complete]: The number of first initial events followed by a complete event within the Flow completion window, maximum 1 hour.

    • [Flow Avg Duration]: The average time from the first initial even to the complete event within the Flow completion window, maximum 1 hour.

    • [Flow Success]: The number of complete event pairs (first initial event followed by a complete event within the configured flow success window)

    • [Flow Error]: The number of errors encountered after the first initial event within the Flow completion window, maximum 1 hour.

    • [Flow Network Request Avg Duration]: The average network request response time after the first initial event within the Flow completion window, maximum 1 hour.

    • [Flow Network Request Failure]: The number of network request failures on or after the first initial event within the Flow completion window, maximum 1 hour.

    • [Flow Network Request Count]: The number of network requests on or after the first initial event within the Flow completion window, maximum 1 hour.

    Note: When updating flows, use the Keep historical data checkbox to control whether existing data is retained. Select the checkbox to keep the data, or clear it to remove it. The checkbox is selected by default.

  7. Click Deploy to use the metrics for analysis on the Trends dashboard.

    For example, after deploying the metrics based on the 'search for playing videos' flow, go to the Trends dashboard to review the metrics and identify key insights for optimizing application performance and improving the user experience. An increase in the duration between the initial and complete events indicates slower performance while a decrease in success % indicates issues or blockers to user journey completion within the time constraint.

Creating and Activating Flow Dimensions

Custom dimensions are extracted from event keys to provide enhanced levels of dimensional analysis in Trends dimension tables and AI alerts. With custom dimensions, analyze application performance and user behaviors more efficiently and flexibly.

Create custom dimensions with values extracted from events to enhance your analysis of application performance and user behaviors, such as a dimension value extracted from only the play start and play end events.

When the event that a dimension is derived from is also part of flow events, it automatically becomes a flow dimension after deployment. Updates to either the dimension or flow events will determine if the association remains valid.

Review the association in either Flow Management or Dimension Management from the Management page.

  1. Click New Custom Dimension.

  2. Select a tag key from the drop-down list or enter it directly.

    Note: If the tag key you enter is not in the drop-down list, after entering it, you must select the event type which is event-specific.

  3. For event specific tag keys, select the events from which the dimension values are extracted. By default, select all mapped events. If you want to use specific mapped events, perform these steps:

    Note: Global tag keys exist in all events, so mapped event selection is not required.

    1. Select the mapped event containing the tag key selected in the previous step from the field.

    2. (Optional) To add more mapped events for the custom dimension values, click Add and select a mapped event. For example, selecting both play start and play end events to extract dimension values for a play duration dimension.

      Note: If the event you want to add does not appear in the mapped event list, use the Map New Event tab to map the event so it appears in the list.

  4. In the Set Custom Dimension field, set the dimension name. Click Deploy to deploy the created dimension.

  5. In the Trends dashboard, click + Dimension from the Dimension table, and check whether the created dimension is in the Custom list. Select the check box to apply the new dimension to the dimension tables.

  6. (Optional) To edit a custom dimension, choose either:

    • Go to the Management tab, edit the custom dimension from the Custom Dimension table. For more information, check Management.

    • Go to the Semantic Mapper tab, select the desired custom dimension from the dimension drop-down list, click edit, and make necessary updates.

Managing Flows and Flow Dimensions

The Management tab allows you to effectively manage data such as metrics and events, including tasks for searching, reviewing, deleting, and deploying/undeploying to support your performance monitoring goals. The tab also allows you to do multiple selections of metrics, custom dimensions, and mapped events for deployment, undeployment, and deletion.

Open the Management tab, locate the flows or ccustom dimensions you want to manage, perform the management actions, such as clone, deploy to Pulse, undeploy, and delete.

For more details regarding the Management tab, see Management.

Using Flow Widget

The Flow widget enables you to select the most critical flow and displays its success rate in a gauge, along with key flow metrics and a link for detailed analysis. The widget helps you monitor the performance of the selected flow and drill down to a Flow Specific Dashboard for deeper insights.

The gauge provides a quick view of the flow’s performance based on the success rate defined in Activation. For example, if the gauge shows 71.2%, it indicates that 71.2% of flows meet the success time boundary defined in Activation among all initiated flows.

With the Flow widget and other widgets under the Summary tab, you can efficiently track all business KPIs in a single view, optimize application performance, and enhance the user experience.

To quickly check the event composition, click the information icon in the Flow Widget. For further flow details, click the flow name link to display the Activation flow detail page.

Use Metric Builder to create up to three Flow widgets. For how to create a flow, check Creating and Activating Flows.

Image: Flow Widget

Drill Down to Flow Specific Dashboard

To perform detailed analysis of the flow, click the Drill Down icon to access the details view of the selected flow. The details view, by default, loads all metrics belonging to the flow. Switch to focus view to expand each metric card, similar to how the Trends dashboard works.

Dimension analysis defaults to loading global dimensions, such as platform and app name. Add other dimensions from the Dimension panel to perform drill-down analysis and identify improvement opportunities.

Flow metrics can break down by all global dimensions, such as GEO, ISP, and Device, and global tags configured in Activation. Flow metrics are also linked to event tag dimensions when the tag is reported by flow events.

Errors that happen during flows include 5xx errors and app crashes by default. Conviva allows you to add other errors from Activation. The default error msg dimension captures errors from app crash.

Flow errors can break down into configured flow error events and custom error dimension. On the Flow Specific Dashboard, toggle to % to view the percentage of total errors divided by the total number of initial events, showing the percentage of flows with this issue. Toggle to %T to see the error distribution percentage across different error types.

 

DPI Custom Metrics DPI Custom Metrics DPI Metric Template DPI Metric Template metric builder metric builder Preview Preview flow flow flow metrics flow metrics