My wife did it with the spray on scotch guard. I hated it because it made the carpets "slick" or "slippery" when in socks. I actually slipped once, and rug burned the heck out of my knee because I was carrying the baby, and was obviously only concerned with him, and not my body. Shortly after doing it the kids started getting rashes when crawling around on the carpets, so we pulled them out. They might just have been allergic to the spray or something.
Here is my way of thinking about the home. The kids, no matter how much you are on their cases, and are on top of cleaning things up quickly, will destroy your house (to some extent). I fully intend to not update/upgrade a darn thing here until I have kids, who miss their mouths with the spoon/fork/straw/cup less than 10% of the time. I won't replace a piece of furniture until they realize that walking on the couch is a no no. I won't change a cabinet, until Lightning McQueen stops driving into them. I won't replace a floor until they are used only for walking on from one room to the next. The most I m doing here is painting and spackling until my kids grow enough to stop 'accidentally' wrecking things. Granted, I'll likely be retired by then, but I'm looking forward to new cabinets and granite countertops at the young age of 65.