public numeric function getActionCount(
      required string type       
    , required string action     
    ,          string userId      = ""
    ,          string dateFrom    = ""
    ,          string dateTo      = ""
    ,          array  identifiers

Returns number of times the given user has performed the given action. Uses the current visitor when no user supplied.


typestringYesType of the action
actionstringYesAction ID
userIdstringNo (default="")ID of the user who performed the action (if blank or ommitted, the current visitor ID will be used instead)
dateFromstringNo (default="")Optional date from which the user has performed the action
dateTostringNo (default="")Optional date to which the user has performed the action
identifiersarrayNoArray of identifiers with which to filter the actions