Disabled analytics when navigator offline