AppDynamics integration allows you to link Decibel session replays with AppDynamics Browser Real User Monitoring (RUM).
Use cases
- Access session replays directly in AppDynamics Browser RUM to better understand user behaviors in sessions
- Explore Decibel data metrics, such as DXS, from AppDynamics
Prerequisites
The Decibel browser extension must be installed on Google Chrome or Mozilla Firefox.
Enabling AppDynamics integration
- In AppDynamics, go to User Experience and click the browser app you want to integrate with Decibel.
- Go to Configuration > Configure JavaScript Agent.
- Click the Switch to advanced settings toggle.
- In Configure custom settings (optional), enter the following code:
(function (config) {
(function (info) {
if (sessionStorage && sessionStorage.getItem('_da_da_sessionId')) {
var d_sid = 'di-xxxxx-' +
sessionStorage.getItem('_da_da_sessionId');
info.PageView = function () {
return {
userData: {
decibelSessionID: d_sid
}
}
}
}
})(config.userEventInfo || (config.userEventInfo = {}))
})(window['adrum-config'] || (window['adrum-config'] = {}) - In the fourth line of the code, replace "xxxxx" with the Decibel property ID, maintaining the hyphens on either side of the number. For example, di-12345-.
Note: To find the property ID, on the navigation bar, go toSettings > Property Settings > Tracking code.
- Click Save.
An HTML snippet is generated under GENERATE HTML SNIPPET on the right. - Click Copy.
- Update the deployment.
AppDynamics integration with Decibel is enabled. Allow at least 30 minutes for AppDynamics to capture new session data.
Accessing Decibel session replays in AppDynamics
- Ensure you are logged in to the Decibel portal in a browser tab.
- In a new tab, open AppDynamics.
- In AppDynamics, on the navigation bar, click User Experience.
- On the side bar, under REAL USERS, click Sessions.
- In the Fields pane, under User Data, select decibelSessionID.
A list of sessions appears. The Decibel session IDs appear to the right. The Decibel browser extension will create hyperlinks for each session ID providing direct access to the session replays in the Decibel portal.
Troubleshooting
Why do some of my sessions in AppDynamics not have a session ID?
Sessions with only one pageview will not have a session ID in session storage and will, therefore, not be linked by AppDynamics. In most cases, AppDynamics loads before Decibel. Once Decibel has loaded, it will put a session ID into session storage, which AppDynamics picks up on the second pageview.
Why don't I see any session IDs in AppDynamics?
- Ensure you have completed the implementation steps outlined above.
- Ensure both Decibel and AppDynamics are deployed on your website.
Why is the session ID not hyperlinking?
- Ensure you have the Decibel extension installed and that you are logged into Decibel in another browser tab.
- Double check the property ID you added in Configure JavaScript Agent.
Comments
0 comments
Please sign in to leave a comment.