analytics 2.0 experiment code