Home > @snowplow/browser-tracker > removeGlobalContexts
All provided contexts will no longer be sent with every event
Signature:
declare function removeGlobalContexts(contexts: Array<ConditionalContextProvider | ContextPrimitive | string>, trackers?: Array<string>): void;| Parameter | Type | Description |
|---|---|---|
| contexts | Array<ConditionalContextProvider | ContextPrimitive | string> | An array of contexts or conditional contexts |
| trackers | Array<string> | The tracker identifiers which the global contexts will be remove from |
Returns:
void