Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.forterulesengine.io/llms.txt

Use this file to discover all available pages before exploring further.

parseTrackers(condition, names, trackerNameToID): [string, TrackerArgument[]]
Defined in: src/parsing/parsing-utilities.ts:76 Parses tracker references in a rule condition string and adds them to the argument list.

Parameters

ParameterTypeDescription
conditionstringThe rule condition string.
namesany[]An array of argument placeholders.
trackerNameToIDNameToID[]A mapping of tracker IDs to their names and types.

Returns

[string, TrackerArgument[]] an array of created Tracker objects.