Skip to content

Commit

Permalink
Update platform-includes/configuration/auto-session-tracking/javascri…
Browse files Browse the repository at this point in the history
…pt.mdx

Co-authored-by: Liza Mock <[email protected]>
  • Loading branch information
lforst and lizokm authored Dec 11, 2024
1 parent 5f620e9 commit ba48205
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ Sentry.init({

{/* We don't use platform links here because we always have to link to node and browser here and doing a conditional just for that feels overkill. */}

The `autoSessionTracking` option is deprecated from SDK version `8.43.0` onwards.
Instead, use the [BrowserSession integration](/platforms/javascript/configuration/integrations/browsersession/) for the Browser and the [Http integration](/platforms/javascript/guides/node/configuration/integrations/http/) (via the `trackIncomingRequestsAsSessions` option) for the Node.js runtime.
Starting with SDK version 8.43.0 and up, the `autoSessionTracking` option has been deprecated. You can use the [BrowserSession integration](/platforms/javascript/configuration/integrations/browsersession/) in browser environments and the [Http integration](/platforms/javascript/guides/node/configuration/integrations/http/) (via the `trackIncomingRequestsAsSessions` option) in Node.js runtime.

</Alert>

Expand Down

0 comments on commit ba48205

Please sign in to comment.