Fix analytics flag