diff --git a/docs/product/sentry-basics/integrate-frontend/initialize-sentry-sdk.mdx b/docs/product/sentry-basics/integrate-frontend/initialize-sentry-sdk.mdx index d64e3f9c74eff..a9d3feb4599f4 100644 --- a/docs/product/sentry-basics/integrate-frontend/initialize-sentry-sdk.mdx +++ b/docs/product/sentry-basics/integrate-frontend/initialize-sentry-sdk.mdx @@ -46,7 +46,7 @@ Sentry captures data by using a platform-specific SDK that you add to your appli Sentry.init({ dsn: "", - integrations: [new Sentry.BrowserTracing(), Sentry.replayIntegration()], + integrations: [new Sentry.browserTracingIntegration(), Sentry.replayIntegration()], // Set tracesSampleRate to 1.0 to capture 100% // of transactions for performance monitoring. diff --git a/platform-includes/performance/automatic-instrumentation-custom-routing/javascript.mdx b/platform-includes/performance/automatic-instrumentation-custom-routing/javascript.mdx index 0eb3bfa0f410a..b0dc27ff61595 100644 --- a/platform-includes/performance/automatic-instrumentation-custom-routing/javascript.mdx +++ b/platform-includes/performance/automatic-instrumentation-custom-routing/javascript.mdx @@ -30,8 +30,8 @@ myRouter.on("routeChange", (route) => { // Make sure that the pageload span uses the route name // After that, each route change should trigger a navigation span (which will automatically finish the previous one) if (pageLoadSpan) { - pageloadSpan.updateName(route.name); - pageloadSpan.setAttribute(Sentry.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, "route"); + pageLoadSpan.updateName(route.name); + pageLoadSpan.setAttribute(Sentry.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, "route"); pageLoadSpan = undefined; } else { Sentry.startBrowserTracingNavigationSpan(client, {