added google analytics to patterns template