How to add the footer for anonymous users like Discourse Meta?

It comes out default. There is nothing you need to do to get it. It’s there already.

There are some settings in admin you can change for visit rates.