Hacker News new | ask | show | jobs
by ryan-c 510 days ago
I do that, plus a little more (page being closed), with an identifier in session storage. If doNotTrack is turned on, the session storage is skipped.

I do not have a consent banner, and I do not believe that I need one.

1 comments

Technically you need one, because you're using session storage for something that is not strictly necessary to make the page work. It's in the article.