api-docs/docs/browser-tracker/markdown/browser-tracker.clearglobalcontexts.md
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@snowplow/browser-tracker](./browser-tracker.md) > [clearGlobalContexts](./browser-tracker.clearglobalcontexts.md)
## clearGlobalContexts() function
Clear all global contexts that are sent with events
<b>Signature:</b>
```typescript
declare function clearGlobalContexts(trackers?: Array<string>): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| trackers | Array<string> | The tracker identifiers which the global contexts will be cleared from |
<b>Returns:</b>
void