Trying to make analytics work