Google Adwords is the most popular method for traffic. Since they are the top search engine right now it make sense to advertise there if you can afford it. You bid on keywords to get your site at the top of the search when your keyword comes up. There is more involved but it's all laid out at Google. There are a lot of other sites that use this advertising strategy called pay per click or PPC.
Web traffic is the amount of data sent and received by visitors to a website. This necessarily does not include the traffic generated by bots. Since the mid-1990s, web traffic has been the largest portion of Internet traffic. This is determined by the number of visitors and the number of pages they visit. Sites monitor the incoming and outgoing traffic to see which parts or pages of their site are popular and if there are any apparent trends, such as one specific page being viewed mostly by people in a particular country. There are many ways to monitor this traffic and the gathered data is used to help structure sites, highlight security problems or indicate a potential lack of bandwidth.