Метод |
Описание |
|
__construct ( string $secret, array $options = [] ) |
Store our secret and options as part of this consumer |
|
__destruct ( ) |
|
|
alias ( array $message ) : boolean |
Aliases from one user id to another |
|
flush ( ) |
Flushes our queue of messages by batching them to the server |
|
flushBatch ( [type] $batch ) : [type] |
Flushes a batch of messages. |
|
group ( array $message ) : boolean |
Tags traits about the group. |
|
identify ( array $message ) : boolean |
Tags traits about the user. |
|
page ( array $message ) : boolean |
Tracks a page view. |
|
screen ( array $message ) : boolean |
Tracks a screen view. |
|
track ( array $message ) : boolean |
Tracks a user action |
|