added snippets from google analytics