Update analytics tracking code