Update analytics to version 2.2.