public function track(array $data)
    {
        $model = $this->getModel()->fill($data);
        $model->save();

        return $model->getKey();
    }
public function track(array $data)
    {
        $model = $this->getModel()->fill($data);
        $model->save();

        return $model->getKey();
    }
public function track ( array $ data ) { $ model = $ this -> getModel ( ) -> fill ( $ data ) ; $ model -> save ( ) ; return $ model -> getKey ( ) ; }
Track the visitor activity.

@param  array  $data

@return int
Track the visitor activity .