Cybersecurity is no longer an afterthought for customers when they visit your website. According to a new survey, a majority of consumers are afraid of getting hacked while buying things and banking online.

In the survey, conducted by IT company Experian and its anti-identity fraud service ProtectMyID, 73 percent of respondents said they fear having their identity stolen when using personal banking sites. About two-thirds of the more than 1,000 U.S. adults surveyed said they have that fear when shopping online.

Nearly 70 percent of respondents said they worry about their security while using public Wi-Fi, with a similar number expressing concern over accessing any type of online account.

Almost half of all survey respondents said they are taking more security precautions than they did last year to prevent identity theft. Still, the survey found, they aren't taking some simple measures that can make a big difference to their security.

More than 50 percent do not check for an icon of a lock to see if a website is secure; 50 percent do not password-protect their smartphones; 55 percent do not close the Web browser when they are finished using an online account, which is necessary to prevent some types of hacks; and 15 percent keep a written record of passwords and PINs in their wallet or on a mobile device or computer.

Despite these security fears, it appears there will be little effect on the volume of online activity going forward. A full 80 percent of survey respondents said they would like to be more connected than they already are.