Method | Description | |
---|---|---|
alias ( array $message ) : boolean | Aliases the user id from a temporary id to a permanent one | |
flush ( ) | Flush the client | |
group ( array $message ) : boolean | Tags traits about the group. | |
identify ( array $message ) : boolean | Tags traits about the user. | |
init ( string $secret, array $options = [] ) | Initializes the default client to use. Uses the socket consumer by default. | |
page ( array $message ) : boolean | Tracks a page view | |
screen ( array $message ) : boolean | Tracks a screen view | |
track ( array $message ) : boolean | Tracks a user action | |
validate ( array $msg, string $type ) | Validate common properties. |
Method | Description | |
---|---|---|
assert ( array $value, string $msg ) | Assert value or throw. | |
checkClient ( ) | Check the client. |