moved analytics to head as per el googs request