Global Context
class GlobalContext
This class allows the attachment of context entities to all events, or all events of a chosen type.
Multiple GlobalContext rules can be provided on tracker creation, using the GlobalContextsConfiguration class. Alternatively, GlobalContexts can be added and removed at runtime, using GlobalContextsController.add and GlobalContextsController.remove methods.
These methods can be accessed directly from the tracker like this: tracker.globalContexts.add("rule_name", GlobalContext)