track
Tracks an event with no properties.
Parameters
eventName
Name of the event
Throws
when eventName does not use characters from the set (a-zA-Z0-0_)
Tracks an event with optional properties.
Parameters
eventName
Name of the event
properties
Properties of the event
Throws
when eventName does not use characters from the set (a-zA-Z0-0_)