snowplow/snowplow-javascript-tracker

View on GitHub
api-docs/docs/browser-tracker/markdown/browser-tracker.conditionalcontextprovider.md

Summary

Maintainability
Test Coverage
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@snowplow/browser-tracker](./browser-tracker.md) &gt; [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;
```