Add analytics snippet.