---
title: Ownership of Views
description: >-
  A guide on how to use view-based ownership in Real User Monitoring to filter
  event data for views your team owns.
breadcrumbs: Docs > RUM & Session Replay > Ownership of Views
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Ownership of Views

## Overview{% #overview %}

Ownership of views lets you see only the RUM metrics and events for the parts of your application that your team owns. After you've set up ownership of views, every RUM event and metric attached to those views is **tagged** with your team's name. You can turn this filter on or off using the My Teams toggle on the Summary, Optimization, and Session Explorer pages.

{% image
   source="https://docs.dd-static.net/images/real_user_monitoring/ownership_of_views/ownership-sessions-explorer-1.ee089d8e50157b6634794138dc78b322.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/real_user_monitoring/ownership_of_views/ownership-sessions-explorer-1.ee089d8e50157b6634794138dc78b322.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="View of Sessions Explorer, where you can filter user sessions based on the teams assigned in Team Ownership, making it easy to find replays relevant to your team." /%}

By default, the toggle is enabled, which filters metrics and event data to show only data from views your team owns. If you belong to multiple teams, you can enable or disable specific team filters. The teams that own a view are also listed in the top-right corner of all event side panels.

## Ownership rules{% #ownership-rules %}

There are two types of rules to configure ownership of views:

1. **Exact rules**, which map one-to-one with a view name
1. **Prefix rules**, which capture all views that contain the prefix in their name

{% image
   source="https://docs.dd-static.net/images/real_user_monitoring/ownership_of_views/ownership-rule-type.5b29ab527c94d251eb9d28f4db421d21.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/real_user_monitoring/ownership_of_views/ownership-rule-type.5b29ab527c94d251eb9d28f4db421d21.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="Side panel displaying the two different types of rules to define ownership of views." /%}

Every rule must have at least one **team** and one **scope** defined. Two scope types are supported:

- For the **current RUM application** across all services
- For a **specific service** across all applications

## Setup{% #setup %}

{% alert level="info" %}
To use this feature, your organization must have teams enabled and configured.
{% /alert %}

To configure team ownership for your application's views:

1. In Datadog, navigate to the [Digital Experience > Manage Applications](https://app.datadoghq.com/rum/list) page and select your application.
1. In the left navigation menu, select Ownership.
1. For each view, click Missing Ownership and create a rule for the view.
1. Click on the All Rules tab to review all created rules and their associated views.

After you associate a view with a team, Datadog automatically attributes new event data to that team.

{% alert level="danger" %}
If you change a team and view mapping, any past metrics or events are not retroactively tagged with the new team.
{% /alert %}

{% image
   source="https://docs.dd-static.net/images/real_user_monitoring/ownership_of_views/ownership-application-management-2.de9370927993283ffb039547afb2b6c2.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/real_user_monitoring/ownership_of_views/ownership-application-management-2.de9370927993283ffb039547afb2b6c2.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="View of the Team Ownership page, where you can assign different pages of your application to specific teams." /%}

## Further Reading{% #further-reading %}

Additional helpful documentation, links, and articles:

- [Learn about RUM](https://docs.datadoghq.com/monitors/create/types/real_user_monitoring.md)
- [Simplify micro-frontend observability with Datadog RUM](https://www.datadoghq.com/blog/simplify-micro-frontend-observability-with-datadog-rum/)
