Skip to content

Commit 11b34bf

Browse files
committed
📝 Only disable tracking options that were not already enabled in v5
1 parent c62eeb0 commit 11b34bf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • .claude/skills/upgrade-browser-sdk-v6

‎.claude/skills/upgrade-browser-sdk-v6/SKILL.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ v6 changes several default behaviors. Review each and adjust if needed:
5959

6060
In v5, these were `false` by default. In v6, they are enabled out of the box. This does not impact billing.
6161

62-
To preserve v5 behavior, explicitly disable them:
62+
To preserve v5 behavior, explicitly disable **only the options that were not already enabled in v5**. If an option was already `true` in v5, leave it unchanged:
6363

6464
```js
6565
DD_RUM.init({
66-
trackUserInteractions: false,
67-
trackResources: false,
68-
trackLongTasks: false,
66+
trackUserInteractions: false, // only if not already true in v5
67+
trackResources: false, // only if not already true in v5
68+
trackLongTasks: false, // only if not already true in v5
6969
})
7070
```
7171

0 commit comments

Comments
 (0)