@@ -25,16 +25,16 @@ This method is recommended to collect all RUM events. The RUM browser SDK is loa
2525
2626### NPM Package Integration
2727
28- Add ` @flashcat /browser-rum ` to your ` package.json ` file
28+ Add ` @flashcatcloud /browser-rum ` to your ` package.json ` file
2929
3030``` bash
31- npm install @flashcat /browser-rum
31+ npm install @flashcatcloud /browser-rum
3232```
3333
3434Then initialize in your application entry file:
3535
3636``` javascript
37- import { flashcatRum } from " @flashcat /browser-rum" ;
37+ import { flashcatRum } from " @flashcatcloud /browser-rum" ;
3838
3939flashcatRum .init ({
4040 applicationId: " <YOUR_APPLICATION_ID>" , // Get from application management page
@@ -90,7 +90,7 @@ Add the following code snippet to the beginning of the `head` tag in each `HTML`
9090
9191``` html
9292<script
93- src =" https://static.flashcat.cloud/browser-sdk/v3 /flashcat-rum.js"
93+ src =" https://static.flashcat.cloud/browser-sdk/v0 /flashcat-rum.js"
9494 type =" text/javascript"
9595></script >
9696<script >
@@ -159,7 +159,7 @@ flashcatRum.setUser({
159159After initializing RUM, use the ` setGlobalContextProperty ` API to add additional tags to all RUM events collected from your application
160160
161161``` javascript
162- import { flashcatRum } from " @flashcat /browser-rum" ;
162+ import { flashcatRum } from " @flashcatcloud /browser-rum" ;
163163
164164flashcatRum .setGlobalContextProperty (' <CONTEXT_KEY>' , < CONTEXT_VALUE > );
165165
@@ -177,7 +177,7 @@ Use the `addAction` API to create RUM actions. Name your action and attach conte
177177The following example creates a checkout action with details about the user's cart when they click the checkout button.
178178
179179``` javascript
180- import { flashcatRum } from " @flashcat /browser-rum" ;
180+ import { flashcatRum } from " @flashcatcloud /browser-rum" ;
181181
182182function onCheckoutButtonClick (cart ) {
183183 flashcatRum .addAction (" checkout" , {
0 commit comments