Hi,
As long as you won't send this information to Google Analytics you'll be fine. It can be on the page and you can track it with another tool but as this information can be linked to a specific individual you're probably not allowed to save this. Usually what you could do is save this data hashed in Google Analytics and then unhash it again if you would like to use it. That will be allowed, Google just doesn't want data in it's databases that can be linked to a user as they're not responsible for the data privacy of it.
Martijn.