Add analytics code, content tweaks, closes #1