node-tracker.rulesetprovider
Home > @snowplow/node-tracker > RuleSetProvider
RuleSetProvider type
A ruleset provider is aa tuple that has two parts: a ruleset and the context primitive(s) If the ruleset allows the current event schema URI, the tracker will attach the context primitive(s)
Signature:type RuleSetProvider = [
RuleSet,
Array<ContextPrimitive> | ContextPrimitive
];