api-docs/docs/browser-tracker/markdown/browser-tracker.addplugin.md
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@snowplow/browser-tracker](./browser-tracker.md) > [addPlugin](./browser-tracker.addplugin.md)
## addPlugin() function
Add a plugin into the plugin collection after trackers have already been initialised
<b>Signature:</b>
```typescript
declare function addPlugin(configuration: BrowserPluginConfiguration, trackers?: Array<string>): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| configuration | BrowserPluginConfiguration | The plugin to add |
| trackers | Array<string> | The tracker identifiers which the plugin will be added to |
<b>Returns:</b>
void