---
title: Managing Profiles and Integrating Custom Attributes
description: Analyze and understand individual users and segments of your user base.
breadcrumbs: Docs > Product Analytics > Managing Profiles and Integrating Custom Attributes
---

# Managing Profiles and Integrating Custom Attributes

## Overview{% #overview %}

The [User Profiles](https://app.datadoghq.com/product-analytics/profiles) and [Account Profiles](https://app.datadoghq.com/product-analytics/profiles/accounts) pages contain enriched data on the users and accounts interacting with your product.

These profile pages integrate attributes extracted from collected events with information from third-party sources. Examples of these attributes include a user's `first_seen` timestamp or the ISO code of the user's `last_seen_country`. Together, they help create comprehensive, centralized profiles.

These enriched profiles enable more precise segmentation and deeper analysis of user behavior, helping you identify patterns over time, track key cohorts (for example, users active after six months), and guide product decisions and engagement strategies.

## Profiles{% #profiles %}

User and account profiles are generated from RUM events collected through the RUM SDK. Use `datadogRum.setUser` to [set user attributes](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/browser/advanced_configuration.md?tab=npm#identify-user-session) and `datadogRum.setAccount` to set [account attributes](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/browser/advanced_configuration.md?tab=npm#identify-account).

User profiles are grouped by the `user_id` attribute, while account profiles are grouped by `account_id`.

You can also customize these pages by adding attributes that matter most to your team. See the Custom Attributes section to learn how to tailor profile data to your needs.

### User profiles{% #user-profiles %}

The [User Profiles](https://app.datadoghq.com/product-analytics/profiles) page lists the users who are interacting with your application. You can select a user to view detailed insights into their activity, including their most visited pages, frequent actions, and session history.

{% image
   source="https://docs.dd-static.net/images/product_analytics/user_profile2ui.02f30be1b4418db05eb3948864935883.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/user_profile2ui.02f30be1b4418db05eb3948864935883.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="A view of the User profiles page." /%}

Each profile has attributes to help you better segment your users. You can conduct a full-text search or sort and filter based on any of these attributes. You can also customize this page with attributes relevant to your analytic needs. See the Custom Attributes section to learn how.

{% collapsible-section open=null #id-for-anchoring %}
##### List of user profile attributes

{% dl %}

{% dt %}
User ID `REQUIRED`
{% /dt %}

{% dd %}
`type:string`A unique user identifier.
{% /dd %}

{% dt %}
User Email
{% /dt %}

{% dd %}
`type:string`The user's email address.
{% /dd %}

{% dt %}
User Name
{% /dt %}

{% dd %}
`type:string`The user's full name.
{% /dd %}

{% /dl %}

{% dl %}

{% dt %}
First Seen
{% /dt %}

{% dd %}
`type:timestamp`The date of the user's first session.
{% /dd %}

{% dt %}
Last Seen
{% /dt %}

{% dd %}
`type:timestamp`The date of the user's most recent session.
{% /dd %}

{% /dl %}

{% dl %}

{% dt %}
First Seen Application
{% /dt %}

{% dd %}
`type:string`The ID of the first application the user accessed.
{% /dd %}

{% dt %}
Last Seen Application
{% /dt %}

{% dd %}
`type:string`The ID of the last application the user accessed.
{% /dd %}

{% /dl %}

{% dl %}

{% dt %}
First City
{% /dt %}

{% dd %}
`type:string`The city of the user's first session.
{% /dd %}

{% dt %}
Last City
{% /dt %}

{% dd %}
`type:string`The city of the user's last session.
{% /dd %}

{% dt %}
First Seen Country
{% /dt %}

{% dd %}
`type:string`The ISO code of the country for the user's first session. The country's code is saved in the backend and the country's name is displayed in the UI.
{% /dd %}

{% dt %}
Last Seen Country
{% /dt %}

{% dd %}
`type:string`The ISO code of the country for the user's last session. The country's code is saved in the backend and the country's name is displayed in the UI.
{% /dd %}

{% dt %}
First Region
{% /dt %}

{% dd %}
`type:string`The region of the user's first session.
{% /dd %}

{% dt %}
Last Region
{% /dt %}

{% dd %}
`type:string`The region of the user's last session.
{% /dd %}

{% /dl %}

{% dl %}

{% dt %}
First Device Type
{% /dt %}

{% dd %}
`type:string`The device used in the user's first session (for example: desktop, tablet).
{% /dd %}

{% dt %}
Last Device Type
{% /dt %}

{% dd %}
`type:string`The device used in the user's last session (for example: desktop, tablet).
{% /dd %}

{% /dl %}

{% dl %}

{% dt %}
First OS Name
{% /dt %}

{% dd %}
`type:string`The operating system of the user's first session (for example: Windows, iOS).
{% /dd %}

{% dt %}
Last OS Name
{% /dt %}

{% dd %}
`type:string`The operating system of the user's last session (for example: Windows, iOS).
{% /dd %}

{% dt %}
First OS Version
{% /dt %}

{% dd %}
`type:string`The OS version of the user's first session.
{% /dd %}

{% dt %}
Last OS Version
{% /dt %}

{% dd %}
`type:string`The OS version of the user's last session.
{% /dd %}

{% /dl %}

{% dl %}

{% dt %}
First Browser Name
{% /dt %}

{% dd %}
`type:string`The browser used in the user's first session (for example: Chrome, Safari).
{% /dd %}

{% dt %}
Last Browser Name
{% /dt %}

{% dd %}
`type:string`The browser used in the user's last session (for example: Chrome, Safari).
{% /dd %}

{% dt %}
First Browser Version
{% /dt %}

{% dd %}
`type:string`The browser version from the user's first session.
{% /dd %}

{% dt %}
Last Browser Version
{% /dt %}

{% dd %}
`type:string`The browser version from the user's last session.
{% /dd %}

{% /dl %}

{% /collapsible-section %}

### Account profiles{% #account-profiles %}

The Account Profiles page surfaces a list of the organizations interacting with your application.

{% image
   source="https://docs.dd-static.net/images/product_analytics/account_profile_ui3.945a225c85fd4f977d11c85b260cb9bf.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/account_profile_ui3.945a225c85fd4f977d11c85b260cb9bf.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="A view of the User profiles page." /%}

Each profile includes four default attributes to help you identify and track account activity over time. These default attributes are:

- `account_id`
- `account_name`
- `first_seen`
- `last_seen`

You can customize the Account Profiles page to include additional attributes, giving you the flexibility to tailor the view to your observability and product analysis needs.

## Use custom attributes to enrich profiles{% #use-custom-attributes-to-enrich-profiles %}

### How to configure custom attributes using integrations{% #how-to-configure-custom-attributes-using-integrations %}

Use integrations or reference tables to automatically import custom attribute data into profiles. This data is synced on a regular schedule, reflecting the latest values from the source system to ensure that profiles remain up-to-date and accurate.

On the [Integrations page](https://app.datadoghq.com/product-analytics/integrations), you can explore the integrations that are compatible with custom attributes.

On this same page, you can select the [Custom Attributes](https://app.datadoghq.com/product-analytics/integrations/custom-attributes) tab to view imported attributes for user and account profiles.

{% image
   source="https://docs.dd-static.net/images/product_analytics/integration_page5.4606234b53c76f0e5867ea30d92f1753.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/integration_page5.4606234b53c76f0e5867ea30d92f1753.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="See the integrations that are compatible with Product Analytics." /%}

To import attibutes from a reference table or from an integration such as Salesforce or Snowflake, select the **Add Attributes** button and choose whether the attributes are for user or account profiles. Then, follow the prompts to:

{% image
   source="https://docs.dd-static.net/images/product_analytics/add_attribute2_button.df8ff225be635bb519bc85762fbd7f32.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/add_attribute2_button.df8ff225be635bb519bc85762fbd7f32.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="Add new attributes using to enrich your profiles." /%}

1. Choose a **source of the data** to be imported.

{% image
   source="https://docs.dd-static.net/images/product_analytics/choose_integration1.63635961218f30479457f72434249837.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/choose_integration1.63635961218f30479457f72434249837.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="Choose a source of the data to be imported." /%}
Select the **table** containing the desired user data.
{% image
   source="https://docs.dd-static.net/images/product_analytics/add_table_and_key3.5812b101635c1d8538c5dbdf7e734ed2.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/add_table_and_key3.5812b101635c1d8538c5dbdf7e734ed2.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="select the data to be merged with your profiles." /%}
Select the **join key** and the **Product Analytics key** to merge the table with your profiles. Then, select which **attributes** from the list to add to your profiles.
{% image
   source="https://docs.dd-static.net/images/product_analytics/select_integration_attributes5.fdadfd4909a22e829d17d98d955ec8a5.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/select_integration_attributes5.fdadfd4909a22e829d17d98d955ec8a5.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="The Configure import modal for Snowflake, showing the join key configuration and a list of selectable attributes with column names, types, and sample values." /%}

## How to query your custom attributes{% #how-to-query-your-custom-attributes %}

You can filter these custom attributes throughout the product analytics platform without needing to first add them to a [segment](https://app.datadoghq.com/product-analytics/segments). For example, you can create an analytics chart to view the volume of sessions for users that spent more than $100.

{% image
   source="https://docs.dd-static.net/images/product_analytics/query_custom_attribute_analytics3.8f511c6d0997f6314da05ab5612b6ef6.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/query_custom_attribute_analytics3.8f511c6d0997f6314da05ab5612b6ef6.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="Query your custom attributes in an analytics chart." /%}

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

- [Product Analytics](https://docs.datadoghq.com/product_analytics.md)
