Move analytics to its own plugin, there is a cycle between atlas and capabilities which requires a seperate plugin
Allow capability to enable/disable collection