Test adding analytics code