Add Analytics tracking code

Ready to merge.