Skip to main content

react-native-tracker.filterprovider

Home > @snowplow/react-native-tracker > FilterProvider

FilterProvider type

A filter provider is a tuple that has two parts: a context filter and the context primitive(s) If the context filter evaluates to true, the tracker will attach the context primitive(s)

Signature:
type FilterProvider = [
ContextFilter,
Array<ContextPrimitive> | ContextPrimitive
];