analytics: use template to add google analytics