restore analytics