public static async Task TrackEventAsync(string category, string action, string label, int value = 1) { if (!IsEnabled) { return; } await instance.TrackEventAsync(category, action, label, value, false, ExtraParameters, UserAgent); }
public static void TrackEventAsync(string category, string action, string label, int value = 1) { if (!IsEnabled) { return; } var pageView = new EventTracking { Category = category, Action = action, Label = label, Value = value }; FillParameters(pageView); instance.TrackEventAsync(pageView); }