add analytics to docs