@@ -54,13 +54,21 @@ ue.startRecording("<your_unique_app_id>")
54
54
55
55
window .plugSDK .init ({
56
56
app_id: " <your_unique_app_id>" ,
57
+ disable_plug_chat_window: true ,
57
58
});
58
59
window .plugSDK .onEvent ((payload ) => {
59
60
if (payload .type === ' ON_OBSERVABILITY_READY' ) {
60
61
// code you want to execute after recording starts
61
62
}
62
63
});
63
64
```
65
+ If you have configured Content Security Policy (CSP) in your application, you need to allow access to the following domains.
66
+ - https://api.devrev.ai
67
+ - https://plug-platform.devrev.ai
68
+ - https://ingestion-useast1.devrev.ai - For organizations in the US East region.
69
+ - https://ingestion-eucentral1.devrev.ai - For organizations in the EU Central region.
70
+ - https://ingestion-apsouth1.devrev.ai - For organizations in the AP South region.
71
+
64
72
</Tab >
65
73
66
74
</Tabs >
@@ -110,6 +118,7 @@ ue.startRecording("243b0f40-db67-4f3e-b51d-c52001dd858a", {
110
118
111
119
window .plugSDK .init ({
112
120
app_id: " <your_unique_app_id>" ,
121
+ disable_plug_chat_window: true ,
113
122
session_recording_options: {
114
123
sessionReplay: {
115
124
maskAllInputs?: boolean;
@@ -135,7 +144,6 @@ window.plugSDK.init({
135
144
captureConsoleLogs?: boolean;
136
145
}
137
146
},
138
- enable_session_recording: true ,
139
147
})
140
148
```
141
149
</Tab >
@@ -268,7 +276,7 @@ Terminate the current session recording and start a new one.
268
276
await window .plugSDK .shutdown ();
269
277
window .plugSDK .init ({
270
278
app_id: " <your_unique_app_id>" ,
271
- enable_session_recording : true ,
279
+ disable_plug_chat_window : true ,
272
280
});
273
281
```
274
282
</Tab >
0 commit comments