updated analytics snippet