added the increment to the analytics prototype and implemented it for mixpanel