Craft\InstantAnalyticsTwigExtension::eventTrackingUrl PHP Method

eventTrackingUrl() public method

Get an Event tracking URL
public eventTrackingUrl ( string $url, string $eventCategory = "", string $eventAction = "", string $eventLabel = "", string $eventValue ) : string
$url string the URL to track
$eventCategory string the event category
$eventAction string the event action
$eventLabel string the event label
$eventValue string the event value
return string the tracking URL
    function eventTrackingUrl($url, $eventCategory = "", $eventAction = "", $eventLabel = "", $eventValue = 0)
    {
        return craft()->instantAnalytics->eventTrackingUrl($url, $eventCategory, $eventAction, $eventLabel, $eventValue);
    }