diff --git a/src/components/guideGrid.tsx b/src/components/guideGrid.tsx
index d94b4db1bb2d4..7ba66415789e9 100644
--- a/src/components/guideGrid.tsx
+++ b/src/components/guideGrid.tsx
@@ -10,6 +10,10 @@ type Props = {
export default ({ platform }: Props): JSX.Element => {
const currentPlatform = getPlatform(platform) as Platform;
+ // platform might actually not be a platform, so lets handle that case gracefully
+ if (!currentPlatform.guides) {
+ return null;
+ }
return (
diff --git a/src/includes/capture-error/javascript.mdx b/src/includes/capture-error/javascript.mdx
index 58f48d18b96b1..80ca454ce665b 100644
--- a/src/includes/capture-error/javascript.mdx
+++ b/src/includes/capture-error/javascript.mdx
@@ -9,3 +9,5 @@ try {
Sentry.captureException(err);
}
```
+
+Learn more about how to manually capture errors or enable message capture with Sentry's SDK in our documentation on Usage.
diff --git a/src/includes/framework-list/_default.mdx b/src/includes/framework-list/_default.mdx
new file mode 100644
index 0000000000000..8bd9093e2d966
--- /dev/null
+++ b/src/includes/framework-list/_default.mdx
@@ -0,0 +1 @@
+
diff --git a/src/includes/framework-list/javascript.mdx b/src/includes/framework-list/javascript.mdx
new file mode 100644
index 0000000000000..5f1a06cdde85c
--- /dev/null
+++ b/src/includes/framework-list/javascript.mdx
@@ -0,0 +1,3 @@
+Using a framework? Take a look at our specific guides to get started.
+
+
diff --git a/src/includes/getting-started-config/javascript.angular.mdx b/src/includes/getting-started-config/javascript.angular.mdx
new file mode 100644
index 0000000000000..91f75be86ef11
--- /dev/null
+++ b/src/includes/getting-started-config/javascript.angular.mdx
@@ -0,0 +1,107 @@
+This snippet includes automatic instrumentation to [monitor the performance](/platforms/javascript/performance/) of your application, which registers and configures the Tracing integration, including custom Angular routing instrumentation.
+
+**Note:** To reduce the volume of performance data captured, or disable it entirely, change `tracesSampleRate` to a value between 0 and 1 in production.
+
+```javascript
+import { enableProdMode } from "@angular/core";
+import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";
+import * as Sentry from "@sentry/angular";
+import { Integrations } from "@sentry/tracing";
+import { AppModule } from "./app/app.module";
+
+Sentry.init({
+ dsn: "___PUBLIC_DSN___" ,
+ integrations: [
+ new Integrations.BrowserTracing({
+ tracingOrigins: ["localhost", "https://yourserver.io/api"],
+ routingInstrumentation: Sentry.routingInstrumentation,
+ }),
+ ],
+ tracesSampleRate: 1.0, // We recommend adjusting this in production
+});
+
+
+platformBrowserDynamic()
+ .bootstrapModule(AppModule)
+ .then(success => console.log(`Bootstrap success`))
+ .catch(err => console.error(err));
+```
+
+You can also configure `@sentry/angular` to catch any Angular-specific exceptions reported through the [@angular/core/ErrorHandler](https://angular.io/api/core/ErrorHandler) provider.
+
+`@sentry/angular` exports a Trace Service, Directive, and Decorators that leverages the `@sentry/tracing`, Sentry's Tracing integration, to add Angular-related spans to transactions. The service itself tracks route changes and durations, where directive and decorators are tracking component initializations.
+
+### Automatically Send Errors with `ErrorHandler`
+
+`@sentry/angular` exports a function to instantiate an `ErrorHandler` provider that will automatically send JavaScript errors captured by the Angular's error handler.
+
+```javascript
+import { NgModule, ErrorHandler } from "@angular/core";
+import * as Sentry from "@sentry/angular";
+
+@NgModule({
+ // ...
+ providers: [
+ {
+ provide: ErrorHandler,
+ useValue: Sentry.createErrorHandler({
+ showDialog: true,
+ }),
+ },
+ ],
+ // ...
+})
+export class AppModule {}
+```
+
+You can configure the behavior of `createErrorHandler`. For more details see the `ErrorHandlerOptions` interface in [our repository](https://github.com/getsentry/sentry-javascript/blob/master/packages/angular/src/errorhandler.ts).
+
+### Register `TraceService`
+
+In Angular's DI system, register `TraceService` as a provider with a `Router` as its dependency:
+
+```javascript
+import { NgModule } from "@angular/core";
+import { Router } from "@angular/router";
+import * as Sentry from "@sentry/angular";
+
+@NgModule({
+ // ...
+ providers: [
+ {
+ provide: Sentry.TraceService,
+ deps: [Router],
+ },
+ ],
+ // ...
+})
+export class AppModule {}
+```
+Then, either require the `TraceService` from inside `AppModule` or use `APP_INITIALIZER` to force instantiate Tracing.
+```javascript
+@NgModule({
+ // ...
+})
+export class AppModule {
+ constructor(trace: Sentry.TraceService) {}
+}
+```
+
+or
+
+```javascript
+import { APP_INITIALIZER } from "@angular/core";
+@NgModule({
+ // ...
+ providers: [
+ {
+ provide: APP_INITIALIZER,
+ useFactory: () => () => {},
+ deps: [Sentry.TraceService],
+ multi: true,
+ },
+ ],
+ // ...
+})
+export class AppModule {}
+```
diff --git a/src/includes/getting-started-config/javascript.mdx b/src/includes/getting-started-config/javascript.mdx
index af2b62918e1be..ad3282c63b589 100644
--- a/src/includes/getting-started-config/javascript.mdx
+++ b/src/includes/getting-started-config/javascript.mdx
@@ -1,15 +1,22 @@
-You should `init` the Sentry Browser SDK as soon as possible during your page load:
+This snippet:
+- Uses `process.env.npm_package_version` to configure the version of your application. Learn more about [releases](/product/releases/) and how they are used with [source maps](/platforms/javascript/sourcemaps/).
+- Instruments your SDK to [monitor the performance](/platforms/javascript/performance/) of browser applications.
-```javascript {tabTitle:ESM}
-import * as Sentry from "@sentry/browser";
+
+
-Sentry.init({
- dsn: "___PUBLIC_DSN___",
-});
-```
+To reduce the volume of performance data captured, or disable it entirely, change `tracesSampleRate` to a value between 0 and 1 in production.
+
+
+
-```javascript {tabTitle:CDN}
+```javascript {tabTitle: ESM}
+import * as Sentry from "@sentry/browser";
+import { Integrations } from "@sentry/tracing";
Sentry.init({
dsn: "___PUBLIC_DSN___",
+ release: "my-project-name@" + process.env.npm_package_version, // To set your release version
+ integrations: [new Integrations.BrowserTracing()],
+ tracesSampleRate: 1.0, // We recommend adjusting this in production
});
```
diff --git a/src/includes/getting-started-install/javascript.angular.mdx b/src/includes/getting-started-install/javascript.angular.mdx
new file mode 100644
index 0000000000000..ebf23b59a47fc
--- /dev/null
+++ b/src/includes/getting-started-install/javascript.angular.mdx
@@ -0,0 +1,7 @@
+```bash {tabTitle:npm}
+npm install --save @sentry/angular
+```
+
+```bash {tabTitle:Yarn}
+yarn add @sentry/angular
+```
diff --git a/src/includes/getting-started-install/javascript.mdx b/src/includes/getting-started-install/javascript.mdx
index b5ce94007e4b5..81e9105315442 100644
--- a/src/includes/getting-started-install/javascript.mdx
+++ b/src/includes/getting-started-install/javascript.mdx
@@ -1,17 +1,14 @@
-Add the `@sentry/browser` dependency:
-
```bash {tabTitle: ESM}
# Using yarn
-$ yarn add @sentry/browser
-
+$ yarn add @sentry/browser @sentry/tracing
# Using npm
-$ npm install @sentry/browser
+$ npm install --save @sentry/browser @sentry/tracing
```
-```html {tabTitle: CDN}
-
-```
+
+
+
+We also support alternate [installation methods](/platforms/javascript/install/).
+
+
+
diff --git a/src/includes/getting-started-next-steps/javascript.mdx b/src/includes/getting-started-next-steps/javascript.mdx
deleted file mode 100644
index 55f224c945e2a..0000000000000
--- a/src/includes/getting-started-next-steps/javascript.mdx
+++ /dev/null
@@ -1 +0,0 @@
-- [_integrating with the JavaScript ecosystem_](/platforms/javascript/)
diff --git a/src/includes/getting-started-verify/javascript.mdx b/src/includes/getting-started-verify/javascript.mdx
index 493faaea459b9..0632059044e1c 100644
--- a/src/includes/getting-started-verify/javascript.mdx
+++ b/src/includes/getting-started-verify/javascript.mdx
@@ -1,9 +1,3 @@
-One way to verify your setup is by intentionally causing an error that breaks your application.
-
-Calling an undefined function will throw an exception:
-
-```js
+```javascript
myUndefinedFunction();
```
-
-You can verify the function caused an error by checking your browser console.
diff --git a/src/platforms/common/index.mdx b/src/platforms/common/index.mdx
new file mode 100644
index 0000000000000..ef9b31b5080d7
--- /dev/null
+++ b/src/platforms/common/index.mdx
@@ -0,0 +1,39 @@
+On this page, we get you up and running with Sentry's SDK, so that it will automatically report errors and exceptions in your application.
+
+
+
+
+If you don't already have an account and Sentry project established, head over to [sentry.io](https://sentry.io/signup/), then return to this page.
+
+
+
+
+
+
+## Install
+
+Sentry captures data by using an SDK within your application’s runtime:
+
+
+
+## Initialize
+
+`init` Sentry as soon as possible in your app. Once this is done, the Sentry SDK captures all unhandled exceptions.
+
+
+
+
+
+We'll automatically assign you a Data Source Name (DSN), which looks like a standard URL. It's required by Sentry and configures the protocol, public key, server address, and project identifier. If you forget it, view _Settings -> Projects -> Client Keys (DSN)_ in sentry.io.
+
+
+
+## Verify
+
+This snippet includes an intentional error, so you can test that everything is working as soon as you set it up:
+
+
+
+To view and resolve the recorded error, log into [sentry.io](https://sentry.io) and open your project. Clicking on the error's title will open a page where you can see detailed information and mark it as resolved.
+
+
diff --git a/src/platforms/common/usage/index.mdx b/src/platforms/common/usage/index.mdx
index 118dda4c4808d..0c48e7840040f 100644
--- a/src/platforms/common/usage/index.mdx
+++ b/src/platforms/common/usage/index.mdx
@@ -12,6 +12,19 @@ notSupported:
Sentry's SDK hooks into your runtime environment and automatically reports errors, exceptions, and rejections.
+
+
+
+Key terms:
+
+- An _event_ is one instance of sending data to Sentry. Generally, this data is an error or exception.
+- An _issue_ is a grouping of similar events.
+- The reporting of an event is called _capturing_.
+ When an event is captured, it’s sent to Sentry.
+
+
+
+
The most common form of capturing is to capture errors. What can be captured as an error varies by platform. In general, if you have something that looks like an exception it can be captured. For some SDKs you can also omit the argument to `capture_exception` and Sentry will attempt to capture the current exception. It can also be useful to manually report errors or messages to Sentry.
Separately to capturing you can also record the breadcrumbs that lead up to an event. Breadcrumbs are different from events: they will not create an event in Sentry, but will be buffered until the next event is sent. Learn more about breadcrumbs in our [Breadcrumbs documentation](/platforms/javascript/enriching-events/breadcrumbs/).
diff --git a/src/platforms/javascript/common/install/index.mdx b/src/platforms/javascript/common/install/index.mdx
index 5d2beca8decf1..9fe5f0e83e9d9 100644
--- a/src/platforms/javascript/common/install/index.mdx
+++ b/src/platforms/javascript/common/install/index.mdx
@@ -1,6 +1,7 @@
---
title: Installation Methods
sidebar_order: 1
+description: "Review our alternate installation methods."
---
diff --git a/src/platforms/javascript/common/integrations/index.mdx b/src/platforms/javascript/common/integrations/index.mdx
index 729220db7305b..4a45bccee779d 100644
--- a/src/platforms/javascript/common/integrations/index.mdx
+++ b/src/platforms/javascript/common/integrations/index.mdx
@@ -1,6 +1,7 @@
---
title: Integrations
sidebar_order: 200
+description: "Learn more about how integrations extend the functionality of our SDK to cover common libraries and environments automatically."
---
diff --git a/src/platforms/javascript/common/troubleshooting/index.mdx b/src/platforms/javascript/common/troubleshooting/index.mdx
index 337ecd4f85c8f..0059815f4d5d3 100644
--- a/src/platforms/javascript/common/troubleshooting/index.mdx
+++ b/src/platforms/javascript/common/troubleshooting/index.mdx
@@ -1,5 +1,6 @@
---
title: Troubleshooting
+description: "Troubleshoot and resolve edge cases."
excerpt: ""
sidebar_order: 1000
---
@@ -221,3 +222,9 @@ hub2.run(currentHub => {
});
});
```
+
+## Third Party Promise Libraries
+
+When you include and configure Sentry, our JavaScript SDK automatically attaches global handlers to _capture_ uncaught exceptions and unhandled promise rejections. You can disable this default behavior by changing the `onunhandledrejection` option to `false` in your GlobalHandlers integration and manually hook into each event handler, then call `Sentry.captureException` or `Sentry.captureMessage` directly.
+
+You may also need to manage your configuration if you are using a third-party library to implement promises. Also, remember that browsers often implement security measures that can block error reporting when serving script files from different origins.
diff --git a/src/platforms/javascript/guides/angular/angular1.mdx b/src/platforms/javascript/guides/angular/angular1.mdx
index e22a9f34df64b..ec8645aa136fb 100644
--- a/src/platforms/javascript/guides/angular/angular1.mdx
+++ b/src/platforms/javascript/guides/angular/angular1.mdx
@@ -1,5 +1,6 @@
---
title: AngularJS 1.x
+description: "Learn how to use Sentry's AngularJS integration if you're using AngularJS 1.x."
redirect_from:
- /clients/javascript/integrations/angular/
---
diff --git a/src/platforms/javascript/guides/angular/components/index.mdx b/src/platforms/javascript/guides/angular/components/index.mdx
index bd01cfbcbc340..6d58d53aaa5ef 100644
--- a/src/platforms/javascript/guides/angular/components/index.mdx
+++ b/src/platforms/javascript/guides/angular/components/index.mdx
@@ -1,9 +1,10 @@
---
title: Components
+description: "Learn more about how to track Angular components as part of your transactions."
excerpt: ""
---
-The Sentry React SDK exposes custom components for first class integration with the React framework.
+The Sentry SDK exposes custom components for first class integration with the framework.
- **[Trace Helpers](./tracehelpers/)**
diff --git a/src/platforms/javascript/guides/angular/config.yml b/src/platforms/javascript/guides/angular/config.yml
new file mode 100644
index 0000000000000..97e2ca1eacddf
--- /dev/null
+++ b/src/platforms/javascript/guides/angular/config.yml
@@ -0,0 +1,7 @@
+title: Angular
+categories:
+ - browser
+redirect_from:
+ - /clients/javascript/integrations/angular2/
+ - /clients/javascript/integrations/angularjs/
+ - /platforms/javascript/angular/
diff --git a/src/platforms/javascript/guides/angular/index.mdx b/src/platforms/javascript/guides/angular/index.mdx
deleted file mode 100644
index 3f70713451056..0000000000000
--- a/src/platforms/javascript/guides/angular/index.mdx
+++ /dev/null
@@ -1,163 +0,0 @@
----
-title: Angular
-sdk: "sentry.javascript.angular"
-redirect_from:
- - /clients/javascript/integrations/angular2/
- - /clients/javascript/integrations/angularjs/
- - /platforms/javascript/angular/
----
-
-On this page, we provide concise information to use Sentry with your Angular application. You will need to use `@sentry/angular` (Sentry’s Browser Angular SDK).
-
-
-
-If you don't already have an account and Sentry project established, head over to [sentry.io](https://sentry.io/signup/), then return to this page.
-
-
-
-## Install
-
-Sentry captures data by using an SDK within your application’s runtime. Add the Sentry SDK as a dependency using `yarn` or `npm`:
-
-```bash {tabTitle:npm}
-npm install --save @sentry/angular
-```
-
-```bash {tabTitle:Yarn}
-yarn add @sentry/angular
-```
-
-## Configure
-
-`init` the Sentry browser SDK as soon as possible during your application load up, before initializing Angular:
-
-```javascript
-import { enableProdMode } from "@angular/core";
-import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";
-import * as Sentry from "@sentry/angular";
-
-import { AppModule } from "./app/app.module";
-
-Sentry.init({ dsn: "___PUBLIC_DSN___" });
-
-enableProdMode();
-platformBrowserDynamic()
- .bootstrapModule(AppModule)
- .then(success => console.log(`Bootstrap success`))
- .catch(err => console.error(err));
-```
-
-Once this is done, all uncaught exceptions are automatically reported to Sentry. Additionally, you can configure `@sentry/angular` to catch any Angular-specific exceptions reported through the [@angular/core/ErrorHandler](https://angular.io/api/core/ErrorHandler) provider.
-
-**Important:** Note your DSN. The _DSN_ (Data Source Name) tells the SDK where to send events. If you forget it, view _Settings -> Projects -> Client Keys (DSN)_ in the Sentry web UI.
-
-### Automatically Send Errors with `ErrorHandler`
-
-`@sentry/angular` exports a function to instantiate an `ErrorHandler` provider that will automatically send JavaScript errors captured by the Angular's error handler.
-
-```javascript
-import { NgModule, ErrorHandler } from "@angular/core";
-import * as Sentry from "@sentry/angular";
-
-@NgModule({
- // ...
- providers: [
- {
- provide: ErrorHandler,
- useValue: Sentry.createErrorHandler({
- showDialog: true,
- }),
- },
- ],
- // ...
-})
-export class AppModule {}
-```
-
-Additionally, `createErrorHandler` accepts a set of options that allows you to configure its behavior. For more details see the `ErrorHandlerOptions` interface in [our repository](https://github.com/getsentry/sentry-javascript/blob/master/packages/angular/src/errorhandler.ts).
-
-## Monitor Performance
-
-`@sentry/angular` exports a Trace Service, Directive, and Decorators that leverages the `@sentry/tracing`, Sentry's Tracing integration, to add Angular-related spans to transactions. The service itself tracks route changes and durations, where directive and decorators are tracking component initializations.
-
-
-
-If the Tracing integration is not enabled, this functionality will not work.
-
-
-
-### Install
-
-Install a Trace Service with these three steps:
-
-1. Register and configure the Tracing integration, including custom Angular routing instrumentation:
-
-```javascript
-import * as Sentry from "@sentry/angular";
-import { Integrations } from "@sentry/tracing";
-
-Sentry.init({
- dsn: "___PUBLIC_DSN___",
- integrations: [
- new Integrations.BrowserTracing({
- tracingOrigins: ["localhost", "https://yourserver.io/api"],
- routingInstrumentation: Sentry.routingInstrumentation,
- }),
- ],
-
- // We recommend adjusting this value in production, or using tracesSampler
- // for finer control
- tracesSampleRate: 1.0,
-});
-```
-
-2. Register `TraceService` as a provider in Angular's DI system, with a `Router` as its dependency:
-
-```javascript
-import { NgModule } from "@angular/core";
-import { Router } from "@angular/router";
-import * as Sentry from "@sentry/angular";
-
-@NgModule({
- // ...
- providers: [
- {
- provide: Sentry.TraceService,
- deps: [Router],
- },
- ],
- // ...
-})
-export class AppModule {}
-```
-
-3. Either require the `TraceService` from inside `AppModule` or use `APP_INITIALIZER` to force instantiate Tracing.
-
-```javascript
-@NgModule({
- // ...
-})
-export class AppModule {
- constructor(trace: Sentry.TraceService) {}
-}
-```
-
-or
-
-```javascript
-import { APP_INITIALIZER } from "@angular/core";
-
-@NgModule({
- // ...
- providers: [
- {
- provide: APP_INITIALIZER,
- useFactory: () => () => {},
- deps: [Sentry.TraceService],
- multi: true,
- },
- ],
- // ...
-})
-export class AppModule {}
-```
diff --git a/src/platforms/javascript/index.mdx b/src/platforms/javascript/index.mdx
deleted file mode 100644
index 2a06d0e07b76a..0000000000000
--- a/src/platforms/javascript/index.mdx
+++ /dev/null
@@ -1,152 +0,0 @@
-On this page, we get you up and running with Sentry's JavaScript SDK, so that it will automatically report errors and exceptions in your application.
-
-
-
-
-If you don't already have an account and Sentry project established, head over to [sentry.io](https://sentry.io/signup/), then return to this page.
-
-
-
-
-Using a framework? Take a look at our specific guides to get started.
-
-
-
-## Install the Package
-
-Sentry captures data by using an SDK within your application’s runtime. Add the Sentry SDK to your application:
-
-```bash {tabTitle: ESM}
-# Using yarn
-$ yarn add @sentry/browser
-
-# Using npm
-$ npm install --save @sentry/browser
-```
-
-
-
-
-If prefer to use CDN to install our SDK, please see our documentation for [installing with CDN](/platforms/javascript/install/cdn/).
-
-
-
-
-## Configure and Verify
-
-`init` Sentry as soon as possible in your app, to make sure it can monitor everything that follows it. Once this is done, all unhandled exceptions are automatically captured by Sentry.
-
-The snippet below includes an intentional error, so you can test that everything is working as soon as you set it up. To view and resolve the recorded error, log into [sentry.io](https://sentry.io) and open your project. Clicking on the error's title will open a page where you can see detailed information and mark it as resolved.
-
-```javascript {tabTitle: ESM}
-import * as Sentry from "@sentry/browser";
-
-Sentry.init({ dsn: "___PUBLIC_DSN___" });
-
-myUndefinedFunction(); // To test your setup
-```
-
-## Capture Errors
-
-
-
-Key terms:
-
-- An _event_ is one instance of sending data to Sentry. Generally, this data is an error or exception.
-- An _issue_ is a grouping of similar events.
-- The reporting of an event is called _capturing_.
- When an event is captured, it’s sent to Sentry.
-
-
-
-
-By including and configuring Sentry, our JavaScript SDK automatically attaches global handlers to _capture_ uncaught exceptions and unhandled promise rejections, as described in the official ECMAScript 6 standard. You can disable this default behavior by changing the `onunhandledrejection` option to `false` in your GlobalHandlers integration and manually hook into each event handler, then call `Sentry.captureException` or `Sentry.captureMessage` directly.
-
-You may also need to manage your configuration if you are using a third-party library to implement promises. Also, remember that browsers often implement security measures that can block error reporting when serving script files from different origins.
-
-Learn more about how to manually capture errors or enable message capture with Sentry's JavaScript SDK in [Usage](usage/).
-
-### Automatically Enrich Error Data
-
-Events sent by the JavaScript SDK to Sentry are enriched with data that helps identify the source of the event. Much of this data is sent automatically - including the error context and environment - as well as the trail of events that led up to the event, which we call breadcrumbs. You don't need to configure these, though you may modify them.
-
-Learn more about the data sent to with events in [Event Context](enriching-events/context/).
-
-### Set the Release Version
-
-When you configure Sentry to include the version of your application, Sentry can tell you about regressions as well as detailed information about the suspect commit. You will also need releases for source maps.
-
-Use the `process.env.npm_package_version`:
-
-```javascript
-Sentry.init({
- dsn: "___PUBLIC_DSN___",
- release: "my-project-name@" + process.env.npm_package_version,
-});
-```
-
-Learn more about what releases can do in [our documentation for releases](/product/releases/).
-
-### Upload Source Maps
-
-We **highly recommend** you incorporate source maps to receive the full benefit of error tracking and monitoring. See our [source maps documentation](/platforms/javascript/sourcemaps/) to learn more.
-
-## Monitor Performance
-
-Install performance monitoring using Sentry’s JavaScript SDK using both the `@sentry/browser` and `@sentry/tracing` packages:
-
-```bash {tabTitle: ESM}
-# Using yarn
-$ yarn add @sentry/browser @sentry/tracing
-
-# Using npm
-$ npm install --save @sentry/browser @sentry/tracing
-```
-
-
-
-If you are using our CDN, please see our documentation for [installing with CDN](install/cdn/).
-
-
-
-Initialize the integration in your call to `Sentry.init`:
-
-```javascript {tabTitle: ESM}
-import * as Sentry from "@sentry/browser";
-import { Integrations } from "@sentry/tracing";
-Sentry.init({
- dsn: "___PUBLIC_DSN___",
- release: "my-project-name@" + process.env.npm_package_version,
- integrations: [new Integrations.BrowserTracing()],
-
- // We recommend adjusting this value in production, or using tracesSampler
- // for finer control
- tracesSampleRate: 1.0,
-});
-```
-
-Performance data is transmitted using a new event type called “transactions,” which you can learn about in [Distributed Tracing](/product/performance/distributed-tracing/). To begin capturing transactions, install the tracing package and set either `tracesSampleRate` or `tracesSampler` in your [SDK configuration](/platforms/javascript/configuration/options/#common-options). These determine what percentage of potential transactions get sent to Sentry; we recommend capturing only a sample, as one way to adjust your overall Sentry volume to meet your needs.
-
-Learn more about `tracesSampleRate` and `tracesSampler` in [Sampling Transactions](/platforms/javascript/performance/sampling/).
-
-## Next Steps
-
-
-
-- **[Manage Configuration Options](./configuration/)**
-
- Sentry's JavaScript SDK includes many configuration options that are automatically set. You can configure your SDK using the options outlined in these pages.
-
-- **[Enrich Event Data](./enriching-events/context/)**
-
- When your SDK sends an event to Sentry, the event is enriched with data. Learn more about the data that helps identify the source of the event and includes information both pertinent to the event as well as a full picture of what led up to it.
-
-- **[Review and Manage Integrations](./integrations/)**
-
- Integrations extend the functionality of our JavaScript SDK to cover common libraries and environments automatically. Learn more about our default and pluggable integrations.
-
-- **[Troubleshooting](./troubleshooting/)**
-
- If you need help solving issues with Sentry's JavaScript SDK, you can read the edge cases documented here.
-
-For a deep dive into our JavaScript SDK, [check out our GitHub repo](https://getsentry.github.io/sentry-javascript/).