Add analytics snippets.