public function eventAnalytics($eventCategory = "", $eventAction = "", $eventLabel = "", $eventValue = 0)
{
$result = null;
$analytics = $this->analytics();
if ($analytics) {
$analytics->setEventCategory($eventCategory)->setEventAction($eventAction)->setEventLabel($eventLabel)->setEventValue(intval($eventValue));
$result = $analytics;
InstantAnalyticsPlugin::log("Created sendEvent for `" . $eventCategory . "` - `" . $eventAction . "` - `" . $eventLabel . "` - `" . $eventValue . "`", LogLevel::Info, false);
}
return $result;
}