big update. analytics code, pdf update, new analytics