Added analytics code for test pourpose