Update analytics snippet