private function sendHit($methodName)
{
$hitType = strtoupper(substr($methodName, 4));
$hitConstant = $this->getParameterClassConstant('TheIconic\\Tracking\\GoogleAnalytics\\Parameters\\Hit\\HitType::HIT_TYPE_' . $hitType, 'Hit type ' . $hitType . ' is not defined, check spelling');
$this->setHitType($hitConstant);
if (!$this->hasMinimumRequiredParameters()) {
throw new InvalidPayloadDataException();
}
return $this->getHttpClient()->post($this->getUrl(), $this->isAsyncRequest);
}