getLastPerformedDate()

Overview

public string function getLastPerformedDate(
      required string type       
    , required string action     
    ,          string userId      = ""
    ,          array  identifiers
)

Returns the date that an action was last performed by the given user / visitor

Arguments

NameTypeRequiredDescription
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)
identifiersarrayNoArray of identifiers with which to filter the actions