analytics moved to config