Dan dev

Got analytics working