browser-tracker.addplugin
Home > @snowplow/browser-tracker > addPlugin
addPlugin() function
Add a plugin into the plugin collection after trackers have already been initialised
Signature: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 |
void