browser-tracker.rulesetprovider
Home > @snowplow/browser-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
];