Add analytics code.
Add some reusable code snippets
Continue main doc.