Add analytics calls for errors, update home page