stripped analytics code