<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@snowplow/browser-tracker](./browser-tracker.md) &gt; [TrackerCore](./browser-tracker.trackercore.md) &gt; [removeGlobalContexts](./browser-tracker.trackercore.removeglobalcontexts.md)

## TrackerCore.removeGlobalContexts() method

Removes previously added global context, performs a deep comparison of the contexts or conditional contexts

<b>Signature:</b>

```typescript
removeGlobalContexts(contexts: Array<ConditionalContextProvider | ContextPrimitive | string>): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  contexts | Array&lt;ConditionalContextProvider \| ContextPrimitive \| string&gt; | An array containing either contexts or a conditional contexts |

<b>Returns:</b>

void

