SendGenericEvent
This function queues a user-defined event. You can include an optional numerical value.
Syntax
- bool SendGenericEvent(string eventid)
- bool SendGenericEvent(string eventid, number value)
Parameters
- eventid: a name for the event being sent.
- value: an optional value to set for the event.
Returns
Returns true if analytics are enabled, otherwise false is returned.