Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 743 Bytes

File metadata and controls

25 lines (15 loc) · 743 Bytes

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

Returns:

void