diff --git a/docs/platforms/javascript/common/session-replay/configuration.mdx b/docs/platforms/javascript/common/session-replay/configuration.mdx index ca3fdb9a16e79..f489f48bef53c 100644 --- a/docs/platforms/javascript/common/session-replay/configuration.mdx +++ b/docs/platforms/javascript/common/session-replay/configuration.mdx @@ -163,7 +163,7 @@ replayIntegration({ Our SDKs allow you to send custom breadcrumbs, which will appear in the Replay Details UI alongside existing breadcrumbs. To learn how to send custom breadcrumbs, [read the docs here](/platforms/javascript/enriching-events/breadcrumbs/#customize-breadcrumbs). Note that any custom breadcrumbs you send will be reflected in both the Issue Details breadcrumbs UI and the Replay Details breadcrumbs tab. -All custom breadcrumbs in the Replay Details will appear grey, and can be identified by the title "Custom" and the terminal logo. +All custom breadcrumbs in the Replay Details will appear grey, and can be identified by the terminal logo. In Replay Details, the breadcrumb `message` will take precedence over the `data` property. If the `message` property is set, then the string will be displayed like this: @@ -171,4 +171,6 @@ In Replay Details, the breadcrumb `message` will take precedence over the `data` If `message` is not set, then the breadcrumb will display the `data` property by default. For example: -![Custom breadcrumb example with data](./img/data-custom-breadcrumb.png) \ No newline at end of file +![Custom breadcrumb example with data](./img/data-custom-breadcrumb.png) + +The title of the breadcrumb will be the breadcrumb `category` that you set. If no `category` is set, then we will use the breadcrumb `message`. If that doesn't exist, we'll use the `description`. The last fallback with be a default title of "Custom". \ No newline at end of file