api-docs/docs/browser-tracker/markdown/browser-tracker.conditionalcontextprovider.md
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@snowplow/browser-tracker](./browser-tracker.md) > [ConditionalContextProvider](./browser-tracker.conditionalcontextprovider.md)
## ConditionalContextProvider type
Conditional context providers are two element arrays used to decide when to attach contexts, where: - the first element is some conditional criterion - the second element is any number of context primitives
<b>Signature:</b>
```typescript
type ConditionalContextProvider = FilterProvider | RuleSetProvider;
```