Update analytics tracking code to support display advertising