public function track($ipAddress)
    {
        if ($data = $this->getGeoIpDetector()->search($ipAddress)) {
            return $this->getModel()
                ->newQuery()
                ->firstOrCreate(Arr::only($data, ['latitude', 'longitude']), $data)
                ->getKey();
        }

        return null;
    }