analytics missing switch case