From a6f498c2b8a843c85e21630bf218ff000a6bece7 Mon Sep 17 00:00:00 2001 From: Rosa Trieu Date: Thu, 12 Dec 2024 10:24:10 -0800 Subject: [PATCH] [DOCS-9689] Add note to Typescript code snippet for RUM --- content/en/real_user_monitoring/browser/setup/client.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/en/real_user_monitoring/browser/setup/client.md b/content/en/real_user_monitoring/browser/setup/client.md index c00c49ff268d2..8ece523f41712 100644 --- a/content/en/real_user_monitoring/browser/setup/client.md +++ b/content/en/real_user_monitoring/browser/setup/client.md @@ -1968,7 +1968,9 @@ The `trackUserInteractions` parameter enables the automatic collection of user c {{< tabs >}} {{% tab "RUM" %}} -Types are compatible with TypeScript >= 3.8.2. For earlier versions, import JavaScript sources and use global variables to avoid any compilation issues: +Types are compatible with TypeScript >= 3.8.2. To initialize the SDK, use the following code snippet. + +
Note: For earlier versions of TypeScript, import JavaScript sources and use global variables to avoid any compilation issues.
```javascript import '@datadog/browser-rum/bundle/datadog-rum'