Updated docs with analytics code