Was number 1 in the charts in the UK and the USA...and 23 other countries. I think it was the biggest selling single of the year in the UK too.
Where the meme works though, for all its success, iit was quite ridiculed at the time.
Weirdly this episode aired in May 2007 which was just after Rickrolling started in March 2007. It's unlikely Family Guy was influenced by Rickrolling as it's written quite some time before being animated.