For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/product_analytics.md.
A documentation index is available at /llms.txt.
Product Analytics collects client-side user activity data through the Datadog SDK. You can also send server-side events through the API to supplement your client-side data.
Collect events, such as pageviews or button clicks, from your users’ devices, and send them to Datadog.
Add the Datadog SDK to your application to start collecting user activity data. If you have already configured RUM, you do not need to instrument your application again for Product Analytics.
If you do not have an application set up in Datadog yet, follow the instructions for your platform:
To set up your application with a coding assistant, see Agentic onboarding.
Track server-side events (API)
After you set up client-side collection, you can use the Product Analytics API to send custom events from your server, such as completed checkouts or processed payments. For more information, see Track Server-Side Events.
Datadog bills server-side events separately. See the pricing page for details, and contact your Customer Success Manager with additional questions.
Enable Product Analytics
For each application you want to monitor user behavior for, enable Product Analytics:
In Datadog, go to Digital Experience > Real User Monitoring > Manage Applications. In the list of applications under Active, select the application you want to monitor.
Under PRODUCT SETTINGS, click Product Analytics.
Click the Enable button.
Understand your data
The Datadog SDK automatically collects three levels of client-side user data: Sessions, Views, and Actions. For a full breakdown of RUM event types, see Understanding the RUM Event Hierarchy. After you set up the SDK, you can also send server-side events through the Product Analytics API.
Sessions
A session is a single user’s complete journey through your application, from the moment they open it to when they leave.
Views
A view represents each page or screen a user visits within a session.
Actions
An action is something a user does on a page, such as a click, tap, or scroll. Actions are automatically collected by the RUM SDK. When configuring features like Funnels and Segments, you can select specific Actions as steps or filters. To see which Actions are available, open the RUM Explorer and filter by Actions.
Server-side events
A server-side event is a custom event sent through the Product Analytics API, such as a completed checkout or processed payment. In the event picker, select Server Events to scope your analysis to server-side data.
Navigate the Product Analytics UI
Each Product Analytics feature provides context about your users’ journeys.
Understand product adoption
The Home page gives you a bird’s-eye view of your users’ activity and your product’s adoption. This is where you most often land when accessing Product Analytics.
By default, this page displays the active users, page views, and average time spent by user charts, but you can add additional charts or a dashboard. The Home page also includes the following out-of-the-box sub-sections that provide additional context about your product’s users and usage:
Track conversion rates across key workflows to identify and address any bottlenecks in end-to-end user journeys. For example, you can see if customers drop off at a certain point due to poor website performance, or measure how adding new steps to a workflow impacts drop-off rate.
Aggregates usage data to show how users engage with your product.
Track key user behavior patterns
Use Users & Segments to group your users based on shared characteristics. For example, if you notice users are adding items to their cart but not checking out, create a segment for those users and send them a nudge email to complete their purchase.
Visualize user interactions
Use the following features to inform your product change decisions, such as changes to your application UI, by seeing how users navigate your pages, whether there is a path they take more than others, or where actions and flows could be smoother.
Capture and replay your users’ web browsing or mobile app experience.
This is beneficial for error identification, reproduction, and resolution, and provides insights into your application’s usage patterns and design pitfalls.
Visualize your users’ interactions overlaid on Session Replay data. Product Analytics has three types of heatmaps: Click maps, Top elements, and Scroll maps.
Use heatmaps to review complex data at a glance, gaining insights into optimizing your user experience.