Category: Application Performance Management
This integration is only available for Web projects
What to expect
This integration will help you to assess how performances affect your customer's experience. You will be able to access Contentsquare session replays directly in your APM Dashboard in order to see exactly what a user was doing when an error occurred and combine the technical data of your APM with the behavioral data surfaced from Contentsquare to uncover and prioritize the issues that have the greatest impact on your customer experience and revenue. When identifying an issue in a Contentsquare session replay, you will also be able to find the link to the corresponding Dynatrace session so that you can investigate it further in your APM.
What we collect
Dynamic Variables
Key | Value | Data Type |
APM_DT_SessionID | -1-2dc0435-8c83-a371-c8c4-36b866664d09.1 | Text |
APM_DT_Session Link | https://gjm38263.live.dynatrace.com/#usersearchoverview;gtf=1978-06-22T00:48:11-04:00%20to%201978-06-22T03:48:11-04:00;gf=all;gwtMpd=Y;filtrfilterTagsStr=contentsquaresid%20s2930ed8c-11cb-aa2a-db25-9285096ca8fe.1 | Text |
What we send
Session replay
URL Example: https://app.contentsquare.com/quick-playback/index.html?pid=3771&uu=cc912cdb-ee03-a739-a659-ad2a5b1f08bb&sn=12&pvid=1&recordingType=cs&vd=dt
Implementation
Implementation Steps
Step 1
Please go to the section How to request an integration to see the instructions to enable this integration. You can then return here once completed.
In order to use the full integration, please provide your Contentsquare CSM or support team with your Dynatrace login domain, it is usually something like this: domain.live.dynatrace.com . You can find this in the URL of the Dynatrace web app. This will allow you go from the Contentsquare session replay to the relevant Dynatrace session. See usage instructions below.
If you have already completed the step above then continue below.
Step 2






Instances supporting DtrumApi
Under Expression Type, select JavaScript API.
Select data type (string) and string length set to 200.
Instances NOT supporting DtrumApi

It is important to make sure that you use the exact name above so that it generates a key like this:

Verifying it works
You can use the chrome extension to check the results are sent to CS
Note that it will only send this once per session on the very first pageview, so to test this you will need to delete cookies then reload.
Check inside the Dynatrace platform for the replay link:

Link from Contentsquare to Dynatrace
Assuming you have already provided Contentsquare with the Dynatrace login domain (and also if you have a custom key for the Contentsquare SID session property in Dynatrace as mentioned in instructions above and provided that also), you can then check if the link from Contentsquare session replays works to Dynatrace by going to any replay session that was captured after the integration was enabled and do the following in the very first pageview of the session.
Click the 3 dots then Show variables
You will then see this popup. Click the DVAR tab and find the APM_DT_Session Link key which contains a link to Dynatrace. You can click Copy value and paste into your browser to open it. In the future this URL will be clickable.
This should then take you straight to the same session in Dynatrace:
Please note that Dynatrace only allows Session data to be shown and searched after a live session has ended for a visitor. This is usually 30 minutes after the start of idle time or after leaving the site. So if you open one of these links from sessions that are still active they will not work. You can open them later though. Any sessions that are older will open the moment you go to the link.