Skip to content

Commit 5ebb241

Browse files
committed
Added RUM
1 parent b3b8dfe commit 5ebb241

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

docs/index.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,25 @@
1010
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
1111
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
1212
<link rel="manifest" href="/site.webmanifest">
13+
<script
14+
src="https://www.datadoghq-browser-agent.com/us1/v6/datadog-rum.js"
15+
type="text/javascript">
16+
</script>
17+
<script>
18+
window.DD_RUM && window.DD_RUM.init({
19+
clientToken: 'pub480324ed2fcb73b641a2eccdd88c1d13',
20+
applicationId: '61e8d384-68d8-45b7-a969-3187e0e167ff',
21+
site: 'datadoghq.com',
22+
service: 'pathfinding.cloud',
23+
env: 'prod',
24+
// Specify a version number to identify the deployed version of your application in Datadog
25+
// version: '1.0.0',
26+
sessionSampleRate: 100,
27+
sessionReplaySampleRate: 100,
28+
trackBfcacheViews: true,
29+
defaultPrivacyLevel: 'allow',
30+
});
31+
</script>
1332
<!-- Prevent theme flicker by applying theme before render -->
1433
<script>
1534
(function() {

docs/paths/index.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,25 @@
1010
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
1111
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
1212
<link rel="manifest" href="/site.webmanifest">
13+
<script
14+
src="https://www.datadoghq-browser-agent.com/us1/v6/datadog-rum.js"
15+
type="text/javascript">
16+
</script>
17+
<script>
18+
window.DD_RUM && window.DD_RUM.init({
19+
clientToken: 'pub480324ed2fcb73b641a2eccdd88c1d13',
20+
applicationId: '61e8d384-68d8-45b7-a969-3187e0e167ff',
21+
site: 'datadoghq.com',
22+
service: 'pathfinding.cloud',
23+
env: 'prod',
24+
// Specify a version number to identify the deployed version of your application in Datadog
25+
// version: '1.0.0',
26+
sessionSampleRate: 100,
27+
sessionReplaySampleRate: 100,
28+
trackBfcacheViews: true,
29+
defaultPrivacyLevel: 'allow',
30+
});
31+
</script>
1332
<!-- Prevent theme flicker by applying theme before render -->
1433
<script>
1534
(function() {

0 commit comments

Comments
 (0)