add analytics to readme, fix example