Move analytics to controller.
Add SiteConfiguration class.