Skip to main content

node-tracker.filterprovider

Home > @snowplow/node-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
];