Referrers in the DB


I am importing thousands of events per seconds, and I need to filter the URLs in order to remove unimportant components of the path that would otherwise cause just noise.

E.g. I have URLs like /foo/12192819281 that I am converting before upload to /foo/ID

Would I need to clean also URLs in referrers, or they are anyway not aggregated in the DB?

Best regards,