I left most of my old glue on there. It was still pretty tacky.
I used some contact cement and everything was fine. My carpet is 5 years old and I've never had a problem.