trackAction
Tracks a user action event in Firebase Analytics.
This implementation logs a custom event with the action name (converted to snake_case format as per Firebase recommendations) and any additional context parameters.
Parameters
action
The Event.Action object containing action information and context