added analytics for group button