With Tang Yu's current strength, unless a cultivator of the same realm deliberately waits for him at the palace, there's no chance of discovering his whereabouts.
Sui Gaomiao, the emperor, wouldn't do such a thing either.
He's busy cultivating all day and has no interest in such trivial matters.
In fact, he doesn't need to pay attention to many things in the Capital City; any necessary information will naturally be delivered to him.