Carpet tape is often used to hold a rug into place so that it doesn't end up sliding across the floor, but when it's time to remove the rug there is often a sticky residue left behind. Carpet tape is great for staying put, a double edged sword. Removing it can be quite the tedious chore as it keeps sticking long after you want it to. There is a much easier way to remove tape adhesive that can save you many miserable hours.
Remove as much of the tape as possible with a plastic edge or scraper.
Spray WD-40 onto the residue and allow it to sit for an hour or more.
Scrape away the residual adhesive with a plastic edge. It should slide right off with practically no effort.
Wipe the area clean with a clean dry cloth.
Repeat the process for stubborn areas.
Vegetable oil, Goo Off, and laundry pre-soak sprays are good alternatives to WD-40. Using a hair dryer to heat the adhesive is a good way to get it to come up instead of soaking it.
Use plastic edges such as old credit cards instead of metal or razors so as not to leave scratches on the floor.