Tweak analytics code