Initial commit of sample analytics code