Move analytics to partial and add background colour to categories list