# Plugins
> Plugin documentation for Plugins functionality in the tracker.
> Source: https://docs.snowplow.io/docs/sources/web-trackers/previous-versions/web-trackers-v3/plugins/
> Documentation index: https://docs.snowplow.io/llms.txt
> Status: Previous version
> Current version: https://docs.snowplow.io/docs/sources/web-trackers/

The Javascript Tracker is based around a plugin architecture which allows new functionality to be added to the tracker. There are a number of Snowplow maintained plugins, however you are also free to [build your own](/docs/sources/web-trackers/previous-versions/web-trackers-v3/plugins/creating-your-own-plugins/) or leverage community plugins too.

## All plugins

The following table lists the Snowplow plugins (alphabetical order), what kinds of data are created using them, and their distribution for the JavaScript (`sp.js` file or minimal version) and Browser (`npm` etc. package) trackers. Read more about configuring plugins [here](/docs/sources/web-trackers/previous-versions/web-trackers-v3/plugins/configuring-tracker-plugins/) or on the individual pages.

If you are using the JavaScript tracker with the full `sp.js` and your plugin is included, no further installation or initialization is required. You can use it straight away.

| Plugin                                                                                                                     | Creates             | Tracked              | `sp.js` | `sp.lite.js` | Package name                                   |
| -------------------------------------------------------------------------------------------------------------------------- | ------------------- | -------------------- | ------- | ------------ | ---------------------------------------------- |
| [Ads](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/ads/)                                   | Events              | Manual               | ✅       | ❌            | `browser-plugin-ad-tracking`                   |
| [Button click](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/button-click/)                 | Events              | Automatic            | ❌       | ❌            | `browser-plugin-button-click-tracking`         |
| [Client Hints](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/client-hints/)                 | Entities            | Automatic            | ✅       | ❌            | `browser-plugin-client-hints`                  |
| [Consent (Enhanced)](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/consent-gdpr/)           | Events and entities | Manual               | ❌       | ❌            | `browser-plugin-enhanced-consent`              |
| [Consent (original)](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/consent-gdpr/original/)  | Events and entities | Manual and automatic | ✅       | ❌            | `browser-plugin-consent`                       |
| [Debugger](/docs/sources/web-trackers/previous-versions/web-trackers-v3/testing-debugging/)                                | Other               | n/a                  | ❌       | ❌            | `browser-plugin-debugger`                      |
| [Ecommerce (Snowplow)](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/ecommerce/)            | Events and entities | Manual               | ❌       | ❌            | `browser-plugin-snowplow-ecommerce`            |
| [Ecommerce (Enhanced)](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/ecommerce/enhanced/)   | Events              | Manual               | ✅       | ❌            | `browser-plugin-enhanced-ecommerce`            |
| [Ecommerce (original)](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/ecommerce/original/)   | Events              | Manual               | ✅       | ❌            | `browser-plugin-ecommerce`                     |
| [Errors](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/errors/)                             | Events              | Manual and automatic | ✅       | ❌            | `browser-plugin-error-tracking`                |
| [Event Specifications](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/event-specifications/) | Entities            | Automatic            | ❌       | ❌            | `browser-plugin-event-specifications`          |
| [Forms](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/form-tracking/)                       | Events              | Automatic            | ✅       | ❌            | `browser-plugin-form-tracking`                 |
| [GA cookies](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/ga-cookies/)                     | Entities            | Automatic            | ✅       | ❌            | `browser-plugin-ga-cookies`                    |
| [Geolocation](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/timezone-geolocation/)          | Entities            | Automatic            | ✅       | ❌            | `browser-plugin-geolocation`                   |
| [Kantar Focal Meter](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/focalmeter/)             | Other               | n/a                  | ❌       | ❌            | `browser-plugin-focalmeter@focalmeter_plugin`  |
| [Link click](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/link-click/)                     | Events              | Automatic            | ✅       | ❌            | `browser-plugin-link-click-tracking`           |
| [Media (Snowplow)](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/media/)                    | Events and entities | Manual               | ❌       | ❌            | `browser-plugin-media`                         |
| [Media (HTML)](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/media/html5/)                  | Events and entities | Automatic            | ❌       | ❌            | `browser-plugin-media-tracking`                |
| [Media (Vimeo)](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/media/vimeo/)                 | Events and entities | Automatic            | ❌       | ❌            | `browser-plugin-vimeo-tracking`                |
| [Media (Youtube)](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/media/youtube/)             | Events and entities | Automatic            | ❌       | ❌            | `browser-plugin-youtube-tracking`              |
| [Optimizely X](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/optimizely/)                   | Entities            | Automatic            | ✅       | ❌            | `browser-plugin-optimizely-x`                  |
| [Performance navigation timing](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/timings/)     | Entities            | Automatic            | ❌       | ❌            | `browser-plugin-performance-navigation-timing` |
| [Performance timing (original)](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/timings/)     | Entities            | Automatic            | ✅       | ❌            | `browser-plugin-performance-timing`            |
| [Privacy Sandbox](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/privacy-sandbox/)           | Entities            | Automatic            | ❌       | ❌            | `browser-plugin-privacy-sandbox`               |
| Site\*                                                                                                                     | Events              | Manual               | ✅       | ❌            | `browser-plugin-site-tracking`                 |
| [Timezone](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/timezone-geolocation/)             | Other               | Automatic            | ❌       | ❌            | `browser-plugin-timezone`                      |
| [Web vitals](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/web-vitals/)                     | Events              | Automatic            | ❌       | ❌            | `browser-plugin-web-vitals`                    |
| ~~Browser features~~ deprecated                                                                                            | Events              | Automatic            | ❌       | ❌            | `browser-plugin-browser-features`              |

\*The site tracking plugin provides events for [site search](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/site-search/), [social media interactions](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/social-media/), and [timing](/docs/sources/web-trackers/previous-versions/web-trackers-v3/tracking-events/timings/generic/).

You can find the plugins code [here](https://github.com/snowplow/snowplow-javascript-tracker/tree/master/plugins) and also search for them on [npmjs.com](https://www.npmjs.com/).

## Browser features plugin (deprecated)

> **Note:** **Deprecated**: This plugin is deprecated. The `navigator.mimeTypes` API which this tracker uses is now deprecated and modern browsers may no longer populate these values.

### Install plugin

**JavaScript (tag):**

| Tracker Distribution | Included |
| -------------------- | -------- |
| `sp.js`              | ❌        |
| `sp.lite.js`         | ❌        |

**Download:**

|                                             |                                                                                                                     |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| Download from GitHub Releases (Recommended) | [Github Releases (plugins.umd.zip)](https://github.com/snowplow/snowplow-javascript-tracker/releases)               |
| Available on jsDelivr                       | [jsDelivr](https://cdn.jsdelivr.net/npm/@snowplow/browser-plugin-browser-features@3/dist/index.umd.min.js) (latest) |
| Available on unpkg                          | [unpkg](https://unpkg.com/@snowplow/browser-plugin-browser-features@3/dist/index.umd.min.js) (latest)               |

**Note:** The links to the CDNs above point to the current latest version. You should pin to a specific version when integrating this plugin on your website if you are using a third party CDN in production.

```javascript
window.snowplow('addPlugin',
  "https://cdn.jsdelivr.net/npm/@snowplow/browser-plugin-browser-features@3/dist/index.umd.min.js",
  ["snowplowBrowserFeatures", "BrowserFeaturesPlugin"]
);
```

**Browser (npm):**

- `npm install @snowplow/browser-plugin-browser-features@3`
- `yarn add @snowplow/browser-plugin-browser-features@3`
- `pnpm add @snowplow/browser-plugin-browser-features@3`

```javascript
import { newTracker, trackPageView } from '@snowplow/browser-tracker';
import { BrowserFeaturesPlugin } from '@snowplow/browser-plugin-browser-features';

newTracker('sp1', '{{collector_url}}', {
   appId: 'my-app-id',
   plugins: [ BrowserFeaturesPlugin() ],
});

trackPageView();
```

***

### Tracked data

This plugin will add [MIME Type](https://developer.mozilla.org/en-US/docs/Web/API/NavigatorPlugins/mimeTypes) tracking. This allows the tracker to populate the `f_*` fields within the [canonical event model](/docs/fundamentals/canonical-event/).
