Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit c26e1b5

Browse files
author
ada
committed
[DOCGUILD-28874] Bugfix to match DEMRUM-1675
1 parent ace9952 commit c26e1b5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

rum/rum-session-replay.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,24 @@ Initialize this code snippet to set up session replay through Splunk CDN.
7171

7272

7373

74+
Self-hosted
75+
--------------------------------------------
76+
77+
#. Download the desired version of :new-page:`splunk-otel-web-session-recorder.js <https://github.com/signalfx/splunk-otel-js-web/releases/latest/download/splunk-otel-web-session-recorder.js>`.
78+
#. Deploy the file in a location accessible by the users of your application.
79+
#. Add the following session replay snippet after the ``SplunkRum.init`` snippet:
80+
81+
.. code-block:: javascript
82+
83+
<script src="<your-self-hosted-path>/splunk-otel-web-session-recorder.js" crossorigin="anonymous"></script>
84+
85+
86+
To avoid gaps in your data, load and initialize the Splunk JavaScript Agent asynchronously and as early as possible.
87+
88+
#. (Optional) Activate session replay. Session replay is avaialable for enterprise customers only.
89+
90+
91+
7492
NPM
7593
--------------------------------------------
7694

0 commit comments

Comments
 (0)