Fix analytics snippet