@Konstantin:

Can you explain how you got sitewide tags working with multi-db? I noticed mine isn’t working either.

As to your question, you put this code in your home theme:
http://pastebin.com/f5baa5e4