trackAction
Tracks a user action event.
This function is a convenience method that creates a Event.Action event and tracks it.
Parameters
actionName
The name of the action performed by the user.
Tracks a user action event using a predefined Event.Action object.
Parameters
action
The Event.Action object representing the user action event.