Piwik tracking & automatic snippet inclusion on multiple hosts

To make tracking of my websites easier and less error prone I implemented an automatic inclusion of the piwik js snippets.

Since I could not find any solution like this when I started out with the idea I wrote a short summy of what I did:

Piwik tracking & snippet inclusion

Maybe this is of help to someone :wink: