Analytics.EnableCustomEvent

Switch to Manual
public static Analytics.AnalyticsResult EnableCustomEvent (string customEventName, bool enabled);

Description

Use it to enable or disable a custom event.