Would it be possible to build a list of categories navigated by current user viewing the site?

Let’s image that I’m viewing a site and I navigated the categories 1,2,3,4 and 5.

Would it be possible to build a custom list with those categories only to that user in the sidebar?

Read more here: how to list viewed categories wordpress


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: