---
title: "BrowserTracing"
description: "Capture browser traces for page loads and requests, and see where they fail or slow down."
url: https://docs.sentry.io/platforms/javascript/guides/vue/configuration/integrations/browsertracing/
---

# BrowserTracing for Vue

This integration only works inside a browser environment.

*Import name: `Sentry.browserTracingIntegration`*

With [tracing](https://docs.sentry.io/concepts/key-terms/tracing.md), Sentry follows page loads, navigations, and requests in the browser so you can see where they fail or slow down. Spans record each of those operations.

The BrowserTracing integration sets up automatic tracing for your frontend applications. It captures transactions and spans from the browser and sends them to Sentry.

Read more about [setting up BrowserTracing](https://docs.sentry.io/platforms/javascript/guides/vue/tracing.md).

```JavaScript
Sentry.init({
  integrations: [Sentry.browserTracingIntegration()],
});
```

See [Configuration Options](https://docs.sentry.io/platforms/javascript/guides/vue/tracing/instrumentation/automatic-instrumentation.md#configuration-options) for a full list of available options for `browserTracingIntegration`
