How do Analytics work?