add google analytics (optional)

Setting analytics_code in the local.cfg will activate Google analytics