Note that if it is a personal website you are not subject to GDPR. GDPR only applies to companies and organizations.
Also note that most stuff that a layperson would say is reasonable for a website to function isn't a problem in GDPR.
Except revenue of course.
These were the norm in advertising until like 2005.