diff --git a/platform-includes/performance/group-transaction-example/javascript.mdx b/platform-includes/performance/group-transaction-example/javascript.mdx index 932f4383cd9a1..9022de50fc804 100644 --- a/platform-includes/performance/group-transaction-example/javascript.mdx +++ b/platform-includes/performance/group-transaction-example/javascript.mdx @@ -1,7 +1,7 @@ ```javascript -// All JavaScript-based SDKs include this function, so it's safe to replace `@sentry/node` +// All JavaScript-based SDKs include this function, so it's safe to replace `@sentry/browser` // with your particular SDK -import { addEventProcessor } from "@sentry/node"; +import { addEventProcessor } from "@sentry/browser"; addEventProcessor((event) => { if (event.type === "transaction") { @@ -11,7 +11,7 @@ addEventProcessor((event) => { }); ``` -For browser JavaScript applications using the `BrowserTracing` integration, the `beforeStartSpan` option can be used to better group `navigation`/`pageload` transactions together based on URL. +For browser JavaScript applications using `browserTracingIntegration` integration, the `beforeStartSpan` option can be used to better group `navigation`/`pageload` transactions together based on URL. ```javascript import * as Sentry from "@sentry/browser";