---
title: Action Management
description: >-
  Label autocaptured actions from your web and mobile applications using Action
  Management.
breadcrumbs: Docs > Product Analytics > Action Management
---

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

# Action Management

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

Action Management is a no-code method for labeling autocaptured actions from your web and mobile applications. Product and business stakeholders can use it to create and rename events without code changes.

Use labeled actions to:

- Track an element that is not yet instrumented by targeting a CSS selector.
- Combine several autocaptured actions under a single name when they represent one meaningful user action.
- Rename an autocaptured action to match your team's business terminology.

After you create a labeled action, Datadog applies the name retroactively to all matching interactions in your recorded data. This includes historical interactions, not only new ones going forward.

Labeled actions work across all Product Analytics charts and help improve trust in your dataset and efficiency in your analysis.

Two labeling methods are available:

- **Visual labeling**: A point-and-click interface for labeling actions on web pages. Requires the Datadog test recorder Chrome extension.
- **Manual labeling**: Label actions for web and mobile applications without a browser extension.

## Visual labeling{% #visual-labeling %}

Visual labeling requires [the Datadog test recorder Chrome extension](https://chromewebstore.google.com/detail/datadog-test-recorder/kkbncfpddhdmkfmalecgnphegacgejoa). If you are unable to add the extension through the Chrome web store, see the [manual instructions](https://docs.datadoghq.com/synthetics/guide/manually-adding-chrome-extension.md) for extension installation, or use manual labeling instead.

1. Go to the [Actions](https://app.datadoghq.com/product-analytics/data-management) page in Datadog and select your application.

1. Select Visual Labeler. Elements that already have a labeled action are marked with a blue dot. To display the names of these labeled actions automatically, select the checkbox in the menu.

   {% image
      source="https://docs.dd-static.net/images/product_analytics/action_management/pana-visual-labeler-toolbar.4616e512df1e37dd089aa9750e45397a.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/action_management/pana-visual-labeler-toolbar.4616e512df1e37dd089aa9750e45397a.png?auto=format&fit=max&w=850&dpr=2 2x"
      alt="Visual Labeler toolbar showing the Navigate Site and Label Actions modes, and a checkbox for displaying the names of the five labeled actions on the page." /%}

1. Use Navigate Site mode to browse to the location of the action or actions you want to label.

1. Switch to Label Actions mode when you are ready to label an action.

### Create a labeled action{% #create-a-labeled-action %}

1. Click the element you want to label. Datadog shows how many times users triggered the element over the past 7 days.
1. Optional: Click additional elements to have the label capture all of them together. To remove an element from the labeled action, select the trash icon next to it.
1. Datadog suggests a name for the labeled action based on the element. Edit the name as needed.
1. By default, Datadog tracks clicks on the element only on the current page. To track matches of the element's CSS selector across all pages, open the label's details and select the Target all pages checkbox.
1. Optional: Edit the CSS selector directly if you want to change or refine which elements the label matches.
1. Click Save labeled action.

{% image
   source="https://docs.dd-static.net/images/product_analytics/action_management/pana-create-labeled-action-2.dae5cf517a8777786d43b8bf7598d4b3.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/action_management/pana-create-labeled-action-2.dae5cf517a8777786d43b8bf7598d4b3.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="Labeled action panel with a name of New Chart CTA Click from Home, a tracked element named main navigation, the Target all pages checkbox, the CSS selector for the element, and the Save labeled action button." /%}

### Update an existing labeled action{% #update-an-existing-labeled-action %}

1. Click an element that already has a labeled action associated with it (marked with a blue dot).
1. Select Edit.
1. Add or remove tracked elements, and update the name or CSS selector as needed.
1. Click Save labeled action.

After you define an action, it appears in the list of labeled actions on the [Actions](https://app.datadoghq.com/product-analytics/data-management) page, and you can use it in any Product Analytics chart.

## Manual labeling{% #manual-labeling %}

Manual labeling is available for both web and mobile applications and does not require the Chrome extension.

1. Go to the [Actions](https://app.datadoghq.com/product-analytics/data-management) page in Datadog and select your application.
1. Select Add Labeled Action, then select Create manually.
1. Add a label name, description (optional), and tags (optional).
1. Under Definition, define one or more events to track:
   - Action Type: `click` or `custom` events. For `click` events, you can specify a custom CSS selector for tracking clicks, or use the CSS builder to label events, for more control and granularity.
   - Action Name: Use the drop-down to select an action
   - Page Location: Use the drop-down to target one or more pages Select Add New Definition to add a definition.
1. Select **Save**.

After you define an action, it appears in the list of labeled actions on the [Actions](https://app.datadoghq.com/product-analytics/data-management) page, and you can use it in any Product Analytics chart.

## Retrieve your actions{% #retrieve-your-actions %}

After you define an action, you can find it on the [Actions](https://app.datadoghq.com/product-analytics/data-management) page.

{% image
   source="https://docs.dd-static.net/images/product_analytics/action_management/pana-action-list-2.d925dc21d5ed78a706969a91d6eee046.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/action_management/pana-action-list-2.d925dc21d5ed78a706969a91d6eee046.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="List of your labeled actions." /%}

## Known limitations{% #known-limitations %}

- Visual labeling is only available for web pages. Use manual labeling for mobile applications.
- You cannot label actions that are hidden behind a hover. If this limitation impacts your use cases, share examples with your Customer Success Manager to inform future improvements.
- Deleting a labeled action also deletes it from the dashboards where it is being used.

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

- [From performance to impact: Bridging frontend teams through shared context](https://www.datadoghq.com/blog/rum-product-analytics-bridging-teams)
- [Make faster, better product decisions with Datadog Product Analytics](https://www.datadoghq.com/blog/product-analytics-faster-decisions)
- [What your product data is actually saying](https://www.datadoghq.com/blog/product-data-best-practices)
