Add google analytics and split into templates