Microsoft Azure Monitor

The Microsoft Azure Monitor integration allows you to link DXA session replays with Azure Monitor.

Use cases

  • Access session replays directly in Azure Monitor to better understand user behaviors in sessions
  • Access DXA data metrics for a session, such as DXS, from Azure Monitor

Prerequisites

Enabling the Azure Monitor integration

  1. In a tag manager, add a data layer variable or a global JavaScript variable using the DXA session ID integration function.

    Note: For more information, see Session ID.
  2. In Azure Monitor, add the JavaScript SDK.
    Note: For more information, see

    Adding the JavaScript SDK

    in the Microsoft Azure Monitor Documentation.
  3. In Azure Monitor, configure a telemetry initializer to send the DXA Session ID back to Azure Monitor.
    Note: For more information, see Telemetry initializers in the Microsoft Azure Documentation.

When the DXA session ID is captured and displayed in Azure Monitor, the DXA browser extension will link it to the session replay.