Generalized linear models with group effects are commonly used in scientific studies. However, there appear to be no results for selecting optimal designs. In this paper, we identify the structure of locally optimal designs, provide a general strategy to determine the design points and the corresponding weights for optimal designs, and present theoretical results for the special case of D-optim...