public function doTrackEvent($category, $action, $name = false, $value = false)
    {
        $url = $this->getUrlTrackEvent($category, $action, $name, $value);

        return $this->sendRequest($url);
    }
public function doTrackEvent($category, $action, $name = false, $value = false)
    {
        $url = $this->getUrlTrackEvent($category, $action, $name, $value);

        return $this->sendRequest($url);
    }
public function doTrackEvent ( $ category , $ action , $ name = false , $ value = false ) { $ url = $ this -> getUrlTrackEvent ( $ category , $ action , $ name , $ value ) ; return $ this -> sendRequest ( $ url ) ; }
Tracks an event

@param string $category The Event Category (Videos, Music, Games...)
@param string $action The Event's Action (Play, Pause, Duration, Add Playlist, Downloaded, Clicked...)
@param string|bool $name (optional) The Event's object Name (a particular Movie name, or Song name, or File name...)
@param float|bool $value (optional) The Event's value
@return mixed Response string or true if using bulk requests.
Tracks an event