Groupon CEO Rich Williams is warning other young companies to "beware of the limelight."

"It can be a real distraction, especially when hype is built up around a company," Williams told CNBC in an interview on 'Squawk on The Street' on Friday. It can take those companies' focus away from long-term goals and what they need to do, he said.