Add analytics code to calendar embed