---
title: "Dedupe"
description: "Deduplicate certain events to avoid receiving duplicate errors. (default)"
url: https://docs.sentry.io/platforms/javascript/guides/solid/configuration/integrations/dedupe/
---

# Dedupe | Sentry for Solid

*Import name: `Sentry.dedupeIntegration`*

This integration is enabled by default. If you'd like to modify your default integrations, read [this](https://docs.sentry.io/platforms/javascript/guides/solid/configuration/integrations.md#modifying-default-integrations).

This integration deduplicates certain events. It can be helpful if you're receiving many duplicate errors. Note, that Sentry only compares stack traces and fingerprints.

**npm**

```javascript
import * as Sentry from "___SDK_PACKAGE___";

Sentry.init({
  dsn: "___PUBLIC_DSN___",
  integrations: [Sentry.dedupeIntegration()],
});
```

**Loader (v7)**

```html
<script>
  // Configure sentryOnLoad before adding the Loader Script
  window.sentryOnLoad = function () {
    Sentry.init({});

    if (Sentry.dedupeIntegration) {
      Sentry.addIntegration(Sentry.dedupeIntegration());
    }
  };
</script>

<script
  src="https://js.sentry-cdn.com/___PUBLIC_KEY___.min.js"
  crossorigin="anonymous"
></script>
<script
  src="https://browser.sentry-cdn.com/7.118.0/dedupe.min.js"
  integrity="sha384-LNL+Ughkfd7RSScRAb/8GsUkGNCDCKci1Bqo78Vj1a2YmwdAKOidOONI6RRnCNza"
  crossorigin="anonymous"
></script>
```

**Loader (v8)**

```html
<script>
  // Configure sentryOnLoad before adding the Loader Script
  window.sentryOnLoad = function () {
    Sentry.init({});
    Sentry.lazyLoadIntegration("dedupeIntegration").then((integration) => {
      Sentry.addIntegration(integration());
    });
  };
</script>

<script
  src="https://js.sentry-cdn.com/___PUBLIC_KEY___.min.js"
  crossorigin="anonymous"
></script>
```

**CDN**

```html
<script
  src="https://browser.sentry-cdn.com/10.53.1/bundle.tracing.min.js"
  integrity="sha384-FGoRMImH95uAyc72ypTWedaYaOCYskenhS7DgLZp+OsGCx2zs4/Nez3XHPGd55IY"
  crossorigin="anonymous"
></script>
<script
  src="https://browser.sentry-cdn.com/10.53.1/dedupe.min.js"
  integrity="sha384-UDFZngXQptOWZ266n8L5dBne3UPVlh6gfDNV4Bfx0B5Tz13g6cynpDiczk5/jz+Z"
  crossorigin="anonymous"
></script>

<script>
  Sentry.init({
    dsn: "___PUBLIC_DSN___",
    integrations: [Sentry.dedupeIntegration()],
  });
</script>
```
